Changes between Version 1 and Version 2 of EntornoPreArranque/en


Ignore:
Timestamp:
Feb 22, 2012, 9:00:04 PM (12 years ago)
Author:
paqui
Comment:

Another one!

Legend:

Unmodified
Added
Removed
Modified
  • EntornoPreArranque/en

    v1 v2  
    1 [[TranslatedPage]]
     1[[TranslatedPages]]
    22[[TOC(heading=Índice)]]
    33
     
    88== PostconfEAC.lib ==
    99
    10 En esta librería hemos añadido las siguientes funciones las cuales se encargan de generar un minisetup en el primer arranque de Windows. Este mini-arranque ejecutará un archivo cmd al cual le podemos indicar los comandos que necesitemos para acabar de configurar la máquina.
     10In this library we added the following functions which are responsible to generating a Minisetup on the first boot of Windows. This mini-setup will run a cmd file where we can indicate commands that we need to finish computer configuration.
    1111
    12 * Las funciones son:
    13   * ogInstallMiniSetup (): Esta función se encarga de crear las claves de registro necesarias para que se efectue el mini setup en el arranque. Hay que indicarle el punto de montaje donde esta windows y el nombre del archivo cmd que ejecutará (si existe lo sobrescribe).
    14   * ogAddCmd (): Una vez creado el mini setup, con esta función iremos añadiendo comandos al .cmd que se ejecutaran en el mini setup.
     12* The functions are:
     13  * ogInstallMiniSetup (): This function creates the registry keys for execute mini setup at boot. We should to tell the mount point of Windows and cmd filename that will run (if there is overwritten).
    1514
    16  * Por ejemplo, en una postconfiguracion donde queremos que la maquina active windows e instale un .msi lo haríamos de la siguiente manera.
    17  
     15  * ogAddCmd (): When mini-setup is created, with this function we can add commands to .cmd. This commands will execute in the mini-setup.
     16
     17 * For example, in a postconfiguration where we need the computer to active Windows and to install a .msi, we can do it:
     18
    1819{{{
    19 #Le indicamos que debe de hacer el mini setup en el arranque con el archivo join.cmd
     20#What to do the mini-setup at boot with file join.cmd
    2021ogInstallMiniSetup /mnt/sda1 join.cmd
    2122
    22 #Añadimos un comando en el archivo join.cmd para activar windows 7 de manera silenciosa
     23#Add a command in file join.cmd to active Windows 7 in a silent mode
    2324ogAddCmd /mnt/sda1 join.cmd "CSCRIPT slmgr.vbs /ato //B"
    2425
    25 #Añadimos un comando para instalar un paquete .msi que se encuentra en la raíz de manera silenciosa
     26#Add a command to install .msi package in a silent mode
    2627ogAddCmd /mnt/sda1 join.cmd "msiexec.exe /i \"c:\instalable.msi\" /qb"
    2728}}}