Jump to content

Recommended Posts

Posted

Hi all,

I was testing my unattended CD & I had an error with alcohol 120. My runonce.cmd started, then the attached image came out:

After about a minute or two, the PC rebooted, & then came back up & finished the end part of the list.

My CD didnt used to do this, so I must have messed up something.

Any help would be great. The only new stuff is I used Nlite to merge SP2 into my XPPro Cd.

Here is my runonce.cmd

cmdow @ /HID
@echo off

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

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

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "Alcohol 120" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\alcohol\trial_setup.exe /qn" /f

REG ADD %KEY%\010 /VE /D "TweakUI 2.10 Powertoy" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Powertoys\TweakUI.msi /qn" /f

REG ADD %KEY%\020 /VE /D "WinRAR v3.30 Plus (Corporate Edition)" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Winrar\wrar330.exe /s" /f

REG ADD %KEY%\030 /VE /D "Kazaa Lite K++ v2.4.3" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\kazaalite243.exe /silent" /f

REG ADD %KEY%\040 /VE /D "Nero Burning ROM v6.3.1.17" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Nero\nero63117.exe /silent /noreboot /no_ui /sn=xxxxxxxxxxxxxxxxxxxxxxxx /write_sn" /f

REG ADD %KEY%\050 /VE /D "Dreamweaver MX 2004" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\Dreamweaver\setup.exe -s" /f
REG ADD %KEY%\050 /V 2 /D "taskkill.exe /F /IM IEXPLORE.EXE" /f

REG ADD %KEY%\060 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\060 /V 1 /D "REGEDIT /S %systemdrive%\Install\regtweaks.reg" /f

REG ADD %KEY%\070 /VE /D "Cleaning Up and Rebooting..." /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f

EXIT

post-70-1092287444_thumb.jpg


Posted

Reboot=Suppress

add the above code to the line after /qn.You may also find this thread useful if you use the virtual drive.

I have used this and when the found new hardware dialog pops up, it stays until DaemonScript runs then closes and the install continues.

Posted

REG ADD %KEY%\005 /VE /D "Alcohol 120" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\alcohol\trial_setup.exe /qn" /f

So would the code be Reboot=Suppress ?

REG ADD %KEY%\005 /VE /D "Alcohol 120" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\alcohol\trial_setup.exe /qn"  Reboot=Suppress /f  

Posted

Sorry, I should have asked, could I get an example of what you mean?

I just ran one of my SP1 unattended XP cds & I didnt have this problem & still dont have this issue with SP1.

I am wondering if this has something to do with nlite or SP2?

Posted
REG ADD %KEY%\005 /VE /D "Alcohol 120" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\alcohol\trial_setup.exe /qn Reboot=Suppress" /f

might work, the 2nd and 3rd lines are all on one line

  • 4 months later...
Posted

Here is what you will want to do. Get a hold of the msi and use the following:

REG ADD %KEY%\015 /VE /D "Alcohol 120" /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\setup.msi /qn /norestart" /f
REG ADD %KEY%\015 /V 2 /D "REGEDIT /S %CDROM%\Alcohol.reg" /f

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