Jump to content

PcGeek

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About PcGeek

PcGeek's Achievements

0

Reputation

  1. Okay - the sfx idea works when implemented by itself in RunOnceEx - cmdow @ /HID @echo off IF 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\RunOnceEX REM REG ADD %KEY% /V TITLE /D "Installing Applications" /f REM REG ADD %KEY%\060 /VE /D "Sygate Registration on Reboot" /f REG ADD %KEY%\060 /V 1 /D "%CDROM%\Software\Sygate\keygen.sfx.exe" /f EXIT Thanks for the idea asbsamsf!
  2. 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...??
  3. 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 off IF 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\RunOnceEx REG ADD %KEY% /V TITLE /D "Register Sygate Personal Firewall Pro" /f REG ADD %KEY%\200 /VE /D "Opening PSPF ******" /f REG ADD %KEY%\200 /V 1 /D "%CDROM%\Software\sygate\***gen.exe" /f EXIT I 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?!
  4. 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?
×
×
  • Create New...