Jump to content

Recommended Posts

Posted

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 wrong

cmdow @ /HID

@Echo Off

SET PP=%SystemDrive%\Apps\

SET NN=%SystemDrive%\D\Audigy\Drivers

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY%\000 /VE /D "AutoIt" /f

REG ADD %KEY%\000 /V 1 /D "%PP%autoit.exe /s" /f

REG ADD %KEY%\001 /VE /D "Messenger 7.5" /f

REG ADD %KEY%\001 /V 1 /D "%PP%MSN_Messenger_7.5.0322.exe" /f

REG ADD %KEY%\002 /VE /D "Dot Net 1.1" /f

REG ADD %KEY%\002 /V 1 /D "%PP%dotnet11sp1.exe" /f

REG ADD %KEY%\003 /VE /D "Media Player 10" /f

REG ADD %KEY%\003 /V 1 /D "%PP%mpsilent.exe" /f

REG ADD %KEY%\004 /VE /D "Java" /f

REG ADD %KEY%\004 /V 1 /D "%PP%jre506.exe /quiet" /f

REG ADD %KEY%\005 /VE /D "Adobe Acrobat" /f

REG ADD %KEY%\005 /V 1 /D "%PP%reader705.exe /quiet" /f

REG ADD %KEY%\006 /VE /D "Firefox" /f

REG ADD %KEY%\006 /V 1 /D "%PP%firefox.exe" /f

REG ADD %KEY%\007 /VE /D "Xvid" /f

REG ADD %KEY%\007 /V 1 /D "%PP%xvid.exe /verysilent" /f

REG ADD %KEY%\008 /VE /D "dotnet2" /f

REG ADD %KEY%\008 /V 1 /D "%PP%dotnet2.exe" /f

REG ADD %KEY%\009 /VE /D "Creative" /f

REG ADD %KEY%\009 /V 1 /D "%NN%CTZAPXX.exe /s" /f

REG ADD %KEY%\010 /VE /D "Winrar" /f

REG ADD %KEY%\010 /V 1 /D "%PP%setup_wrar351.au3" /f

REG ADD %KEY%\011 /VE /D "Nero" /f

REG ADD %KEY%\011 /V 1 /D "%PP%Nero_6.6.0.8a.au3" /f

Exit


Posted

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

Posted

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

Posted

thanks it is all working now:) with your help

the only question I have is after the runonceex.cmd file runs how do I get the system to do an reboot automaticly?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...