Jump to content

Help! Problems with batch98


Recommended Posts

Posted

Using batch98 and some batch files I obtained a quasi-unattended installation of windows 98 SE...

the trouble is: windows setup does not fully automate the NameAndOrg section of msbatch.inf.

I mean... the setup pauses asking for User and Org. Names...

I find my default User and Org already written in text boxes, but I have to manually click next to get the setup running... also, it asks me to accept the license agreement.

My msbatch.inf file contains the following:

; MSBATCH.INF

;

; Copyright © 1995-1998 Microsoft Corporation.

; All rights reserved.

;

[batchSetup]Version=3.0 (32-bit)

SaveDate=09/11/06

[Version]

Signature = "$CHICAGO$"

AdvancedINF=2.5

LayoutFile=layout.inf

[setup]

Express=1

InstallDir="c:\win98"

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=L0410

SelectedKeyboard=KEYBOARD_00000410

[NameAndOrg]

Name="Admin"

Org="NONE"

Display=0

[Network]

ComputerName="ATK10"

Workgroup="WORKGROUP"

Description="DESCRIPTION"

Display=0

PrimaryLogon=VREDIR

Clients=VREDIR

Protocols=MSTCP

Security=SHARE

[MSTCP]

LMHOSTS=1

LMHOSTPath="c:\win98\lmhosts"

DHCP=1

DNS=0

WINS=D

[VREDIR]

LogonDomain="WORKGROUP"

ValidatedLogon=0

[OptionalComponents]

"Opzioni di accesso facilitato"=1

"Strumenti di accesso facilitato"=0

"Sincronia file"=0

"Calcolatrice"=1

"Sfondo"=0

"Modelli di documento"=1

"Giochi"=0

"Imaging"=1

"Puntatori del mouse"=0

"Paint"=1

"Anteprima"=1

"Windows Scripting Host"=1

"WordPad"=1

"Rubrica"=1

"Supporto ATM per Accesso remoto"=1

"Accesso remoto"=1

"Server di Accesso remoto"=0

"Connessione diretta via cavo"=1

"HyperTerminal"=0

"Microsoft Chat 2.5"=0

"NetMeeting"=0

"Connessione telefonica"=1

"Rete privata virtuale"=0

"Il baseball"=0

"Animali"=0

"All'interno del computer"=0

"La giungla misteriosa"=0

"Leonardo da Vinci"=0

"Windows 98 Plus!"=0

"Mistero"=0

"Natura"=0

"Scienza"=0

"Lo spazio infinito"=0

"Sport"=0

"Gli anni '60 in USA"=0

"Gli anni '40"=0

"Viaggi"=0

"Il mondo sommerso"=0

"Windows 98"=0

"Condivisione connessione Internet"=0

"Microsoft Wallet"=0

"Personal Web Server"=1

"Pubblicazione guidata sul Web"=1

"WBEM Management"=0

"Microsoft Outlook Express"=1

"Baltico"=0

"Centroeuropeo"=0

"Cirillico"=0

"Greco"=0

"Turco"=0

"Compressione audio"=1

"Lettore CD"=1

"Macromedia Shockwave Director"=1

"Macromedia Shockwave Flash"=1

"Combinazioni suoni multimediali"=0

"File audio di esempio"=0

"Registratore di suoni"=1

"Compressione video"=1

"Controllo volume"=1

"Altri tipi di screen saver"=0

"Logo"=1

"Screen saver OpenGL"=0

"Backup"=1

"Mappa caratteri"=1

"Visualizzatore Appunti"=1

"Utilità di compressione dischi"=0

"Convertitore di unità (FAT32)"=1

"Criteri di gruppo"=0

"Analizzatore di rete"=1

"Monitor di sistema"=1

"Misuratore risorse di sistema"=1

[Printers]

[installLocationsMRU]

"c:\win98.set\"

[install]

AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,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%\>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

UpdateInis=DelOEQuick.Links

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

connes~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.it"

HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://home.microsoft.com/runonce.asp"

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

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

so what's wrong???

Thank Youuuu.


Posted

Leo128, I see this is your first post, so welcome.

the one about the Eula (license) should be this:

ShowEula=0 ; Automatically agree to the terms specified in the

; End User License Agreement and do not display it.

and the one about user/Org should be this:
[NameAndOrg]

Name="Pilar"

Org="Widgets"

Display=0

And they seem right in your posted list.

You really should use the search function of the board however, check info posted here:

http://www.msfn.org/board/index.php?showtopic=35349

http://www.msfn.org/board/index.php?showtopic=40303

It is possible that you are using an "OEM" version rather that a "Full" one, see these:

http://www.msfn.org/board/index.php?s=&amp...st&p=157482

http://www.msfn.org/board/index.php?showtopic=21230

jaclaz

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...