ccalhoun12 Posted July 31, 2005 Posted July 31, 2005 I need help sorting out my first RunOnceEX.cmd trial. I've used what I think isthe right setup, but wanted to verify with the pros. Here is the format of my cmd file along with the setup for my $OEM$ folder.cmdow @ /HID@Echo OffSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Unattended Program Installation" /fREG ADD %KEY%\000 /VE /D "Installing .NET Framework SP1" /f REG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\DotNet\netfxsp1.exe" /fREG ADD %KEY%\005 /VE /D "Installing HighMAT Support" /fREG ADD %KEY%\005 /V 1 /D "%SystemDrive%\Install\HighMAT\HMTCDWizard.exe /qb" /fREG ADD %KEY%\010 /VE /D "Installing Windows Genuine Authentication" /fREG ADD %KEY%\010 /V 1 /D "%SystemDrive%\Install\WGA\LegitCheckControl.msi" /fEXITMy $0EM$ is being copied to the root of my iso image and here is the structure of the folder.$OEM$\$1$$cmdlines.txtRunOnceEx.cmd$OEM$\$1\Install\DotNet\netfxsp1.exe$OEM$\$1\Install\HighMAT\HMTCDWizard.exe$OEM$\$1\Install\WGA\LegitCheckControl.msi$OEM$\$$system32\cmdow.exeI know this may be overkill, but just wanted to confirm the right setup. The cmdlines.txt file is calling the runonceex.cmd file, but get an error message saying that runonce can't find the file: c:\Install\DotNet\netfxsp1.exe, and same with other two. I looked and the Install folder hasn't been copied to the root of C. This may be a minor issue to most of you, but hope you can help me get started.Thanks,Chris
ccalhoun12 Posted August 1, 2005 Author Posted August 1, 2005 Got it fixed. Finally found topic that addressed a similar problem. Goes to show persistence finally pays off.
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