Blub Posted April 16, 2005 Share Posted April 16, 2005 hey guys,Great forum. I'm new here, and found it extremely useful. I've got this little problem, but it's driving me nuts.For my unattended XP (HE), I am using RunOnceEx which calls command scripts to install some apps automatically. Everything works just fine except Daemon tools. But if I leave/copy the install folder on C: and run the Daemon .cmd manually everything works tip top. Somehow it fails if I do an unattended install though... Here's my RunOnceEx command script (which is in the $OEM$ folder):cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\010 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\AcrobatRdr70.cmd" /fREG ADD %KEY%\020 /VE /D "Daemon Tools" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Daemon.cmd" /fREG ADD %KEY%\030 /VE /D "Nero Burning ROM 6" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Nero.cmd" /fREG ADD %KEY%\040 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\WMP.cmd" /fREG ADD %KEY%\050 /VE /D "Mozilla Firefox 1.03" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Firefox.cmd" /fREG ADD %KEY%\060 /VE /D "Java 2 Runtime Enviroment" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\J2RE.cmd"REG ADD %KEY%\070 /VE /D "Microsoft .NET Framework 1.1 Service Pack 1" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\DotNet.cmd" /fREG ADD %KEY%\080 /VE /D "MSN Messenger 7.0" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\MSN.cmd" /fREG ADD %KEY%\888 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\888 /V 1 /D "%systemdrive%\Install\RegTweaks.cmd" /fREG ADD %KEY%\999 /VE /D "Cleaning Up" /fREG ADD %KEY%\999 /V 1 /D "%systemdrive%\Install\CleanUp.cmd" /fEXIT And here's the command script for Daemon tools (Daemon.cmd) which resides in the $OEM$\$1\$Install\ Daemon\folder:cmdow @ /HID@echo offSTART /WAIT %systemdrive%\Install\Daemon\daemon347.msi /passive /qn /norestartEXITI have the feeling I'm missing something really silly. Hope anyone can helpcheers Link to comment Share on other sites More sharing options...
Blub Posted April 17, 2005 Author Share Posted April 17, 2005 Well, just to let anyone looking at this know ...The problem is solved if I install Daemon Tools later on. No idea why though. Current working RunOnceEx:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\010 /VE /D "Microsoft .NET Framework" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\DotNet.cmd" /fREG ADD %KEY%\020 /VE /D "Adobe Reader" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\AcrobatRdr70.cmd" /fREG ADD %KEY%\030 /VE /D "Nero Burning ROM" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Nero.cmd" /fREG ADD %KEY%\040 /VE /D "Daemon Tools" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Daemon.cmd" /fREG ADD %KEY%\050 /VE /D "Windows Media Player" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\WMP.cmd" /fREG ADD %KEY%\060 /VE /D "Mozilla Firefox" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Firefox.cmd" /fREG ADD %KEY%\070 /VE /D "Java Runtime Enviroment" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\J2RE.cmd"REG ADD %KEY%\080 /VE /D "MSN Messenger" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\MSN.cmd" /fREG ADD %KEY%\888 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\888 /V 1 /D "%systemdrive%\Install\RegTweaks.cmd" /fREG ADD %KEY%\999 /VE /D "Cleaning Up" /fREG ADD %KEY%\999 /V 1 /D "%systemdrive%\Install\CleanUp.cmd" /fEXITEverything else as before.cheers 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