Jump to content

Help with RunOnceEx.CMD


Recommended Posts

Hello,

This is my cmd:

cmdow @ /HID@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installiere Anwendungen" /f
REG ADD %KEY%\001 /VE /D "Installation von SP2 RC1" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\XPUpdate\xpsp2.exe /U /Q /O" /f
REG ADD %KEY%\005 /VE /D "Flashget 1.6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Flashget\fgf160.exe /S" /fREG ADD %KEY%\005 /V 2 /D "REGEDIT /S %systemdrive%\Install\Flashget\register.reg" /f
REG ADD %KEY%\010 /VE /D "Alcohol 120" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\Alcohol\setup.exe /qn Reboot=Suppress" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\Install\Alcohol\register.reg" /f
REG ADD %KEY%\015 /VE /D "Nero Burning Rom 6" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\Nero\Nero6302.exe /silent /noreboot /no_ui /SN=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX /write_sn " /f
REG ADD %KEY%\020 /VE /D "WinRAR 3.30" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\WinRAR\WinRAR.exe /s" /f
REG ADD %KEY%\025 /VE /D "ACDSee 6.0.2" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\ACDSee\ACDSee.msi /QN USERNAME=FIRE ALLUSERS=1 SLL_LICENSENUMBER=XXX-XXX-XXX-XXX-XXX-XXX REBOOT=REALLYSUPPRESS" /f
REG ADD %KEY%\030 /VE /D "MS Office 2003" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /f
REG ADD %KEY%\035 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\Java\j2sdk-1_4_2_03-windows-i586-p.exe /s /v/qn" /f
REG ADD %KEY%\040 /VE /D "TuneUp 2004" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\TuneUp2004\tuneup.msi /QB ALLUSERS=1 REBOOT=REALLYSUPPRESS" /fREG ADD %KEY%\040 /V 1 /D "REGEDIT /S %systemdrive%\Install\TuneUp2004\register.reg" /f
REG ADD %KEY%\045 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\AcrobatReader\AcrobatReader.msi /qn" /fEXIT

The problem is that after SP2 RC1 the first 2 Apps don't get installed.

I already changed the install order after SP2 but I doesn't get it.

Anyone who can help me?

Thanks in advance

:)

Link to comment
Share on other sites


I think you can slipstream SP2(i think it's made in the same way as with SP1) into your CD so you don't have to install it via

RunOnceEx.cmd.

I think you should find a guide on the forum.

Hope that helps.

Link to comment
Share on other sites

as the next thing to do AFTER SP2 is installed, you could try SLEEP

it's a program you have to downloaded (unattended.msfn.org) but it might work.

And yes, a clean install rather than uninstall reinstall is always a better choice.

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