Jump to content

errors in RunOnceEx


Recommended Posts

This is my runonceex file

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "Deleting unwanted stuff " /f

DEL "%systemroot%\*.bmp"

DEL "%systemroot%\Web\Wallpaper\*.jpg"

DEL "%systemroot%\system32\dllcache\*.scr"

DEL "%systemroot%\system32\*.scr"

DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"

DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

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

REG ADD %KEY%\004 /VE /D "Daemon Tools 3.46" /f

REG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\DaemonTools\Daemon.msi /qn Reboot=Suppress" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Adobe_Reader_6\AR6.msi /qn" /f

REG ADD %KEY%\006 /VE /D "Win Rar CE v3.3" /f

REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\WinRar.v3.3\WinRAR.exe /s" /f

REG ADD %KEY%\015 /VE /D "Diskeeper 8.0" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Diskeeper.Pro.v.8.0\setup.exe /s /v/qn" /f

REG ADD %KEY%\040 /VE /D "MSN Messenger 6.2" /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\MSN.Messenger.v6.2\MsnMsgs.Msi /qn" /f

REG ADD %KEY%\045 /VE /D "Zone Alarm Suite" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\ZoneAlarm.Security.Suite.v5.0\setup.exe /s /noreboot" /f

REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

REG ADD %KEY%\051 /VE /D "Alcohol 120%" /f

REG ADD %KEY%\051 /V 1 /D "REGEDIT /S %systemdrive%\install\alcohol\alcohol1.reg" /f

REG ADD %KEY%\051 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\alcohol2.reg" /f

REG ADD %KEY%\051 /V 3 /D "%systemdrive%\install\Alcohol\setup.exe /qn Reboot=Suppress" /f

REG ADD %KEY%\052 /VE /D "MDAC 2.7 SP1 Hotfix" /f

REG ADD %KEY%\052 /V 1 /D "%systemdrive%\install\hotfixes\mdac.cmd" /f

REG ADD %KEY%\055 /VE /D "Rebooting" /f

Rshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."

REG ADD %KEY%\060 /VE /D "Deleteing unwanted links" /f

DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"

DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"

DEL "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 6.0.lnk"

DEL "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\PrintMe Internet Printing"

RD /S /Q "%systemroot%\Cache\Adobe Reader 6\"

RD /S /Q %systemdrive%\drivers\

RD /S /Q %systemdrive%\apps\

EXIT

Right after all the entries have been processed,

I get this error message.

"Unable to install java packages."

The window is titled Java package manager. I click ok, and the error comes back 4 more times. Then it goes into windows.

I don't know whats generating this error. I don't see any java related stuff in my runonceex file.

another problem i'm getting is that after the install, It asks me for the admin password. I read somewhere that I can set it to auto login somewhere, but can't seem to find that info.

thanks

Link to comment
Share on other sites


i dunno whats wrong with it but

"Rshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..." u have a "R" at the beginning that's wrong...

what do u have in your svcpack.inf? or in_?

Link to comment
Share on other sites

Just the regular stuff

[Version]Signature="$Windows NT$"

MajorVersion=5

MinorVersion=1

BuildNumber=2600

[setupData]

CatalogSubDir="\i386\Update"

[ProductCatalogsToInstall]

[setupHotfixesToRun]

KB823182.exe /Q /O /N /Z

KB824105.exe /Q /O /N /Z

KB824141.exe /Q /O /N /Z

KB825119.exe /Q /O /N /Z

KB826939.exe /Q /O /N /Z

KB828035.exe /Q /O /N /Z

KB828741.EXE /Q /O /N /Z

KB835732.EXE /Q /O /N /Z

KB837001.EXE /Q /O /N /Z

KB837009.exe /Q:A /R:N

KB840374.EXE /Q /O /N /Z

Q816093.exe /Q:A /R:N

Q832894.exe /Q:A /R:N

Q831167.exe /Q:A /R:N

Q828026.exe /Q /O /N /Z

DX9NTopk.exe

KB839643.EXE /Q /O /N /Z

js56nen.exe /Q:A /R:N

qchain.exe

I'll test it without the R, and update ..

Link to comment
Share on other sites

Well..I can't say for sure, but Q816093.exe is a java package.

Is this a SP1 or SP1a CD? Because if it's a SP1a CD, you have to install the full JVM prior to this update.

Also, some patches/hotfixes will add their own entries to the runonce key.

Maybe the error is from this update? Try removing it and trying again, or check the SP1 vs SP1a thing.

Hope your are testing on VMWare or Virtual PC to save CDs! :)

Link to comment
Share on other sites

  • 2 weeks later...

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