Pantner Posted August 30, 2005 Share Posted August 30, 2005 ok...i have 7 or so programs that i want to be installed to my unattended install...i am using the RunOnceEx method.when windows boots the first time it installs the first program fine, but the skips the other ones...it sort of moves through them as if they get installed, but they done...i have attatched my RunOnceEx.cmd filerunonceex.cmd Link to comment Share on other sites More sharing options...
MHz Posted August 30, 2005 Share Posted August 30, 2005 (edited) Your RunOnceEx.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AR7\AR7.exe"REG ADD %KEY%\015 /VE /D "Installing GDI Detection Tool" /fREG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\install\GDI\gdi.reg" /fREG ADD %KEY%\015 /V 2 /D "REGEDIT /S %systemdrive%\install\GDI\KB873374.exe /Q:A /R:N" /fREG ADD %KEY%\020 /VE /D "Winodws Genuaine Advantage" /fREG ADD %KEY%\020 /V 1 /D "REGEDIT /S %systemdrive%\install\GWVT\GWVT.exe" /fREG ADD %KEY%\025 /VE /D "Installing Java Runtime Env" /fREG ADD %KEY%\025 /V 1 /D "REGEDIT /S %systemdrive%\install\JRE\j2re.exe" /fREG ADD %KEY%\030 /VE /D "Installing MSN Messenger 7.5" /fREG ADD %KEY%\030 /V 1 /D "REGEDIT /S %systemdrive%\install\MSN\msnmsg75.exe" /fREG ADD %KEY%\035 /VE /D "Installing Windows Installer 3.1" /fREG ADD %KEY%\035 /V 1 /D "REGEDIT /S %systemdrive%\install\WinInst\winins31.exe" /fREG ADD %KEY%\040 /VE /D "Installing Windows Update V6" /fREG ADD %KEY%\040 /V 1 /D "REGEDIT /S %systemdrive%\install\WU6\WU6.exe" /fEXITYour 1st program is installed as it does not have RegEdit doing it. The rest of the installation commands have RegEdit doing it? RegEdit is not an installation command. RegEdit /s will just do the *.reg files for you.Edit: wow, codebox strips empty lines. Edited August 30, 2005 by MHz Link to comment Share on other sites More sharing options...
Pantner Posted August 30, 2005 Author Share Posted August 30, 2005 lol...thanks for that...im still new to this, and don't know wat the files should look like...even so...that is pretty obvious, now that i think about it...THANKS! Link to comment Share on other sites More sharing options...
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