Jump to content

Explorer.exe when i install IE6 in a Runonce ex


Recommended Posts

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 off

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

REG ADD %KEY% /V TITLE /D "Installing 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 "Internet Explorer 6 SP1" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\ie6\ie6setup.exe /Q:A /R:N" /f

REG ADD %KEY%\010 /VE /D "Windows Update" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\update.cmd" /f

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

REG ADD %KEY%\015 /V 1 /D "\\wor0007\install\aread6\AR6.msi /qn" /f

REG ADD %KEY%\020 /VE /D "Microsoft Office XP Professional" /f

REG ADD %KEY%\020 /V 1 /D "\\wor0007\install\offpro\setup.exe TRANSFORMS=\\Wor0007\Install\offpro\Office.MST /qb-" /f

REG ADD %KEY%\025 /VE /D "Real VNC 3.3.7" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\vnc337.exe" /f

REG ADD %KEY%\030 /VE /D "NetTime" /f

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

REG ADD %KEY%\030 /V 2 /D "%systemdrive%\install\nettime.exe" /f

REG ADD %KEY%\035 /VE /D "Microsoft Mail" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\MSMail4XP.exe /s" /f

REG ADD %KEY%\040 /VE /D "Java Virtual Machine" /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\msjavx86.exe /Q:A /R:N" /f

REG ADD %KEY%\045 /VE /D "Multilanguage Pack for Office" /f

REG ADD %KEY%\045 /V 1 /D "\\wor0007\install\offmui\1036\setup.exe TRANSFORMS=\\Wor0007\Install\offmui\1036\muifra.MST /qb-" /f

REG ADD %KEY%\050 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

thanks

Link to comment
Share on other sites


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 3

Next 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 off
TITLE Windows 2000 SP4 - Unattended Installation

IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
[...]

ECHO.
ECHO Installing IE6 SP1
ECHO Please wait...
start /wait %cdrom%\install\ie\IE6SETUP.EXE /q:a /r:n

REGEDIT /S %systemdrive%\install\RO.reg

ECHO.
ECHO Restart
%systemroot%\system32\shutd0wn.exe -f -r -t 3 -c "Dieser Neustart ist sehr wichtig!"

EXIT

start2.cmd:

CLS
@echo off
TITLE Windows 2000 SP4 - Unattended Installation (2/2)

IF EXIST D:\CD.txt set CDROM=D:
[...]

ECHO.
ECHO Installing IE6 Patch 1 of 8
ECHO Please wait...
start /wait %CDROM%\install\updates\q330994.exe /q:a /r:n

[...]

RD /S /Q %systemdrive%\Install\

EXIT

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

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