Author Topic: Unattended setup windows 98  (Read 3654 times)

Guest_Tony

  • Guest
Unattended setup windows 98
« on: May 25, 2004, 03:55:38 AM »
I'm trying to fully automate the installation of Windows 98 SE from CD, but haven't been doing a good job at it...
Every time the computer reboots it seems to forget it was running unattended and i have to manually accept the EULA, fill in the name, org, productkey, and all that.

I believe the problem is that i'm using an OEM version.
Does anybody know a workaround or a way to automatically convince the setup that win95 is installed (so i can perform an upgrade) without actually having to install the 95?

Guest_XplorerUSA

  • Guest
Unattended setup windows 98
« Reply #1 on: August 08, 2004, 12:01:14 PM »
create an unnatended install file, must be on same folder as the cabs files ie:
name of file MSBATCH.inf is on cd under disc for win98 /:tools\reskit\batch\
if you install and run it it'll create a file as this sample you'll need to enter all info as serial number, co. name ect:

; MSBATCH.INF
;
; Copyright © 1995-1998 Microsoft Corporation.
; All rights reserved.
;

[BatchSetup]
Version=3.0 (32-bit)
SaveDate=11/18/03

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

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

[System]
Locale=L0409
SelectedKeyboard=KEYBOARD_00000409

[NameAndOrg]
Name="User"
Org="User's"
Display=0

[Network]
ComputerName="Worstation"
Workgroup="WORKGROUP"
Display=0
PrimaryLogon=Windows
Protocols=MSTCP
Security=SHARE

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

[OptionalComponents]
"Briefcase"=0
"Calculator"=1
"Desktop Color Schemes"=0
"Desktop Tiles"=0
"Desktop Wallpaper"=0
"Document Templates"=0
"Games"=1
"Imaging"=0
"Imaging Support"=0
"Mouse Pointers"=0
"Paint"=1
"Readme Files"=0
"Quick View"=0
"Win3.1 Legacy Files"=0
"Windows Help Files"=0
"Windows Scripting Host"=1
"WordPad"=1
"Dial-Up Networking"=1
"Dial-Up Server"=0
"Direct Cable Connection"=0
"HyperTerminal"=0
"Microsoft Chat 2.1"=0
"Microsoft NetMeeting"=0
"Phone Dialer"=1
"Virtual Private Networking"=0
"Telephony Support"=1
"****** Original Windows98 Only ******"=0
"Microsoft NetMeeting"=0
"****** Windows98SE/ME Only ******"=0
"Connection Manager"=0
"ISDN Configuration Wizard"=0
"NetMeeting"=0
"****** Windows98SE/ME Only ******"=0
"Data Access Components"=0
"Baseball"=0
"Dangerous Creatures"=0
"Inside your Computer"=0
"Jungle"=0
"Leonardo da Vinci"=0
"More Windows"=0
"Mystery"=0
"Nature"=0
"Science"=0
"Space"=0
"Sports"=0
"The 60's USA"=0
"The Golden Era"=0
"Travel"=0
"Underwater"=0
"Windows 98"=1
"Desktop Themes Support"=1
"DOS Command Files"=0
"Internet Control Panel Applet"=0
"Internet Search"=0
"Microsoft Wallet"=0
"MS Cryptographic Providers"=0
"Personal Web Server"=0
"TCP/IP Utilities"=1
"Web Publishing Wizard"=0
"Web-Based Enterprise Mgmt"=0
"Windows Management Interface"=1
"Microsoft XML Support"=1
"****** Original Windows98 Only ******"=0
"Microsoft Internet Explorer 4.0"=0
"Microsoft FrontPage Express"=0
"****** Windows98SE/ME Only ******"=0
"Internet Explorer 5"=0
"Web Folders"=0
"****** Original Windows98 Only ******"=0
"Microsoft Outlook Express"=0
"Email Stationery"=0
"****** Windows98SE/ME Only ******"=0
"Outlook Express"=0
"Baltic"=0
"Central European"=0
"Cyrillic"=0
"Greek"=0
"Turkish"=0
"Audio Compression"=0
"CD Player"=1
"DirectX"=0
"Multimedia Sound Schemes"=1
"Sample Sounds"=0
"Sound Recorder"=0
"Video Compression"=0
"Volume Control"=1
"****** Original Windows98 Only ******"=0
"Active Movie"=0
"Direct3D"=0
"Media Player"=0
"****** Windows98SE/ME Only ******"=0
"DirectMedia & Active Movie"=0
"Media Player"=0
"America Online"=0
"AT&T WorldNet Service"=0
"CompuServe"=0
"Prodigy Internet"=0
"The Microsoft Network"=0
"Additional Screen Savers"=0
"Flying Windows"=1
"OpenGL Screen Savers"=0
"Backup"=0
"Character Map"=1
"Cleanup Manager"=0
"Clipboard Viewer"=1
"Disk compression tools"=0
"Drive Converter (FAT32)"=0
"Disk Defragmenter"=1
"Dr Watson"=0
"Group policies"=0
"ICM Color Profiles"=0
"Net Watcher"=0
"Scandisk"=1
"System Information"=0
"System Monitor"=0
"System Resource Meter"=0
"Task Scheduler & Tuneup Wiz."=1
"Web TV for Windows"=0
"WaveTop Data Broadcasting"=0
"Accessibility Options"=0
"Accessibility Tools"=0

[Printers]

[InstallLocationsMRU]

[Install]
AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.W
inUpdate

[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Nethood.Icon 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.MSN.Icon 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun3,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun4,,"%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%\>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=Nethood.Icon, Browser.Settings, Shell.Prep
BitReg=Shell.Settings
UpdateInis=DelIEQuick.Links,DelOEQuick.Links

[DelIEQuick.Links]
setup.ini, progman.groups,, "IE_WEBVIEW=..\..\Applic~1\Micros~1\Intern~1\Quickl~1"
setup.ini, IE_WEBVIEW,, """Launch Internet Explorer Browser"""

[DelOEQuick.Links]
setup.ini, progman.groups,, "groupQL=..\..\Applic~1\Micros~1\Intern~1\Quickl~1"
setup.ini, groupQL,, """Launch Outlook Express"""                ;deletes link

[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.Nethood.Icon]
AddReg=Nethood.Icon

[Nethood.Icon]
HKCU,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoNetHood,1,01,00,00,00

[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,1
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,1

[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://"
HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://"
HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://altavista.digital.com"
HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://altavista.digital.com"
HKCU, "SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs","Online_Support",,"http://"

[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]
showde~1.scf
viewch~1.scf

[Skip.PCMCIA.Wizard]
HKLM,System\CurrentControlSet\Services\Class\PCMCIA,SkipWizardForBatchSetup,,1

[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"