Windows 2003/XP Post-OS Installation Processing and File Copying
Windows 2003/XP Post-OS Installation Processing and File Copying |
|
|
|
|
||
|
Windows 2003/XP Post-OS Installation Processing and File Copying |
|
|
|
|
|
Copying additional folders and files during the installation of Windows operating systems on client systems is addressed in this section.
Additional directories and files must be added to the Install Instance in an $OEM$ directory.
For post-install processing in Windows 2003, anything that can be scripted in batch commands can be executed.
Note: Due to this broad spectrum of possibilities, LBMP only provides support for the framework that initiates the post install processing. The scripting solutions are up to the customers to develop and test. These scripts are added to $OEM$ media directory as above.
Adding files for post-install placement and processing
If you want to copy any files to any folder on any volume, create a subfolder under $OEM$ named <Drive_Letter> (for example D for D: drive) and beneath this, create any subfolder you like (such as Data or Apps) and the files you place there will be copied to the volume and folder specified on the target system."(See Reference 1 at the end of this section.) Important Note: All files and directories added to the $OEM$ directory must have User level read access. Files without this level of read access will not be on the designated drive after installation. Example: create $OEM$/<Drive_Letter>/<your-directory>/<your-files> in your LinMin Server windows media directory. home/tftpboot/pub/w{your Install Instance}/WI2K3/$OEM$/C/LinMin Then copy files to the sub-directories. After installation your files (tree structure) will be at C:\LinMin\. |
Post-install processing initiation of scripts added to the $OEM$ directory
The directory and file names "LinMin\postinstall\guirunonce1.cmd", used here in example, can be your choice. Review the Adding Files section above. Create the directories LinMin/postinstall and add the batch command file with your scripted (.bat file commands) post processes here: /home/tftpboot/pub/w{your Install Instance}/WI2K3/$OEM$/C/LinMin/postinstall/guirunonce1.cmd
Add entries to trigger post-install execution in the GuiRunOnce section of the .sif file: /home/tftpboot/pub/w{your Install Instance}/w2k3t.sif
Edit this w2k3t.sif file. Append to the end of the file the GuiRunOnce section header with the path and post-process .cmd file(s):
[GuiRunOnce] "%systemdrive%\LinMin\postinstall\guirunonce1.cmd"
The GuiRunOnce section is where you set the paths to batch files that run when Windows XP Setup has finished. These batch files run when the Admin account (or your own user account) is logged in (See Reference 2 at the end of this section). When the installation has completed the .cmd file(s) in the GuiRunOnce section will have been executed.
References: |