Author Topic: Win2k & IE6 Unattended Install  (Read 2337 times)

Raa

  • Guest
Win2k & IE6 Unattended Install
« on: May 16, 2003, 04:07:49 AM »
Hi everyone

There's stacks of guides out there that detail the process on how to install everything from A-Z (okay nearly!) In a win2k self booting unattended install

The snag i've come up against is:

One source sez to use the IEAK kit and make a packed install of ie6sp1 (done - tested and working fineon a clean install).
They say to put it in the cmdlines.txt of the $oem$ folder.

Done that, and I get one of 2 results: 1 the win2k install crashes, rebooting the whole pc with an error about performance counters causing an exception, and I don't see ie6 get installed..... or 2, the process installs, completes but I don't see any ie6 update in windows, it's still ie 5.5 (this might have been a dodgy install)


I don't trust using it in cmdlines, but if anyone has done this successfully, just let me know if u did it, if it was successful and the method you used, doesn't have to be in depth.


A second source said to use guirunonce... That's all good and well, It works fine, But as soon as guirunonce completes the installs I have queued up, it's supposed to run the shell (explorer)

Well \"explorer generates errors and gets closed by windows\"... No way to fix this except to reboot, then it works fine (ie6 installed working good) but i don't like the idea of those errors.

Anyone struck that problem?

It's the only thing i'm getting stumped on....
I've managed to integrate Win2kSP3, All HotFixes, IE6SP1 (with problems), DX9.0a, MP9 & MSN 5 plus my drivers so far.

But this IE6 thing is causing me major headaches, this is the 9th time i've reburnt this RW disc to get it right (LOL!)


Any ideas are appreciated!


Raa.

Offline jiimmy

  • stranger
  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Win2k & IE6 Unattended Install
« Reply #1 on: May 16, 2003, 04:45:07 AM »
I havent had any problems using IEAK to create the distribution.

Files:
Code: [Select]
D:\spCD\$OEM$\Cmdlines.txt
D:\spCD\$OEM$\IE6\BRANDING.CAB
D:\spCD\$OEM$\IE6\CRLUPD.CAB
D:\spCD\$OEM$\IE6\ie6setup.bat
D:\spCD\$OEM$\IE6\ie6setup.exe
D:\spCD\$OEM$\IE6\iebatch.txt
D:\spCD\$OEM$\IE6\IEEXINST.CAB
D:\spCD\$OEM$\IE6\iesetup.ini
D:\spCD\$OEM$\IE6\IEW2K_1.CAB
D:\spCD\$OEM$\IE6\IEW2K_2.CAB
D:\spCD\$OEM$\IE6\IEW2K_3.CAB
D:\spCD\$OEM$\IE6\IEW2K_4.CAB
D:\spCD\$OEM$\IE6\MAILNEWS.CAB
D:\spCD\$OEM$\IE6\OEEXCEP.CAB
D:\spCD\$OEM$\IE6\README.CAB
D:\spCD\$OEM$\IE6\SCRIPTEN.CAB
D:\spCD\$OEM$\IE6\WAB.CAB

Below is the contents of files which where modified or created:

Cmdlines.txt:
Code: [Select]
"CMD /Q /C .\TweakUI.bat"
"CMD /Q /C .\SpTools.bat"
"CMD /Q /C .\RKTools.bat"
"CMD /Q /C .\BinTools.bat"
"CMD /Q /C .\Clean.bat"
"CMD /Q /C .\IE6\ie6setup.bat"
"CMD /Q /C .\Registry.bat"
"CMD /Q /C .\Profiles\Defaults.bat"
".\qchain.exe \Qchain.txt"

ie6setup.bat:
Code: [Select]
ECHO.Installing Internet Explorer 6 Service Pack 1 . . .
START /WAIT %~dp0\ie6Setup.exe /C:"ie6wzd /B:%~dp0iebatch.txt /S:""#e"" /Q /R:N"

The rest is NOT necessary if you just want the default installation, of course take out the /B switch above if there is no iebatch.txt file.

iebatch.txt:
Code: [Select]
[Options]
SaveUninstallInfo=0

iesetup.ini:
Code: [Select]
[Options]
Language=0409
Shell_Integration=0
Win95=0
Millen=0
NTx86=0
W2K=6.0.2800.1106
NTalpha=0
ConfirmFileList=0
IELiteMode=0
LocalInstall=1
[Version]
Signature=Active Setup

Below is the contents of the modified files in BRANDING.CAB (which was repackaged). These contain installation settings and customizations.

Code: [Select]
Listing of cabinet file 'BRANDING.CAB' (size 1214):
   3 file(s), 1 folder(s), set ID 2861, cabinet #0

File name                      File size     Date      Time   Attrs
-----------------------------  ---------- ---------- -------- -----
   INSTALL.INS                        957 2002/10/30 01:06:14  -a--
   setup.inf                           54 2002/08/29 07:34:04  -a--
   install.inf                       1420 2002/08/29 07:34:04  -a--

