PcGeek Posted February 4, 2005 Posted February 4, 2005 I have been building my unattended XP cd with applications. I am using the RunOnceEx method of installing the programs and it is working fine - except that upon the final reboot I use the RunOnceEx method to open a program on boot and I can't get the "Installing Applications" window to close after opening the program. The same thing happens with just a basic .cmd or .bat file when used to open a program...the window wont close, and the system will not continue to load, until the progam I want opened is terminated. Is there a way to simply open the program and close the .cmd, .bat, or the "installing applications" window immediately afterwords, without exiting or closing the program?
Astalavista Posted February 4, 2005 Posted February 4, 2005 did u read the new guide at www.msfn.org?
PcGeek Posted February 4, 2005 Author Posted February 4, 2005 This is the latest.....This is a .cmd file that is set to run in runonceex (second boot) after the initial programs are installed on first boot.cmdow @ /HID@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Register Sygate Personal Firewall Pro" /fREG ADD %KEY%\200 /VE /D "Opening PSPF ******" /fREG ADD %KEY%\200 /V 1 /D "%CDROM%\Software\sygate\***gen.exe" /fEXITI have also tried it this way...REG ADD %KEY%\200 /V 1 /D "CMD /C %CDROM%\Software\Sygate\***gen.exe" /f I realize this seems stupid but it really is driving me nuts! There has to be a way to do this - how complicated can closing a window be?!
PcGeek Posted February 4, 2005 Author Posted February 4, 2005 And yes, I have been through the guide. I have been playing with building unattended install cd's for a while, and I wanted to try the RunOnceEx method this time.I will have to go take another look...maybe I missed something...??
asbsamsf Posted February 4, 2005 Posted February 4, 2005 try to but "***gen.exe" in rar-sfx with commentSetup=***gen.exeTempModeSilent=2Overwrite=1so winrar will send a message "exit"
PcGeek Posted February 4, 2005 Author Posted February 4, 2005 Okay - the sfx idea works when implemented by itself in RunOnceEx - cmdow @ /HID@echo offIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:IF EXIST F:\CD.txt set CDROM=F:IF EXIST G:\CD.txt set CDROM=G:IF EXIST H:\CD.txt set CDROM=H:IF EXIST I:\CD.txt set CDROM=I:IF EXIST J:\CD.txt set CDROM=J:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEXREM REG ADD %KEY% /V TITLE /D "Installing Applications" /fREM REG ADD %KEY%\060 /VE /D "Sygate Registration on Reboot" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\Software\Sygate\keygen.sfx.exe" /fEXITThanks for the idea asbsamsf!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now