Jump to content

Win98 msbatch.inf not correct. pls help.


Recommended Posts

Posted

Hey all.

I'm nearly done with my win98CD with batch files for silent installing of my commonly used software.

I notice that the only problem i'm having is that my MSBATCH.INF entered all the values in the textboxes, but it stops to ask me to press next/enter at the screen of Username / Computer name, accept some agreement (EULA i think?),

then it's fine after that. Enters the time zona and everything fine.

Could someone pls hav a peak at my msbatch.inf.

Hope you can tell me what i missed out!

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

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

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

[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
ProductKey="A-B-C-D-E"
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=0
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
DevicePath=0
NoDirWarn=0
TimeZone="Nairobi"
Uninstall=0
NoPrompt2Boot=1

[System]
Locale=L0409
SelectedKeyboard=KEYBOARD_00000409

[NameAndOrg]
Name="User"
Org="xCyp"
Display=0

[Network]
ComputerName="Computer"
Workgroup="WORKGROUP"
Display=0
PrimaryLogon=VREDIR
Clients=VREDIR, NWREDIR
Protocols=NETBEUI, NWLINK, NWNBLINK, MSTCP
DefaultProtocol=MSTCP
Services=VSERVER
Security=SHARE

[NWLINK]
Frame_Type=4

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

[NWREDIR]
FirstNetDrive=F:
ProcessLoginScript=1

[VREDIR]
LogonDomain="WORKGROUP"
ValidatedLogon=0

[VSERVER]
LMAnnounce=0
MaintainServerList=2

[OptionalComponents]
"Accessibility Options"=1
"Accessibility Tools"=1
"Briefcase"=0
"Calculator"=1
"Desktop Wallpaper"=1
"Document Templates"=1
"Games"=1
"Imaging"=1
"Mouse Pointers"=1
"Paint"=1
"Quick View"=1
"Windows Scripting Host"=0
"WordPad"=1
"Dial-Up Networking"=1
"Dial-Up Server"=0
"Direct Cable Connection"=0
"HyperTerminal"=1
"Microsoft Chat 2.1"=1
"Microsoft NetMeeting"=1
"Phone Dialer"=1
"Virtual Private Networking"=0
"Baseball"=1
"Dangerous Creatures"=1
"Inside your Computer"=1
"Jungle"=1
"Leonardo da Vinci"=1
"More Windows"=1
"Mystery"=1
"Nature"=1
"Science"=1
"Space"=1
"Sports"=1
"The 60's USA"=1
"The Golden Era"=1
"Travel"=1
"Underwater"=1
"Windows 98"=1
"Desktop Themes Support"=1
"Microsoft FrontPage Express"=1
"Microsoft VRML 2.0 Viewer"=0
"Microsoft Wallet"=0
"Personal Web Server"=0
"Real Audio Player 4.0"=1
"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
"Media Player"=1
"Microsoft NetShow Player 2.0"=1
"Multimedia Sound Schemes"=1
"Sample Sounds"=1
"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"=1
"Additional Screen Savers"=1
"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"=0
"Net Watcher"=1
"System Monitor"=1
"System Resource Meter"=1
"Web TV for Windows"=0
"WaveTop Data Broadcasting"=0

[Printers]

[InstallLocationsMRU]
"C:\WIN98\"

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

[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%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

[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.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://about:blank"
HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://home.microsoft.com/runonce.asp"
HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://home.netscape.com/home/winsearch.html"
HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://home.netscape.com/home/winsearch.html"
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"


Posted

No, there's no mistake anywhere. I can understand what you're saying....

I've noticed that it happens only with OEM CDs. If you use a retail CD, everything will be unattended (without stopping for username/org).

EDIT:

Seems like someone has found a way around this problem, take a look at this topic - click here.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...