install.inf
Code: [Select]
[Version]
Signature=$Chicago$
AdvancedInf=2.5
LayoutFile=Setup.inf
[CustInstDestSection]
49000,49001,49002,49003=ProgramFilesDir,5
49100,49101,49102,49103=IEFilesDir,5
[Strings]
IEDIR=Internet Explorer
OLDGUID={60B49E34-C7CC-11D0-8953-00A0C90347FF}MICROS
Description=Browser Customizations
StubPath="RunDLL32 IEDKCS32.DLL,BrandIE4 SIGNUP"
Revision="6,0,2800,1106"
GUID=>{60B49E34-C7CC-11D0-8953-00A0C90347FF}MICROS
ClearStubsCmd="RUNDLL32 IEDKCS32.DLL,BrandCleanInstallStubs >{60B49E34-C7CC-11D0-8953-00A0C90347FF}MICROS"
[DefaultInstall]
CopyFiles=CopyFileSect
CustomDestination=CustInstDestSection
RequiredEngine=SetupAPI,"Fatal Error - Missing SETUPAPI.DLL"
DelReg=DelRegSect
AddReg=AddRegSect
RunPostSetupCommands=PostCmdSect
[DestinationDirs]
CopyFileSect=49100,SIGNUP

[ProgramFilesDir]
HKLM,Software\Microsoft\Windows\CurrentVersion,ProgramFilesDir,,%24%

[IeFilesDir]
HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE","Path",,"%24%\Program Files\%IEDIR%"

[CopyFileSect]
"INSTALL.INS"

[AddRegSect]
HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%",StubPath,,"%StubPath%"
HKLM,"Software\Microsoft\Active Setup\Installed Components\%GUID%",IsInstalled,,"1"
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce",BrandClearStubs,,"%ClearStubsCmd%"

[DelRegSect]
HKLM,"Software\Microsoft\Active Setup\Installed Components\%OLDGUID%"

INSTALL.INS
Code: [Select]
[Branding]
CompanyName=Microsoft Corporation
Version=6,0,2800,1106
Type=0
Wizard_Version=6.00.2800.1106
Custom_Key=MICROSO
Window_Title=
NoBackup=1
FavoritesOnTop=0
NoFavorites=1
Platform=2

[URL]
Home_Page=http://www.microsoft.com/windows
Search_Page=http://www.yahoo.com/search/ie.html
Quick_Link_1_Name =%QL10%.url
Quick_Link_1      =http://www.microsoft.com/isapi/redir.dll?prd=ie&pver=6&ar=CLinks
Quick_Link_2_Name =%QL20%.url
Quick_Link_2      =http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=Email Removed
Quick_Link_3_Name =%QL30%.url
Quick_Link_3      =http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=windows
NoWelcome=1

[Strings]
QL10 = "Customize Links"
QL20 = "Email Removed"
QL30 = "Windows"
[Media]
Build_Download=0
Build_CD=1
Build_LAN=0
Build_BrandingOnly=0
[ActiveSetupSites]
SiteUrl0=http://www.microsoft.com/DOWNLOAD/WIN32
SiteName0=Download Site 0
SiteRegion0=North America
[Internet_Mail]
Window_Title=

Raa

  • Guest
Win2k & IE6 Unattended Install
« Reply #2 on: May 16, 2003, 04:51:14 AM »
Thanks Jimmy!! That should be enough info for me to get mine fixed...

I think my problem was i asked setup to run with the switch /q:a and it doesn't support it, so it aborted the setup. I've changed it to just ie6setup /q /r:n , testing it as i write this now actually =)


I noticed you have qchain at the end of that cmdlines list;

I have the hotfixes integrated into svcpack.inf with qchain at the end, should i be running qchain at the end of cmd lines after the ie6 setup completes, or won't it matter too much?

Your batch files also reminded me off some things i have to put in too! hehe

Cheers,
Raa

Offline jiimmy

  • stranger
  • Newbie
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Win2k & IE6 Unattended Install
« Reply #3 on: May 16, 2003, 05:18:07 AM »
My understanding is that qchain.exe just takes care of multiple pending file rename operations on the same file. So as long as the program (IE6) isnt replacing any files that where replaced before you ran qchain.exe, you should be fine. If you want to know for sure you can always look at the output of qchain.exe by passing it a log file name. It tells you exactly what it does and from the info you can infer whether and when it is even needed or not.

For example, from this log file it doesnt look like qchain did anything and probably isnt needed:
Code: [Select]
---- Old Information In The Registry ------
Source:c:ed467fb3\update\update.exe
Version: 5.2.2.10
Destination:
Version:

Source:c:ed467fb3\update\spcustom.dll
Version: 5.2.2.10
Destination:
Version:

Source:c:ed467fb3\update
Version:
Destination:
Version:

Source:c:ed467fb3
Version:
Destination:
Version:

Source:c:ed467fb3
Version:
Destination:
Version:

Source:c:\da895a7b6f4\update\update.exe
Version: 5.2.2.10
Destination:
Version:

Source:c:\da895a7b6f4\update
Version:
Destination:
Version:

Source:c:\da895a7b6f4
Version:
Destination:
Version:

Source:c:\da895a7b6f4
Version:
Destination:
Version:

Source:c:\f84cb3665635ac615431271ac6a978e1\update\update.exe
Version: 5.2.2.10
Destination:
Version:

