The008 Posted August 13, 2006 Posted August 13, 2006 I'm having problems to install Win95 unattended. I a batch file (msbatch.inf) to automate the setup process, but I can't get it full unattended. When the system reboots, it asks for network identification and computer name:and I'm using this msbatch.inf:[Setup]EBD=0Express=1InstallType=1PenWinWarning=0ProductID=XXX-XXXXXXXNoPrompt2Boot=1Uninstall=0VRC=1CCP=0[System]DisplChar=16,800,600[NameAndOrg]Name=BlackDisplay=0[Network]ComputerName=BLCKWorkgroup=GroupAm I doing anything wrong ????Thanks guys!
soporific Posted August 14, 2006 Posted August 14, 2006 (edited) this is mine from a Win98 install (the install routines are very similar):; MSBATCH.INF; Windows 98 Seven Years Later Edition; By soporific ~ October 2005; Ver 3.5.01[BatchSetup]Version=3.0 (32-bit)SaveDate=06/14/05[Version]Signature = "$CHICAGO$"AdvancedINF=2.5LayoutFile=layout.inf[Setup]Express=1InstallDir="c:\windows"InstallType=3ProductKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"EBD=0ShowEula=0ChangeDir=0OptionalComponents=1Network=1System=0CCP=0CleanBoot=0Display=0DevicePath=0NoDirWarn=1TimeZone="E. Australia"Uninstall=0NoPrompt2Boot=1[System]Locale=L0C09SelectedKeyboard=KEYBOARD_00000409DisplChar=16,800,600[NameAndOrg]Name="User"Org="none"Display=0[Network]ComputerName="Win98 User"Workgroup="MSHOME"Description="Windows 98 seven years later ed."Display=0PrimaryLogon=WindowsClients=VREDIRProtocols=MSTCPServices=VSERVERSecurity=SHARE[MSTCP]LMHOSTS=0DHCP=1DNS=0WINS=D[VREDIR]LogonDomain="Work"ValidatedLogon=0[VSERVER]LMAnnounce=0MaintainServerList=2[OptionalComponents]"Accessibility Options"=0"Briefcase"=0<<<< snip -- not important >>>>"Web TV for Windows"=0[Printers][InstallLocationsMRU]"C:\Win98\""D:\win98\""E:\win98\""F:\win98\""G:\win98\"[Install]AddReg=OPKInstall,RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.WinUpdate,ExtraApps,IE6[RunOnce.BatchDelay]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_INSTCOMP%\>BatchSetupx,,,">Batch 98 - General Settings"HKLM,%KEY_INSTCOMP%\>BatchSetupx,IsInstalled,1,01,00,00,00HKLM,%KEY_INSTCOMP%\>BatchSetupx,Version,,"3,0,0,0"HKLM,%KEY_INSTCOMP%\>BatchSetupx,StubPath,,"%25%\rundll.exe setupx.dll,InstallHinfSection Installed.Components.General 4 %10%\msbatch.inf"HKLM,%KEY_INSTCOMP%\BatchSetupx,,,"ICW"HKLM,%KEY_INSTCOMP%\BatchSetupx,IsInstalled,1,01,00,00,00HKLM,%KEY_INSTCOMP%\BatchSetupx,Version,,"3,0,0,0"HKLM,%KEY_INSTCOMP%\BatchSetupx,StubPath,,"%24%\progra~1\intern~1\connec~1\icwconn1 /restoredesktopHKLM,%KEY_INSTCOMP%\>BatchAdvpack,,,">Batch 98 - Advanced Settings"HKLM,%KEY_INSTCOMP%\>BatchAdvpack,IsInstalled,1,01,00,00,00HKLM,%KEY_INSTCOMP%\>BatchAdvpack,Version,,"3,0,0,0"HKLM,%KEY_INSTCOMP%\>BatchAdvpack,StubPath,,"%25%\rundll32.exe advpack.dll,LaunchINFSection %10%\msbatch.inf,Installed.Components.Advanced"HKLM,%KEY_INSTCOMP%\>Batchwu,,,">Batch 98 - Windows Update"HKLM,%KEY_INSTCOMP%\>Batchwu,IsInstalled,1,01,00,00,00HKLM,%KEY_INSTCOMP%\>Batchwu,Version,,"3,0,0,0"HKLM,%KEY_INSTCOMP%\>Batchwu,StubPath,,"wupdmgr.exe -shortcut"[Installed.Components.General]AddReg=Browser.Settings, Shell.PrepBitReg=Shell.Settings[DelOEdesktop]setup.ini, progman.groups,, "groupOE=..\..\desktop"setup.ini, groupOE,, """Outlook Express"""[Installed.Components.Advanced]DelFiles=OLS.Icons, QuickLaunch.IconsCustomDestination=Custom.DestRunPostSetupCommands=DirCleanup[Custom.Dest]49070=DesktopLDIDSection,549050=QuickLinksLDIDSection,5[DesktopLDIDSection]HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",Desktop,OLSFolder,"%25%\Desktop"[OLS.Icons]americ~1.lnkat&two~1.lnkcompus~1.lnkprodig~1.lnkthemic~1.lnkaboutt~1.lnkabouto~1.txtservices.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,00HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00[Registry.WinUpdate]HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDevMgrUpdate,0x10001,0HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,0[Browser.Settings]HKCU,%KEY_IE_MAIN%,"Start Page",,"about:blank"HKCU,%KEY_IE_MAIN%,"First Home Page",,"about:blank"HKCU,%KEY_IE_MAIN%,"Search Page",,"http://www.google.com.au/ie/"HKCU,%KEY_IE_MAIN%,"Search Bar",,"http://www.google.com.au/ie/"HKCU,%KEY_IE_HELP%,,"Online_Support",,"http://support.microsoft.com/support"[Shell.Prep]HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer,ShellState,1,1C,00,00,00,20,08,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,0A,00,00,00HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,01,00,00,00HKCU,"Software\Microsoft\Internet Explorer\main",Show_ChannelBand,0,"no"[Shell.Settings]HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,0,20,1HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer,ShellState,1,40,4[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]OLS.Icons=49070,Online~1QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1[Strings]Key_RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"KEY_RUNONCESETUP="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\Setup"KEY_INSTCOMP="SOFTWARE\Microsoft\Active Setup\Installed Components"KEY_IE_MAIN="SOFTWARE\Microsoft\Internet Explorer\Main"KEY_IE_HELP="SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs"KEY_CURR_VER="SOFTWARE\Microsoft\Windows\CurrentVersion"KEY_EXPLORE="SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer"OnlineLong="Online Services"[OPKInstall]; This gets you past the EULA stageHKLM,%KEY_CURR_VER%,"ProductId",,"16305-OEM-0088921-12491"HKLM,%KEY_CURR_VER%,"ProductKey",,"XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"HKLM,%KEY_CURR_VER%,"RegisteredOwner",,"User"HKLM,%KEY_CURR_VER%,"RegisteredOrganization",,"none"; This gets you past the password stageHKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Network\Real Mode Net","autologon",1,00000000[ExtraApps]HKLM,%KEY_RUNONCESETUP%,"Applications from this millenium",,"C:\win98\@Launch.bat @DoMenu.bat"[IE6]; Installs IE 6 sp1 at the end of saving config settingsHKLM,%KEY_RUNONCE%,"Internet Explorer 6.0 SP1",,"C:\Win98\@Launch.bat @DoMenu.bat"; Always make sure your .inf, .bat and .reg files have at least one carriage return; at the end or the file may just not work at all. For Reg files, none of it will work.; No wonder NASA space missions fail with just one wrong hyphen. Edited August 22, 2006 by soporific
The008 Posted August 19, 2006 Author Posted August 19, 2006 I tried changing the InstallType to 3, but didn't work either.
soporific Posted August 21, 2006 Posted August 21, 2006 I tried changing the InstallType to 3, but didn't work either.In Win98, there is a utility you can use to make your own msbatch.inf file, there maybe a similar one you can use for Win95. Its called batch98 and its in the resource developers pack. Hope this helps ...
jaclaz Posted August 21, 2006 Posted August 21, 2006 Did you try to put quotes to the names:[Network]ComputerName=BLCKWorkgroup=Groupshould be:[Network]ComputerName="BLCK"Workgroup="Group"jaclaz
MDGx Posted August 22, 2006 Posted August 22, 2006 In my experience quotes or no quotes don't matter if there are no spaces after the equal sign.But quotes do matter [crackers do matter = nod to Farscape] if there are any spaces.This is valid for all INF files.Hope this helps.
The008 Posted August 24, 2006 Author Posted August 24, 2006 there are no spaces in the end of the lines, but tomorrow I'll try putting quotes and see what happens.I created unattended installations for Windows 98 too, but I hadn't problems, and I'm not sure if I can make a FULL unattended installation for Win95. Anybody got a Full Unattended Win95 Setup? 'cause we can compare the MSBATCH's...Thanks guys
MDGx Posted August 29, 2006 Posted August 29, 2006 (edited) If quotes are only at the end of the line, SETUPX.DLL/ADVPACK.DLL will NOT correctly interpret them.Quotes must be put both at the begining and at the end of the line.Example:[Version]Signature=$CHICAGO$[DefaultInstall]AddReg=AR[AR]HKU,".Default\Software\Microsoft\Windows Script Host\Settings",DisplayLogo,0x00010001,0HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\EXPLORER.EXE",,,"%10%\EXPLORER.EXE"HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\EXPLORER.EXE",Path,,"%10%"[sourceDisksNames]1=,,0Or this...Correct:[Network]ComputerName="BLCK"Workgroup="Group"Correct:[Network]ComputerName=BLCKWorkgroup=GroupIncorrect:[Network]ComputerName=BLCK"Workgroup="GroupHTH Edited August 29, 2006 by MDGx
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now