MSFN Forum: WinXp uA RunOnceEx fails w/ Daemon Tools - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WinXp uA RunOnceEx fails w/ Daemon Tools Installing apps with WinXP unattended Rate Topic: -----

#1 User is offline   Blub 

  • Ex-mad scientist
  • Pip
  • Group: Members
  • Posts: 59
  • Joined: 02-April 05

Posted 16 April 2005 - 04:20 AM

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 off

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

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

REG ADD %KEY%\010 /VE /D "Adobe Reader 7" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\AcrobatRdr70.cmd" /f

REG ADD %KEY%\020 /VE /D "Daemon Tools" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Daemon.cmd" /f

REG ADD %KEY%\030 /VE /D "Nero Burning ROM 6" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Nero.cmd" /f

REG ADD %KEY%\040 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\WMP.cmd" /f

REG ADD %KEY%\050 /VE /D "Mozilla Firefox 1.03" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Firefox.cmd" /f

REG ADD %KEY%\060 /VE /D "Java 2 Runtime Enviroment" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\J2RE.cmd"

REG ADD %KEY%\070 /VE /D "Microsoft .NET Framework 1.1 Service Pack 1" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\DotNet.cmd" /f

REG ADD %KEY%\080 /VE /D "MSN Messenger 7.0" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\MSN.cmd" /f

REG ADD %KEY%\888 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\888 /V 1 /D "%systemdrive%\Install\RegTweaks.cmd" /f

REG ADD %KEY%\999 /VE /D "Cleaning Up" /f
REG ADD %KEY%\999 /V 1 /D "%systemdrive%\Install\CleanUp.cmd" /f

EXIT


And here's the command script for Daemon tools (Daemon.cmd) which resides in the $OEM$\$1\$Install\ Daemon\folder:

cmdow @ /HID
@echo off

START /WAIT %systemdrive%\Install\Daemon\daemon347.msi /passive /qn /norestart

EXIT



I have the feeling I'm missing something really silly. Hope anyone can help

cheers


#2 User is offline   Blub 

  • Ex-mad scientist
  • Pip
  • Group: Members
  • Posts: 59
  • Joined: 02-April 05

Posted 17 April 2005 - 03:54 AM

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 off

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

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

REG ADD %KEY%\010 /VE /D "Microsoft .NET Framework" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\DotNet.cmd" /f

REG ADD %KEY%\020 /VE /D "Adobe Reader" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\AcrobatRdr70.cmd" /f

REG ADD %KEY%\030 /VE /D "Nero Burning ROM" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Nero.cmd" /f

REG ADD %KEY%\040 /VE /D "Daemon Tools" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Daemon.cmd" /f

REG ADD %KEY%\050 /VE /D "Windows Media Player" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\WMP.cmd" /f

REG ADD %KEY%\060 /VE /D "Mozilla Firefox" /f
REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Firefox.cmd" /f

REG ADD %KEY%\070 /VE /D "Java Runtime Enviroment" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\J2RE.cmd"

REG ADD %KEY%\080 /VE /D "MSN Messenger" /f
REG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\MSN.cmd" /f

REG ADD %KEY%\888 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\888 /V 1 /D "%systemdrive%\Install\RegTweaks.cmd" /f

REG ADD %KEY%\999 /VE /D "Cleaning Up" /f
REG ADD %KEY%\999 /V 1 /D "%systemdrive%\Install\CleanUp.cmd" /f

EXIT


Everything else as before.

cheers

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy