tripper1977 Posted April 27, 2008 Share Posted April 27, 2008 hi iam flowing the tutorial on the intermediate i am on the bit about the RunOnceEx where you can test it every time i test the RunOnceEx it telsme that the prog cant be found and to change the path but nouthing works wot is the best way to test your RunOnceEx please help Link to comment Share on other sites More sharing options...
Martin H Posted April 27, 2008 Share Posted April 27, 2008 Add the following as the last line in your runonceex.cmd and then run it(prefferably in a VM) :rundll32.exe iernonce.dll,RunOnceExProcessHowever, you need to have the paths correct, which means that if you e.g. install your apps from '$OEM$\$1\install\', then you'll need to make the folder '%systemdrive%\install\' and place your apps into there...If you still have path problems, then you need to read and reread the MSFN unattended guide's RunOnceEx and $OEM$ folders sections...If you still cannot get it to work, then post your folderstructure and your runonceex.cmd in codebox tags please... Link to comment Share on other sites More sharing options...
tripper1977 Posted April 28, 2008 Author Share Posted April 28, 2008 hi thanks for the help but i have tried wot you sead and nothing seams to work eney way here is a shot of my folder and here is the code for my RuneOnceExcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\015 /VE /D "Alcohol 120" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\apps\alcohol\setup.exe /qn" /fREG ADD %KEY%\015 /V 2 /D "REGEDIT /S %systemdrive%\apps\alcohol\register.reg" /fREG ADD %KEY%\025 /VE /D "Diskeeper 8" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\apps\DiskeeperPro_8.0.459.exe /s /v/qn" /fREG ADD %KEY%\037 /VE /D "IsoBuster 1.5" /fREG ADD %KEY%\037 /V 1 /D "%systemdrive%\apps\IsoBuster1.5.exe /VERYSILENT /SP-" /fREG ADD %KEY%\037 /V 2 /D "taskkill /F /IM isobuster.exe" /fREG ADD %KEY%\053 /VE /D ".NET Framework 1.1" /fREG ADD %KEY%\053 /V 1 /D "%systemdrive%\apps\dotnetfw.exe" /fREG ADD %KEY%\075 /VE /D "WinRAR 3.20" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\apps\WinRAR320.exe /s" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /fEXIThope you can help its realey starting to do my head in thanks Link to comment Share on other sites More sharing options...
Yzöwl Posted April 28, 2008 Share Posted April 28, 2008 Well you really need to look at your file structure.For the RunOnceEx you have provided, you need the following file structure:|\---XPCD | +---$OEM$ | | cmdlines.txt | | RunOnceEx.cmd | | | +---$1 | | | +---Apps | | CleanUp.cmd | | DiskeeperPro_8.0.459.exe | | DotNETFw.exe | | IsoBuster1.5.exe | | WinRAR320.exe | | | \---Alcohol | Register.reg | Setup.exe | \---I386I hope this makes sense to you. Link to comment Share on other sites More sharing options...
tripper1977 Posted April 28, 2008 Author Share Posted April 28, 2008 yes yes yes that was it i copied wot you said and it all works thanks a loot i couldnot done it with out your hellp thanks i am so happy 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