Jump to content

runonceex does not run...[noob issue]


Recommended Posts

For some reason, my rononceex.cmd does not seem to run.

here is a copy of my cmdlines.txt and runonceex.cmd

cmdlines.txt

[COMMANDS]

"rundll32 advpack.dll,LaunchINFSection nLite.inf,nLiteReg"

"RunOnceEX.cmd"

RunOnceEX.cmd

@Echo Off

SET PP=%SystemDrive%\Install\

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

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

REG ADD %KEY%\000 /VE /D "Microsoft Office 2003 Professional" /f

REG ADD %KEY%\000 /V 1 /D "%pp%Office2003pro\pro11.msi TRANSFORMS=office11.MST /qb-" /f

REG ADD %KEY%\001 /VE /D "Citrix ICA Client" /f

REG ADD %KEY%\001 /V 1 /D "%pp%Citrix\ica32pkg.msi" /f

EXIT

Do you see any issues with this? Or do you guys need more info from me? After installation completes, I can manually browse the DVD and execute the runonceex.cmd and it works fine. however, it does not automatically run.

Link to comment
Share on other sites


For some reason, my rononceex.cmd does not seem to run.

I'm still learning this myself, but here's a couple of things to check/try..

#1 Are BOTH files in the $OEM$ folder? (Not one of the subfolders of $OEM$)

#2 Try this:

[b]cmdlines.txt[/b]

[COMMANDS]
"RunOnceEX.cmd"

I removed the rundll32 line. You can always add it back -or- you could even put it into the RunOnceEx.cmd file.

The idea is if removing that line from cmdlines.txt fixes the problem or not.

Edited by Lord Wolf
Link to comment
Share on other sites

Ok, now it is running, however Office is still not installing when the RunOnceEX.cmd calls the apps.

I see Office 2003 pro in the WMI window as it is installing the programs when it automatically logs in...but office does not install...

Here is a copy of my NEW RunOnceEx.cmd. Please take a look and tell me where I screwed up...

@Echo Off

SET PP=%SystemDrive%\Install\

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

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

REG ADD %KEY%\010 /VE /D "Video Drivers" /f

REG ADD %KEY%\010 /V 1 /D "%pp%IntelVideo4308\Setup.exe" /f

REG ADD %KEY%\015 /VE /D "Sound Drivers" /f

REG ADD %KEY%\015 /V 1 /D "%pp%SigSetup.exe" /f

REG ADD %KEY%\020 /VE /D "Antivirus Suite" /f

REG ADD %KEY%\020 /V 1 /D "%pp%McAfee\MAIN\Setup.exe" /f

REG ADD %KEY%\025 /VE /D "AntiSpyware Suite" /f

REG ADD %KEY%\025 /V 1 /D "%pp%\McAfee\ASW\VSE80MAS.Exe" /f

REG ADD %KEY%\030 /VE /D "Antivirus Patches" /f

REG ADD %KEY%\030 /V 1 /D "%pp%\McAfee\PATCH\Patch 13\Patch13.msp" /f

REG ADD %KEY%\035 /VE /D "Chipset Drivers" /f

REG ADD %KEY%\035 /V 1 /D "%pp%Intelchipset1025\Setup.EXE" /f

REG ADD %KEY%\040 /VE /D "Microsoft Office 2003 Professional" /f

REG ADD %KEY%\040 /V 1 /D "%pp%Office2003Pro\PRO11.MSI TRANSFORMS=office11.MST /qn" /f

EXIT

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