A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » Setup & Installation
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

automated install still prompts



 
 
Thread Tools Display Modes
  #1  
Old December 22nd 04, 12:46 PM
Gary Roach
external usenet poster
 
Posts: n/a
Default automated install still prompts

i'm trying to automate the installation of 98se. i'm using the following
command line:

setup /is /nr /IW a:\msbatch.inf

it prompts me for a user name, even though one is provided in my msbatch.inf
file. it also asks me to accept the license agreement even though i used the
/IW switch. finally it prompts for the key even though it's also in the
msbatch.inf. (in the user name and key cases, the values are display
correctly in the dialog boxes - all i have to do is hit "next".) how do i
get this to continue automatically? Below's the msbatch.inf I'm using.

thanks

--


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

[BatchSetup]
Version=3.0 (32-bit)
SaveDate=02/20/04

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

[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
; ProductKey="BXQ4D-H6MJK-VK8V2-FKW3V-TW7PG"
ProductKey="VW46J-MCXDK-PH9DT-G4DQK-QQHQT
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
DevicePath=0
NoDirWarn=1
TimeZone="Eastern"
Uninstall=0
NoPrompt2Boot=1

[System]
Locale=L0409
SelectedKeyboard=KEYBOARD_00000409

[NameAndOrg]
Name="Toshiba User"
; Org="Foo"
Display=0

[Network]
ComputerName="ROACH"
Workgroup="WORKGROUP"
Description="A test computer"
Display=0
PrimaryLogon=Windows
Clients=VREDIR
Protocols=MSTCP
Security=SHARE

[MSTCP]
LMHOSTS=1
LMHOSTPath="C:\WINDOWS\lmhosts"
DHCP=1
; DNS=1
DNS=0
WINS=D
; DNSServers=192.168.55.1
Hostname=ROACH

[VREDIR]
LogonDomain="WORKGROUP"
ValidatedLogon=0

[OptionalComponents]
"Accessibility Options"=1
"Accessibility Tools"=0
"Briefcase"=0
"Calculator"=1
"Desktop Wallpaper"=0
"Document Templates"=1
"Games"=0
"Imaging"=1
"Mouse Pointers"=0
"Paint"=1
"Quick View"=1
"Windows Scripting Host"=1
"WordPad"=1
"Address Book"=1
"Dial-Up ATM Support"=0
"Dial-Up Networking"=1
"Dial-Up Server"=0
"Direct Cable Connection"=1
"HyperTerminal"=1
"Microsoft Chat 2.5"=0
"NetMeeting"=0
"Phone Dialer"=0
"Virtual Private Networking"=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"=0
"Desktop Themes Support"=0
"Internet Connection Sharing"=0
"Microsoft Wallet"=0
"Personal Web Server"=0
"Web Publishing Wizard"=0
"Web-Based Enterprise Mgmt"=0
"Microsoft Outlook Express"=1
"Baltic"=0
"Central European"=0
"Cyrillic"=0
"Greek"=0
"Turkish"=0
"Audio Compression"=1
"CD Player"=1
"Macromedia Shockwave Director"=1
"Macromedia Shockwave Flash"=1
"Multimedia Sound Schemes"=0
"Sample Sounds"=0
"Sound Recorder"=1
"Video Compression"=1
"Volume Control"=1
"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"=1
"Backup"=1
"Character Map"=1
"Clipboard Viewer"=1
"Disk compression tools"=1
"Drive Converter (FAT32)"=1
"Group policies"=1
"Net Watcher"=1
"System Monitor"=1
"System Resource Meter"=1
"Web TV for Windows"=0
"WaveTop Data Broadcasting"=0

[Printers]

[InstallLocationsMRU]

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

[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,IsInstalle d,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,0 1,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\Batchwu,Version,,"3,0,0 ,0"
HKLM,%KEY_INSTALLEDCOMPS%\Batchwu,StubPath,,"wupd mgr.exe -shortcut"

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

[Installed.Components.Advanced]
DelFiles=QuickLaunch.Icons
CustomDestination=Custom.Dest

[Custom.Dest]
49050=QuickLinksLDIDSection,5

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

[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://www.msn.com"
HKCU,%KEY_IEXPLORERMAIN%,"First Home
Page",,"http://home.microsoft.com/runonce.asp"
HKCU,%KEY_IEXPLORERMAIN%,"Search
Page",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch"
HKLM,%KEY_IEXPLORERMAIN%,"Search
Bar",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch"
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\Ex plorer\Shell
Folders",AppData,QuickLaunch,"%25%\Application Data"

[QuickLaunch.Icons]
viewch~1.scf

[DestinationDirs]
QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1

[Strings]
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"




--
Gary Roach
ADB Services



  #2  
Old January 16th 05, 11:28 PM
Whisker Bisquit
external usenet poster
 
Posts: n/a
Default

I think the msbatch.inf needs to be the first command line option.

e.g.
setup a:\msbatch.inf /is /nr /IW

On Wed, 22 Dec 2004 07:46:11 -0500, "Gary Roach"
wrote:

i'm trying to automate the installation of 98se. i'm using the following
command line:

setup /is /nr /IW a:\msbatch.inf

it prompts me for a user name, even though one is provided in my msbatch.inf
file. it also asks me to accept the license agreement even though i used the
/IW switch. finally it prompts for the key even though it's also in the
msbatch.inf. (in the user name and key cases, the values are display
correctly in the dialog boxes - all i have to do is hit "next".) how do i
get this to continue automatically? Below's the msbatch.inf I'm using.

thanks

--


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

[BatchSetup]
Version=3.0 (32-bit)
SaveDate=02/20/04

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

[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
; ProductKey="BXQ4D-H6MJK-VK8V2-FKW3V-TW7PG"
ProductKey="VW46J-MCXDK-PH9DT-G4DQK-QQHQT
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
DevicePath=0
NoDirWarn=1
TimeZone="Eastern"
Uninstall=0
NoPrompt2Boot=1

[System]
Locale=L0409
SelectedKeyboard=KEYBOARD_00000409

[NameAndOrg]
Name="Toshiba User"
; Org="Foo"
Display=0

[Network]
ComputerName="ROACH"
Workgroup="WORKGROUP"
Description="A test computer"
Display=0
PrimaryLogon=Windows
Clients=VREDIR
Protocols=MSTCP
Security=SHARE

[MSTCP]
LMHOSTS=1
LMHOSTPath="C:\WINDOWS\lmhosts"
DHCP=1
; DNS=1
DNS=0
WINS=D
; DNSServers=192.168.55.1
Hostname=ROACH

[VREDIR]
LogonDomain="WORKGROUP"
ValidatedLogon=0

[OptionalComponents]
"Accessibility Options"=1
"Accessibility Tools"=0
"Briefcase"=0
"Calculator"=1
"Desktop Wallpaper"=0
"Document Templates"=1
"Games"=0
"Imaging"=1
"Mouse Pointers"=0
"Paint"=1
"Quick View"=1
"Windows Scripting Host"=1
"WordPad"=1
"Address Book"=1
"Dial-Up ATM Support"=0
"Dial-Up Networking"=1
"Dial-Up Server"=0
"Direct Cable Connection"=1
"HyperTerminal"=1
"Microsoft Chat 2.5"=0
"NetMeeting"=0
"Phone Dialer"=0
"Virtual Private Networking"=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"=0
"Desktop Themes Support"=0
"Internet Connection Sharing"=0
"Microsoft Wallet"=0
"Personal Web Server"=0
"Web Publishing Wizard"=0
"Web-Based Enterprise Mgmt"=0
"Microsoft Outlook Express"=1
"Baltic"=0
"Central European"=0
"Cyrillic"=0
"Greek"=0
"Turkish"=0
"Audio Compression"=1
"CD Player"=1
"Macromedia Shockwave Director"=1
"Macromedia Shockwave Flash"=1
"Multimedia Sound Schemes"=0
"Sample Sounds"=0
"Sound Recorder"=1
"Video Compression"=1
"Volume Control"=1
"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"=1
"Backup"=1
"Character Map"=1
"Clipboard Viewer"=1
"Disk compression tools"=1
"Drive Converter (FAT32)"=1
"Group policies"=1
"Net Watcher"=1
"System Monitor"=1
"System Resource Meter"=1
"Web TV for Windows"=0
"WaveTop Data Broadcasting"=0

[Printers]

[InstallLocationsMRU]

[Install]
AddReg=Run.Installed.Components,Registry.WinUpdat e

[Run.Installed.Components]
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,,,"Batc h 98 - General Settings"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,IsInstalle d,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,,,"Bat ch 98 - Advanced Settings"
HKLM,%KEY_INSTALLEDCOMPS%\BatchAdvpack,IsInstall ed,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,,"wup dmgr.exe -shortcut"

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

[Installed.Components.Advanced]
DelFiles=QuickLaunch.Icons
CustomDestination=Custom.Dest

[Custom.Dest]
49050=QuickLinksLDIDSection,5

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

[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://www.msn.com"
HKCU,%KEY_IEXPLORERMAIN%,"First Home
Page",,"http://home.microsoft.com/runonce.asp"
HKCU,%KEY_IEXPLORERMAIN%,"Search
Page",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch"
HKLM,%KEY_IEXPLORERMAIN%,"Search
Bar",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch"
HKCU, "SOFTWARE\Microsoft\Internet
Explorer\Help_Menu_URLs","Online_Support",,"htt p://support.microsoft.com/support"

[Shell.Prep]
HKCU,"Software\Microsoft\Internet
Explorer\Desktop\Components\0",Flags,01,00,00,0 0
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\E xplorer\Shell
Folders",AppData,QuickLaunch,"%25%\Application Data"

[QuickLaunch.Icons]
viewch~1.scf

[DestinationDirs]
QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~ 1

[Strings]
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install OS ?'s DRIFT-O-MATIC Setup & Installation 4 September 7th 04 02:30 AM
How do I reinstall or reformat Windows 98? barry General 8 August 15th 04 04:09 AM
kmixer(01) during install Elizabeth Setup & Installation 6 July 16th 04 05:07 AM
Reformat Windows Ron General 2 July 10th 04 08:26 PM
Install Win98SE over W95b or erase W95b?...and more! Bob G Setup & Installation 2 June 25th 04 09:55 PM


All times are GMT +1. The time now is 10:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.