Source:c:\f84cb3665635ac615431271ac6a978e1\update
Version:
Destination:
Version:

Source:c:\f84cb3665635ac615431271ac6a978e1
Version:
Destination:
Version:

Source:c:\f84cb3665635ac615431271ac6a978e1
Version:
Destination:
Version:

Source:c:4441adf\update\update.exe
Version: 5.2.2.10
Destination:
Version:

Source:c:4441adf\update\spcustom.dll
Version: 5.2.2.10
Destination:
Version:

Source:c:4441adf\update
Version:
Destination:
Version:

Source:c:4441adf
Version:
Destination:
Version:

Source:c:4441adf
Version:
Destination:
Version:

Source:C:\pagefile.sys
Version:
Destination:
Version:

Source:E:\pagefile.sys
Version:
Destination:
Version:

Source:E:\WIN2000\System32\SET42E.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\advpack.dll
Version: 5.0.3502.4373

Source:E:\WIN2000\System32\SET472.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\shdoclc.dll
Version: 5.0.3502.5039

Source:E:\WIN2000\System32\SET476.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\shfolder.dll
Version: 5.0.2920.0

Source:E:\WIN2000\System32\SET478.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\shlwapi.dll
Version: 5.0.3502.5332

Source:E:\WIN2000\System32\SET47C.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\url.dll
Version: 5.0.3502.4510

Source:E:\WIN2000\System32\SET47E.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\urlmon.dll
Version: 5.0.3502.5400

Source:E:\WIN2000\System32\SET482.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\wininet.dll
Version: 5.0.3502.4619

Source:E:\WIN2000\System32\SET4E2.tmp
Version: 5.81.4916.400
Destination:E:\WIN2000\System32\comctl32.dll
Version: 5.81.3315.3727

Source:E:\WIN2000\System32\SET4E6.tmp
Version: 1998.3.6074.0
Destination:E:\WIN2000\System32\corpol.dll
Version: 1998.3.6045.0

Source:E:\WIN2000\System32\SET4EF.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\ieakui.dll
Version: 5.0.2920.0

 
 
---- New Information In The Registry ------
Source:c:ed467fb3\update\update.exe
Version: 5.2.2.10
Destination:
Version:

Source:c:ed467fb3\update\spcustom.dll
Version: 5.2.2.10
Destination:
Version:

Source:c:ed467fb3\update
Version:
Destination:
Version:

Source:c:ed467fb3
Version:
Destination:
Version:

Source:c:ed467fb3
Version:
Destination:
Version:

Source:c:\da895a7b6f4\update\update.exe
Version: 5.2.2.10
Destination:
Version:

Source:c:\da895a7b6f4\update
Version:
Destination:
Version:

Source:c:\da895a7b6f4
Version:
Destination:
Version:

Source:c:\da895a7b6f4
Version:
Destination:
Version:

Source:c:\f84cb3665635ac615431271ac6a978e1\update\update.exe
Version: 5.2.2.10
Destination:
Version:

Source:c:\f84cb3665635ac615431271ac6a978e1\update
Version:
Destination:
Version:

Source:c:\f84cb3665635ac615431271ac6a978e1
Version:
Destination:
Version:

Source:c:\f84cb3665635ac615431271ac6a978e1
Version:
Destination:
Version:

Source:c:4441adf\update\update.exe
Version: 5.2.2.10
Destination:
Version:

Source:c:4441adf\update\spcustom.dll
Version: 5.2.2.10
Destination:
Version:

Source:c:4441adf\update
Version:
Destination:
Version:

Source:c:4441adf
Version:
Destination:
Version:

Source:c:4441adf
Version:
Destination:
Version:

Source:C:\pagefile.sys
Version:
Destination:
Version:

Source:E:\pagefile.sys
Version:
Destination:
Version:

Source:E:\WIN2000\System32\SET42E.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\advpack.dll
Version: 5.0.3502.4373

Source:E:\WIN2000\System32\SET472.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\shdoclc.dll
Version: 5.0.3502.5039

Source:E:\WIN2000\System32\SET476.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\shfolder.dll
Version: 5.0.2920.0

Source:E:\WIN2000\System32\SET478.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\shlwapi.dll
Version: 5.0.3502.5332

Source:E:\WIN2000\System32\SET47C.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\url.dll
Version: 5.0.3502.4510

Source:E:\WIN2000\System32\SET47E.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\urlmon.dll
Version: 5.0.3502.5400

Source:E:\WIN2000\System32\SET482.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\wininet.dll
Version: 5.0.3502.4619

Source:E:\WIN2000\System32\SET4E2.tmp
Version: 5.81.4916.400
Destination:E:\WIN2000\System32\comctl32.dll
Version: 5.81.3315.3727

Source:E:\WIN2000\System32\SET4E6.tmp
Version: 1998.3.6074.0
Destination:E:\WIN2000\System32\corpol.dll
Version: 1998.3.6045.0

Source:E:\WIN2000\System32\SET4EF.tmp
Version: 6.0.2800.1106
Destination:E:\WIN2000\System32\ieakui.dll
Version: 5.0.2920.0