Jump to content

help please


Recommended Posts

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


Add the following as the last line in your runonceex.cmd and then run it(prefferably in a VM) :

rundll32.exe iernonce.dll,RunOnceExProcess

However, 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

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 folderpc5.jpg

and here is the code for my RuneOnceEx

cmdow @ /HID
@echo off

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

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



REG ADD %KEY%\015 /VE /D "Alcohol 120" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\apps\alcohol\setup.exe /qn" /f
REG ADD %KEY%\015 /V 2 /D "REGEDIT /S %systemdrive%\apps\alcohol\register.reg" /f

REG ADD %KEY%\025 /VE /D "Diskeeper 8" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\apps\DiskeeperPro_8.0.459.exe /s /v/qn" /f


REG ADD %KEY%\037 /VE /D "IsoBuster 1.5" /f
REG ADD %KEY%\037 /V 1 /D "%systemdrive%\apps\IsoBuster1.5.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\037 /V 2 /D "taskkill /F /IM isobuster.exe" /f


REG ADD %KEY%\053 /VE /D ".NET Framework 1.1" /f
REG ADD %KEY%\053 /V 1 /D "%systemdrive%\apps\dotnetfw.exe" /f



REG ADD %KEY%\075 /VE /D "WinRAR 3.20" /f
REG ADD %KEY%\075 /V 1 /D "%systemdrive%\apps\WinRAR320.exe /s" /f


REG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\apps\cleanup.cmd" /f


EXIT

hope you can help its realey starting to do my head in thanks

Link to comment
Share on other sites

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
|
\---I386

I hope this makes sense to you.

Link to comment
Share on other sites

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...