dazzler5000 Posted January 17, 2006 Posted January 17, 2006 okay...my windows install is going good..i removed the exit on this file to just see what it was doing and it tells me the operation is unsuccessfull - I used the program RunOnceEX.cmd Creator to help me make this file. Can some please help me figure out what I am doing wrongcmdow @ /HID@Echo OffSET PP=%SystemDrive%\Apps\SET NN=%SystemDrive%\D\Audigy\DriversSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "AutoIt" /fREG ADD %KEY%\000 /V 1 /D "%PP%autoit.exe /s" /fREG ADD %KEY%\001 /VE /D "Messenger 7.5" /fREG ADD %KEY%\001 /V 1 /D "%PP%MSN_Messenger_7.5.0322.exe" /fREG ADD %KEY%\002 /VE /D "Dot Net 1.1" /fREG ADD %KEY%\002 /V 1 /D "%PP%dotnet11sp1.exe" /fREG ADD %KEY%\003 /VE /D "Media Player 10" /fREG ADD %KEY%\003 /V 1 /D "%PP%mpsilent.exe" /fREG ADD %KEY%\004 /VE /D "Java" /fREG ADD %KEY%\004 /V 1 /D "%PP%jre506.exe /quiet" /fREG ADD %KEY%\005 /VE /D "Adobe Acrobat" /fREG ADD %KEY%\005 /V 1 /D "%PP%reader705.exe /quiet" /fREG ADD %KEY%\006 /VE /D "Firefox" /fREG ADD %KEY%\006 /V 1 /D "%PP%firefox.exe" /fREG ADD %KEY%\007 /VE /D "Xvid" /fREG ADD %KEY%\007 /V 1 /D "%PP%xvid.exe /verysilent" /fREG ADD %KEY%\008 /VE /D "dotnet2" /fREG ADD %KEY%\008 /V 1 /D "%PP%dotnet2.exe" /fREG ADD %KEY%\009 /VE /D "Creative" /fREG ADD %KEY%\009 /V 1 /D "%NN%CTZAPXX.exe /s" /fREG ADD %KEY%\010 /VE /D "Winrar" /fREG ADD %KEY%\010 /V 1 /D "%PP%setup_wrar351.au3" /fREG ADD %KEY%\011 /VE /D "Nero" /fREG ADD %KEY%\011 /V 1 /D "%PP%Nero_6.6.0.8a.au3" /fExit
dazzler5000 Posted January 17, 2006 Author Posted January 17, 2006 okay i have started to break down the runonceex.cmd file. I removed cmdow so i could see what it was doing and put a pause in it. It seems that it is telling me the operation is successfull but nothing is running
MHz Posted January 17, 2006 Posted January 17, 2006 Ensure you have OEMPreInstall=Yes in your Winnt.sif.Installing AutoIt requires a capital S as NSIS installers are case sensitive.If those au3 files fail to execute, then you may need to specify for AutoIt3.exe to run the scripts like shown below.Add this to top of ROE:SET A3=\"%ProgramFiles%\Autoit3\AutoIt3.exe\"Then use Reg Add as below:REG ADD %KEY%\010 /V 1 /D "%A3% %PP%setup_wrar351.au3" /f
dazzler5000 Posted January 17, 2006 Author Posted January 17, 2006 thanks it is all working now:) with your helpthe only question I have is after the runonceex.cmd file runs how do I get the system to do an reboot automaticly?
ivwolferen Posted January 18, 2006 Posted January 18, 2006 thanks it is all working now:) with your helpthe only question I have is after the runonceex.cmd file runs how do I get the system to do an reboot automaticly?See the Cleanup.CMD in MSFN howto
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