Jump to content

[Windows 98] Unattended won't get passed EULA


Recommended Posts

I am creating an unattended installation of Windows 98 SE, don't ask why :P

My problem: My unattended installation won't get passed the EULA and the end of the installation.

This is my msbatch.inf:

; MSBATCH.INF
;
; Copyright (c) 1995-1998 Microsoft Corporation.
; All rights reserved.
;

[BatchSetup]
Version=3.0 (32-bit)
SaveDate=10-14-05

[Version]
Signature = "$CHICAGO$"
AdvancedINF=2.5
LayoutFile=layout.inf

[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
ProductKey="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
DevicePath=0
NoDirWarn=1
TimeZone="W. Europe"
Uninstall=0
NoPrompt2Boot=1

[System]
Locale=L0413
SelectedKeyboard=KEYBOARD_00000409

[NameAndOrg]
Name="Owner"
Org="Owner"
Display=0

[Network]
ComputerName=DEFAULT
Workgroup="Workgroup"
Display=0
PrimaryLogon=VREDIR
Clients=VREDIR
Protocols=MSTCP
Services=VSERVER
Security=SHARE

[MSTCP]
LMHOSTS=1
LMHOSTPath="C:\WINDOWS\lmhosts"
DHCP=1
DNS=0
WINS=D

[VREDIR]
ValidatedLogon=0

[VSERVER]
LMAnnounce=0
MaintainServerList=2

[OptionalComponents]
"Toegankelijkheidsopties"=1
"Hulpprogramma's"=0
"Werkmap"=0
"Rekenmachine"=1
"Bureaublad-achtergrond"=0
"Documentsjablonen"=1
"Ontspanning"=0
"Imaging"=1
"Muisaanwijzers"=0
"Paint"=1
"Snel weergeven"=0
"Windows Scripting Host"=1
"WordPad"=1
"Adresboek"=1
"ATM-ondersteuning voor inbellen"=0
"Externe toegang"=0
"Externe-toegangsserver"=0
"Directe kabelverbinding"=0
"HyperTerminal"=0
"Microsoft Chat 2.5"=0
"NetMeeting"=1
"Telefoonkiezer"=1
"Virtueel particulier netwerk"=0
"Baseball"=0
"Dangerous Creatures"=0
"In de computer"=0
"Jungle"=0
"Leonardo da Vinci"=0
"Meer Windows"=0
"Mysterie"=0
"Natuur"=0
"Wetenschap"=0
"De ruimte"=0
"Sport"=0
"Jaren zestig"=0
"Industriële vormgeving"=0
"Reizen"=0
"Onderwater"=0
"Windows 98"=0
"Delen van Internet-verbinding"=0
"Microsoft Wallet"=0
"Personal Web Server"=1
"Wizard webpublicaties"=0
"Web-Based Enterprise Mgmt"=0
"Microsoft Outlook Express"=1
"Baltisch"=0
"Centraaleuropees"=0
"Cyrillisch"=0
"Grieks"=0
"Turks"=0
"Audiocompressie"=1
"Cd-speler"=1
"Macromedia Shockwave Director"=1
"Macromedia Shockwave Flash"=1
"Multimediageluidsschema's"=0
"Voorbeeldgeluiden"=0
"Geluidsrecorder"=1
"Videocompressie"=1
"Volumeregeling"=1
"Extra schermbeveiligingen"=0
"Windows-logo's"=1
"OpenGL-schermbeveiligingen"=0
"Reservekopie maken"=0
"Speciale tekens"=0
"Klembord-viewer"=0
"Schijfcompressie-werkset"=1
"Conversieprogramma (FAT32)"=1
"Groepsbeleid"=0
"Netwerkmonitor"=0
"Systeemmonitor"=0
"Systeembronmeter"=0
"WinPopup"=1

[Printers]

[InstallLocationsMRU]

[Install]
AddReg=OPKInstall,AddReg=RunOnce.BatchDelay,Run.Installed.Components,Registry.WinUpdate

[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.MSN.Icon 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun3,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Regwiz 4 %10%\msbatch.inf"

[Run.Installed.Components]
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,,,">Batch 98 - General Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,StubPath,,"%25%\rundll.exe setupx.dll,InstallHinfSection Installed.Components.General 4 %10%\msbatch.inf"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,,,"ICW"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,StubPath,,"%24%\progra~1\intern~1\connec~1\icwconn1 /restoredesktop
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,,,">Batch 98 - Advanced Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,StubPath,,"%25%\rundll32.exe advpack.dll,LaunchINFSection %10%\msbatch.inf,Installed.Components.Advanced"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,,,">Batch 98 - Windows Update"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,StubPath,,"wupdmgr.exe -shortcut"

[Installed.Components.General]
AddReg=Browser.Settings, Shell.Prep
BitReg=Shell.Settings

[Installed.Components.Advanced]
DelFiles=Connect.Icon, OLS.Icons, QuickLaunch.Icons
CustomDestination=Custom.Dest
RunPostSetupCommands=DirCleanup

[Custom.Dest]
49070=DesktopLDIDSection,5
49050=QuickLinksLDIDSection,5

[Connect.Icon]
connec~1.lnk

[Delete.MSN.Icon]
DelReg=MSN.Icon

[MSN.Icon]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{4B876A40-4EE8-11D1-811E-00C04FB98EEC},,,

[DesktopLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",Desktop,OLSFolder,"%25%\Desktop"

[OLS.Icons]
americ~1.lnk
at&two~1.lnk
compus~1.lnk
prodig~1.lnk
themic~1.lnk
aboutt~1.lnk
abouto~1.txt
services.txt

[DirCleanup]
rundll32.exe advpack.dll,DelNodeRunDLL32 %49070%\%OnlineLong%

[Delete.Welcome]
DelReg=Registry.Welcome

[Registry.Welcome]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Welcome,,

[Delete.Regwiz]
AddReg=Registry.Regwiz

[Registry.Regwiz]
HKLM,Software\Microsoft\Windows\CurrentVersion\Welcome\Regwiz,@,1,01,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00

[Registry.WinUpdate]
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDevMgrUpdate,0x10001,0
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,0

[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://www.google.com"
HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://www.google.com"
HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://home.microsoft.com/search/search.asp"
HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://home.microsoft.com/search/search.asp"
HKCU, "SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs","Online_Support",,"http://support.microsoft.com/support"

[Shell.Prep]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,01,00,00,00
HKCU,"Software\Microsoft\Internet Explorer\main",Show_ChannelBand,0,"no"

[Shell.Settings]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,0,20,1

[QuickLinksLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",AppData,QuickLaunch,"%25%\Application Data"

[QuickLaunch.Icons]
viewch~1.scf

[DestinationDirs]
Connect.Icon=10,alluse~1\desktop
OLS.Icons=49070,Online~1
QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1

[Strings]
KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
OnlineLong="Online Services"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"

[OPKInstall]
HKLM,Software,Microsoft,Windows,CurrentVersion,"ProductId",,"xxxxx-OEM-xxxxxxx-xxxxx"
HKLM,Software,Microsoft,Windows,CurrentVersion,"ProductKey",,"xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"
HKLM,Software,Microsoft,Windows,CurrentVersion,"RegisteredOwner",,"Owner"
HKLM,Software,Microsoft,Windows,CurrentVersion,"RegisteredOrganization",,"Owner"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Network\Real Mode Net","autologon",1,00000000

I have read on MSFN forum that you must not forget some things like:

[install]

AddReg=OPKInstall,AddReg=RunOnce.BatchDelay,Run.Installed.Components,Registry.WinUpdate

[OPKInstall]

HKLM,Software,Microsoft,Windows,CurrentVersion,"ProductId",,"xxxxx-OEM-xxxxxxx-xxxxx"

HKLM,Software,Microsoft,Windows,CurrentVersion,"ProductKey",,"12345-12345-12345-12345-12345"

HKLM,Software,Microsoft,Windows,CurrentVersion,"RegisteredOwner",,"Owner"

HKLM,Software,Microsoft,Windows,CurrentVersion,"RegisteredOrganization",,"Organization"

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Network\Real Mode Net","autologon",1,00000000

To add this bold text to your msbatch.inf. Normally this should work, but not with me. I ques i forget something simple but i can't find it.

Can you guys assist me for what i am doing wrong?

I even tried to start the setup like this: "setup /iw b:\msbatch.inf"

But the option /iw doesn't work either. ShowEula is and was set to 0. So i am a little bit confused.

Edited by lznogoud
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...