I am totally anal about not having anything copied over to the harddrive, even if it is later deleted.
I've managed to get all of my programs to install from CD, and my drivers to install from CD.
The only stupid thing that gets copied is one batch file, which I need to run from [GuiRunOnce] in winnt.sif.
Right now, its:
[GuiRunOnce] %systemdrive%\Install\Install.cmd
Is there any way to get this batch file to run from CD within winnt.sif?
(Under DetachedProgram I know I can via:
DetachedProgram=".\system32\cmd.exe" Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I$OEM$) DO (IF EXIST %J (start /min /D%J Drivers.cmd)))"
I cannot run my install.cmd file from anywhere else besided GuiRunOnce (so please don't answer about using cmdlines.txt). I am trying to find a method to run a batch file that is located on my CD at the GuiRunOnce stage.
Thanks!



Help

Back to top










