Twinkie,
i\'ve got a single OS boot cd going (win2k) and also would like to suppress the reboots of directx and media player. i have found something out, though: i\'m installing these in the GuiRunOnce section in separate batch files. if i let it reboot, then, as long as the auotlogon count is upped (i\'m at 7 right now), the GuiRunOnce continues after the reboot. there is a caveat, though: if running batch1.bat, batch2.bat, and batch3.bat, in that order, and a reboot is triggered in batch1.bat, then when the GuiRunOnce resumes after the reboot, it executes batch3.bat and completely skips batch2.bat (also skips anything else in batch1.bat that follows the line that triggered the reboot).
my workaround for now is: i stick a dummy batch in there (hello world) that is harmless and doesn\'t matter if skipped. so my GuiRunOnce section looks like:
================
[GuiRunOnce]
\"%systemdrive%Installshotfixes.bat\"
\"%systemdrive%Installsempty.bat\"
\"%systemdrive%Installsapps1.bat\"
\"%systemdrive%Installsempty.bat\"
\"%systemdrive%Installsieupdt.bat\"
\"%systemdrive%Installsempty.bat\"
\"%systemdrive%Installsapps2.bat\"
\"%systemdrive%Installsempty.bat\"
\"%systemdrive%InstallsOrncinst.bat\"
\"%systemdrive%Installsempty.bat\"
\"%systemdrive%InstallsO_reg.bat\"
\"%systemdrive%Installsempty.bat\"
\"%systemdrive%Installsapps3.bat\"
\"%systemdrive%Installsempty.bat\"
\"%systemdrive%Installsdx.bat\"
================
where empty.bat is just:
================
echo hello world
exit
================
my question then is: is there a way to permit the reboot without requiring response to the dialog box that pops up (check ok for reboot) after, for instance, directx?
also, is there a way to force a reboot from the command line, arbitrarily? (there are some apps that i\'m installing after which i\'d like to force the reboot, but can\'t.)
kgb