nomaan Posted June 12, 2004 Share Posted June 12, 2004 This is my runonceex filecmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Deleting unwanted stuff " /fDEL "%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" /fREG ADD %KEY%\004 /VE /D "Daemon Tools 3.46" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\DaemonTools\Daemon.msi /qn Reboot=Suppress" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Adobe_Reader_6\AR6.msi /qn" /fREG ADD %KEY%\006 /VE /D "Win Rar CE v3.3" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\WinRar.v3.3\WinRAR.exe /s" /fREG ADD %KEY%\015 /VE /D "Diskeeper 8.0" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Diskeeper.Pro.v.8.0\setup.exe /s /v/qn" /fREG ADD %KEY%\040 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\MSN.Messenger.v6.2\MsnMsgs.Msi /qn" /fREG ADD %KEY%\045 /VE /D "Zone Alarm Suite" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\ZoneAlarm.Security.Suite.v5.0\setup.exe /s /noreboot" /fREG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\051 /VE /D "Alcohol 120%" /fREG ADD %KEY%\051 /V 1 /D "REGEDIT /S %systemdrive%\install\alcohol\alcohol1.reg" /fREG ADD %KEY%\051 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\alcohol2.reg" /fREG ADD %KEY%\051 /V 3 /D "%systemdrive%\install\Alcohol\setup.exe /qn Reboot=Suppress" /fREG ADD %KEY%\052 /VE /D "MDAC 2.7 SP1 Hotfix" /fREG ADD %KEY%\052 /V 1 /D "%systemdrive%\install\hotfixes\mdac.cmd" /fREG ADD %KEY%\055 /VE /D "Rebooting" /fRshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."REG ADD %KEY%\060 /VE /D "Deleteing unwanted links" /fDEL "%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\EXITRight 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 More sharing options...
XtremeMaC Posted June 12, 2004 Share Posted June 12, 2004 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 More sharing options...
nomaan Posted June 12, 2004 Author Share Posted June 12, 2004 Just the regular stuff[Version]Signature="$Windows NT$"MajorVersion=5MinorVersion=1BuildNumber=2600[setupData]CatalogSubDir="\i386\Update"[ProductCatalogsToInstall][setupHotfixesToRun]KB823182.exe /Q /O /N /ZKB824105.exe /Q /O /N /ZKB824141.exe /Q /O /N /ZKB825119.exe /Q /O /N /ZKB826939.exe /Q /O /N /ZKB828035.exe /Q /O /N /ZKB828741.EXE /Q /O /N /ZKB835732.EXE /Q /O /N /ZKB837001.EXE /Q /O /N /ZKB837009.exe /Q:A /R:NKB840374.EXE /Q /O /N /ZQ816093.exe /Q:A /R:NQ832894.exe /Q:A /R:NQ831167.exe /Q:A /R:NQ828026.exe /Q /O /N /ZDX9NTopk.exeKB839643.EXE /Q /O /N /Zjs56nen.exe /Q:A /R:Nqchain.exeI'll test it without the R, and update .. Link to comment Share on other sites More sharing options...
Joe User 99 Posted June 13, 2004 Share Posted June 13, 2004 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 More sharing options...
nomaan Posted June 13, 2004 Author Share Posted June 13, 2004 yeah ... usign VMware // i'll get back to you on this Link to comment Share on other sites More sharing options...
nomaan Posted June 24, 2004 Author Share Posted June 24, 2004 i cleaned up the runonceex file, and its all good.i still have the administrator login issue. i need it to autologin 1 more time ... not sure how i would do that Link to comment Share on other sites More sharing options...
imthemp3king Posted June 30, 2004 Share Posted June 30, 2004 Modify this in your WINNT.SIF file[GuiUnattended] AutoLogon = Yes AutoLogonCount = 1to this[GuiUnattended] AutoLogon = Yes AutoLogonCount = 2 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