selltekk Posted July 26, 2006 Share Posted July 26, 2006 For some reason, my rononceex.cmd does not seem to run. here is a copy of my cmdlines.txt and runonceex.cmdcmdlines.txt[COMMANDS]"rundll32 advpack.dll,LaunchINFSection nLite.inf,nLiteReg""RunOnceEX.cmd"RunOnceEX.cmd@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Windows XP Applications" /fREG ADD %KEY%\000 /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY%\000 /V 1 /D "%pp%Office2003pro\pro11.msi TRANSFORMS=office11.MST /qb-" /fREG ADD %KEY%\001 /VE /D "Citrix ICA Client" /fREG ADD %KEY%\001 /V 1 /D "%pp%Citrix\ica32pkg.msi" /fEXITDo 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 More sharing options...
zakum Posted July 26, 2006 Share Posted July 26, 2006 Is your file name the same as might haverunonceex.cmd and RunOnceEX.cmd.The names must be identical.Hope that helps as I`m a newbee as well Link to comment Share on other sites More sharing options...
Lord Wolf Posted July 26, 2006 Share Posted July 26, 2006 (edited) 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 July 26, 2006 by Lord Wolf Link to comment Share on other sites More sharing options...
selltekk Posted July 26, 2006 Author Share Posted July 26, 2006 Ok, I figured it out, thanks to the above posts. My capitalization was wrong. I guess quotes literally means "literally!" Anyway, I will reinstall and see what happens. Link to comment Share on other sites More sharing options...
selltekk Posted July 27, 2006 Author Share Posted July 27, 2006 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 OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Windows XP Applications" /fREG ADD %KEY%\010 /VE /D "Video Drivers" /fREG ADD %KEY%\010 /V 1 /D "%pp%IntelVideo4308\Setup.exe" /fREG ADD %KEY%\015 /VE /D "Sound Drivers" /fREG ADD %KEY%\015 /V 1 /D "%pp%SigSetup.exe" /fREG ADD %KEY%\020 /VE /D "Antivirus Suite" /fREG ADD %KEY%\020 /V 1 /D "%pp%McAfee\MAIN\Setup.exe" /fREG ADD %KEY%\025 /VE /D "AntiSpyware Suite" /fREG ADD %KEY%\025 /V 1 /D "%pp%\McAfee\ASW\VSE80MAS.Exe" /fREG ADD %KEY%\030 /VE /D "Antivirus Patches" /fREG ADD %KEY%\030 /V 1 /D "%pp%\McAfee\PATCH\Patch 13\Patch13.msp" /fREG ADD %KEY%\035 /VE /D "Chipset Drivers" /fREG ADD %KEY%\035 /V 1 /D "%pp%Intelchipset1025\Setup.EXE" /fREG ADD %KEY%\040 /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY%\040 /V 1 /D "%pp%Office2003Pro\PRO11.MSI TRANSFORMS=office11.MST /qn" /fEXIT Link to comment Share on other sites More sharing options...
Lord Wolf Posted July 28, 2006 Share Posted July 28, 2006 REG ADD %KEY%\040 /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY%\040 /V 1 /D "%pp%Office2003Pro\PRO11.MSI TRANSFORMS=office11.MST /qn" /fhttp://unattended.msfn.org/unattended.xp/view/web/50/Try this:REG ADD %KEY%\040 /V 1 /D "%pp%Office2003Pro\PRO11.MSI TRANSFORMS=office11.MST /qb-" /f 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