Forever2k Posted May 27, 2004 Posted May 27, 2004 What can i do to fix this problem, every time the IE6 is installed with my RunOnceEx, i got an explorer.exe error. There is my RunOnceEx file@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "Internet Explorer 6 SP1" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\ie6\ie6setup.exe /Q:A /R:N" /fREG ADD %KEY%\010 /VE /D "Windows Update" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\update.cmd" /fREG ADD %KEY%\015 /VE /D "Adobe Acrobat Reader 6" /fREG ADD %KEY%\015 /V 1 /D "\\wor0007\install\aread6\AR6.msi /qn" /fREG ADD %KEY%\020 /VE /D "Microsoft Office XP Professional" /fREG ADD %KEY%\020 /V 1 /D "\\wor0007\install\offpro\setup.exe TRANSFORMS=\\Wor0007\Install\offpro\Office.MST /qb-" /fREG ADD %KEY%\025 /VE /D "Real VNC 3.3.7" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\vnc337.exe" /fREG ADD %KEY%\030 /VE /D "NetTime" /fREG ADD %KEY%\030 /V 1 /D "REGEDIT /S %systemdrive%\install\nettime.reg" /fREG ADD %KEY%\030 /V 2 /D "%systemdrive%\install\nettime.exe" /fREG ADD %KEY%\035 /VE /D "Microsoft Mail" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\MSMail4XP.exe /s" /fREG ADD %KEY%\040 /VE /D "Java Virtual Machine" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\msjavx86.exe /Q:A /R:N" /fREG ADD %KEY%\045 /VE /D "Multilanguage Pack for Office" /fREG ADD %KEY%\045 /V 1 /D "\\wor0007\install\offmui\1036\setup.exe TRANSFORMS=\\Wor0007\Install\offmui\1036\muifra.MST /qb-" /fREG ADD %KEY%\050 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITthanks
ToBe Posted May 27, 2004 Posted May 27, 2004 what is the error?Doesn't explorer.exe load on first boot?
Godfatha Posted May 27, 2004 Posted May 27, 2004 I got the same, i solved it like that:after the setup is done start.cmd is executed via the guirunonce in the winnt.sif,it contains only three things: the IE6 Setup and the import of RO.reg (to logon automatically and to place a runonce key for a second batch (start2.cmd)) . When its executed, it installs IE6, imports the regkeys (they have to be expanded regkeys if u use variables) and the uses shutd0wn.exe (which i copied from a winxp install to my $oem$\$1\system32 folder to make it work) with the option -f -r -t 3Next time the PC starts up, the second batch is executed that does the rest, THEN the install works properly with no errors.start.cmd:CLS@echo offTITLE Windows 2000 SP4 - Unattended InstallationIF EXIST D:\CD.txt set CDROM=D:IF EXIST E:\CD.txt set CDROM=E:[...]ECHO.ECHO Installing IE6 SP1ECHO Please wait...start /wait %cdrom%\install\ie\IE6SETUP.EXE /q:a /r:nREGEDIT /S %systemdrive%\install\RO.regECHO.ECHO Restart%systemroot%\system32\shutd0wn.exe -f -r -t 3 -c "Dieser Neustart ist sehr wichtig!"EXITstart2.cmd:CLS@echo offTITLE Windows 2000 SP4 - Unattended Installation (2/2)IF EXIST D:\CD.txt set CDROM=D:[...]ECHO.ECHO Installing IE6 Patch 1 of 8ECHO Please wait...start /wait %CDROM%\install\updates\q330994.exe /q:a /r:n[...]RD /S /Q %systemdrive%\Install\EXITRO.reg:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"Setup2"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,\ 76,00,65,00,25,00,5c,00,69,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,5c,00,73,\ 00,74,00,61,00,72,00,74,00,32,00,2e,00,63,00,6d,00,64,00,00,00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"AutoAdminLogon"="1"(the "Setup2"=hex(2):25,00.... is the expanded reg key to make the runkey take the variable %systemdrive%, it means: %systemdrive%\install\start2.cmd) the other way to make it, would be using Reg.exe, what isn't available in the normal windows 2000, if u want to use that, read about it somewhere in this forum.thats basically the stuf i did to make it work...
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