Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

Windows 95C OSR 2.5 MSBATCH.INF


Recommended Posts

Thanks jaclaz, that second link was extremely helpful. :thumbup

I ended up starting completely over with this. I took one of the sample scripts from the Windows 95 Resource Kit and renamed it MSBATCH.INF, and it worked, so I went from there. Apparently Windows 95 does not recognize MSBATCH.INF properly if there are any sections like [batchSetup] or [Version] above [sETUP] in the script.

So now I have a (for the most part) working MSBATCH.INF.

Now it gets even more crazy. The thing works perfectly except for the [OPTIONALCOMPONENTS] section.

There are 4 items in the Optional Components section that are never checked during Setup, even if I place a 1 after their name in MSBATCH.INF. I took this section directly from SETUPLOG.TXT on a previous install, and I have checked and rechecked the syntax & spelling of their names.

Ill post my file here, maybe someone will see something that I don't.

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

[SETUP]
Express=0
InstallType=3
EBD=0
InstallDir=C:\WINDOWS
ChangeDir=0
NoDirWarn=1
Uninstall=0
ShowEula=0
ProductID=xxxxxxxxxxxxxxxxxxxxxxx
TimeZone="Eastern"

[SYSTEM]
Locale=L0409
SelectedKeyboard=KEYBOARD_00000409

[NAMEANDORG]
Name="LoneCrusader"
Display=0

[NETWORK]
Display=1
Clients=VREDIR
Protocols=NWLINK, NETBEUI, MSTCP
ComputerName=CHANGEME!!!
Description=CHANGEME!!!
Security=SHARE

[MSTCP]
DHCP=1
DNS=0
WINS=DHCP

[NWLINK]
Frame_Type=4

[VREDIR]
ValidatedLogon=0

[OPTIONALCOMPONENTS]
"Accessibility Options"=0
"Accessories"=1
"Audio Compression"=1
"Backup"=1
"Blank Screen"=1
"Briefcase"=0
"Calculator"=1
"CD Player"=1
"Character Map"=1
"Clipboard Viewer"=1
"Communications"=1
"Curves and Colors"=1
"Defrag"=1
"Desktop Wallpaper"=1
"Dial-Up Networking"=1
"Direct Cable Connection"=1
"Disk compression tools"=1
"Disk Tools"=1
"Document Templates"=1
"Flying Through Space"=1
"Games"=1
"HyperTerminal"=0
"Jungle Sound Scheme"=1
"Media Player"=1
"Microsoft Exchange"=0
"Microsoft Fax"=0
"Microsoft Fax Services"=0
"Microsoft Fax Viewer"=0
"Microsoft Mail Services"=0
"Mouse Pointers"=1
"Multimedia"=1
"Musica Sound Scheme"=1
"Mystify Your Mind"=1
"Net Watcher"=1
"Object Packager"=1
"Online User's Guide"=1
"Paint"=1
"Phone Dialer"=0
"Quick View"=1
"Robotz Sound Scheme"=1
"Sample Sounds"=1
"Screen Savers"=1
"Scrolling Marquee"=1
"Sound Recorder"=1
"System Monitor"=1
"System Resource Meter"=1
"The Microsoft Network"=0
"Utopia Sound Scheme"=1
"Video Compression"=1
"Volume Control"=1
"Windows 95 Tour"=1
"WordPad"=1
"Flying Windows"=1
"OpenGL Screen Savers"=1
"Additional Screen Savers"=1
"Desktop Management"=1
"Imaging"=1
"Windows Messaging"=0
"Multimedia Sound Schemes"=1
"Microsoft NetMeeting"=0

[PRINTERS]

Any more suggestions?

Link to post
Share on other sites

I got no experience with Win 95 MSBATCH.INF. All my experience is from 98+, but here're my two wild guesses about what may make a difference, and yet be invisible in plain view. Bear in mind they're just guesses.

There are no blank lines either before or after every section title. Are you sure these blank lines are irrelevant?

The section titles in your file are all fully uppercase... Are you sure the MSBATCH.INF processor is case insensitive?

Link to post
Share on other sites
There are no blank lines either before or after every section title. Are you sure these blank lines are irrelevant?

The section titles in your file are all fully uppercase... Are you sure the MSBATCH.INF processor is case insensitive?

There are blank lines before each section, it should show up that way in the code box, it does on my Firefox?? :unsure:

As for a blank line after, the scripts created by both the 95 and 98 batch tools did not put a blank line there. The scripts I created for 98 and ME worked flawlessly, and this one works now except for these 4 "Optional Components" - all the other optional components work properly. :blink:

I changed all of the section titles to uppercase because the sample 95 scripts used all uppercase section names.

I dunno, at this point I'm willing to try anything :crazy:

** EDIT 1-30-2010 4AM **

Tried adding OptionalComponents=1 to the [sYSTEM] section.

Tried copying and pasting the OptionalComponents section out of SETUPLOG.TXT again.

Tried putting the [OptionalComponents] section in mixed case instead of all uppercase.

Tried all these things together. Still Nothing. This is maddening!

Edited by LoneCrusader
Link to post
Share on other sites

@ LoneCrusader

I have this, tested only win95 b (4.00.950)

[setup]

ProductID=XXXXX-OEM-XXXXXXX-XXXXX

CCP=0

ProductType=1

I have not tried other features, you can copy the functions MSBATCH.INF win98?

Edited by BeatZero
Link to post
Share on other sites
@ LoneCrusader

I have this, tested only win95 b (4.00.950)

[setup]

ProductID=XXXXX-OEM-XXXXXXX-XXXXX

CCP=0

ProductType=1

I have not tried other features, you can copy the functions MSBATCH.INF win98?

Sure, here's a copy of my 98SE MSBATCH.INF

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

[BatchSetup]
Version=3.0 (32-bit)
SaveDate=01/17/10

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

[Setup]
Express=0
InstallDir="C:\WINDOWS"
NoDirWarn=1
InstallType=3
OptionalComponents=1
ShowEula=0
ProductKey="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
EBD=0
Uninstall=0
TimeZone="Eastern"

[System]
Locale=L0409
SelectedKeyboard=KEYBOARD_00000409

[NameAndOrg]
Name="LoneCrusader"
Display=0

[Network]
ComputerName=CHANGEME!!!
Description=CHANGEME!!!
Clients=VREDIR
Protocols=NWLINK, MSTCP
Security=SHARE

[NWLINK]
Frame_Type=4

[MSTCP]
DHCP=1
DNS=0
WINS=D

[VREDIR]
ValidatedLogon=0

[OptionalComponents]
"Accessibility"=0
"Accessibility Options"=0
"Accessibility Tools"=0
"Accessories"=1
"Briefcase"=0
"Calculator"=1
"Desktop Wallpaper"=1
"Document Templates"=1
"Games"=1
"Imaging"=1
"Mouse Pointers"=1
"Paint"=1
"Quick View"=1
"Screen Savers"=1
"Additional Screen Savers"=1
"Flying Windows"=1
"OpenGL Screen Savers"=1
"Windows Scripting Host"=1
"WordPad"=1
"Communications"=1
"Dial-Up Networking"=1
"Dial-Up Server"=0
"Direct Cable Connection"=1
"Hyper Terminal"=0
"Microsoft Chat 2.5"=0
"NetMeeting"=0
"Phone Dialer"=0
"Virtual Private Networking"=1
"Desktop Themes"=1
"Baseball"=1
"Dangerous Creatures"=1
"Desktop Themes Support"=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
"Internet Tools"=0
"Microsoft FrontPage Express"=0
"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
"Multilanguage Support"=0
"Baltic"=0
"Central European"=0
"Cyrillic"=0
"Greek"=0
"Turkish"=0
"Multimedia"=1
"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
"Online Services"=0
"America Online"=0
"AT&T WorldNet Service"=0
"CompuServe"=0
"Prodigy Internet"=0
"The Microsoft Network"=0
"System Tools"=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
"Broadcast Data Services"
"WaveTop Data Broadcasting"=0
"WebTV for Windows"=0
"Internet Connection Sharing"=0
"Dial-Up ATM Support"=0
"Outlook Express"=1
"Address Book"=1
"Macromedia Shockwave"=1

The Locale and Selected Keyboard values in there are set for the US, and of course so is the TimeZone.

Link to post
Share on other sites
@ Lonecrusader, just a curiosity, its intention to create a msbatsch for windows 95, would be to add to the project win95 CPU limit? http://www.msfn.org/board/index.php?showtopic=141402

I created a slipstreamer for this ;-)

Actually the MSBATCH is mainly for my own use, I'm building myself a Multiple-Windows Installation DVD.

I saw your post about the slipstreamer, I hope to get a chance to experiment with it soon. Slipstreaming is way above my head, at least for now. If you can do things like this I might have to give you some other things to slipstream :P haha

Link to post
Share on other sites
I saw your post about the slipstreamer, I hope to get a chance to experiment with it soon. Slipstreaming is way above my head, at least for now. If you can do things like this I might have to give you some other things to slipstream :P haha

ok

give me some feedback ;)

can test some things with the msbatch ... I post here if I have any success

OOPS! 03:32 AM... ZzZzZZzz

Good Night

Link to post
Share on other sites
I saw your post about the slipstreamer, I hope to get a chance to experiment with it soon. Slipstreaming is way above my head, at least for now. If you can do things like this I might have to give you some other things to slipstream :P haha

ok

give me some feedback ;)

can test some things with the msbatch ... I post here if I have any success

OOPS! 03:32 AM... ZzZzZZzz

Good Night

Good Luck, and Good Night

Link to post
Share on other sites
Now it gets even more crazy. The thing works perfectly except for the [OPTIONALCOMPONENTS] section.

There are 4 items in the Optional Components section that are never checked during Setup, even if I place a 1 after their name in MSBATCH.INF. I took this section directly from SETUPLOG.TXT on a previous install, and I have checked and rechecked the syntax & spelling of their names.

This may be part of the problem (specifically names 4 components, which BTW, you didn't specify). Chances are, last time you installed (SETUPLOG.TXT) you didn't use MSBATCH.INF and it worked out ok...
Link to post
Share on other sites
This may be part of the problem (specifically names 4 components, which BTW, you didn't specify). Chances are, last time you installed (SETUPLOG.TXT) you didn't use MSBATCH.INF and it worked out ok...

Eureka! You have found it. :thumbup

Thanks for finding this, it was driving me crazy. The four Optional Components that would not install are:

Audio Compression

Sample Sounds

Sound Recorder

Volume Control

That article suggests a solution, but I don't think it will work for me. It looks like I will have to manually check them during each install, as I always disable or remove the sound card (and NIC, Modem, USB, etc) whenever I install Windows so that I can re-enable or install them one at a time with the correct drivers.

Edited by LoneCrusader
Link to post
Share on other sites
This may be part of the problem (specifically names 4 components, which BTW, you didn't specify). Chances are, last time you installed (SETUPLOG.TXT) you didn't use MSBATCH.INF and it worked out ok...

Eureka! You have found it. :thumbup

Thanks for finding this, it was driving me crazy.

Wow! :blink: Great catch, submix8c! Way to go! :thumbup

Link to post
Share on other sites
  • 1 year later...

sorry for resurrecting this old thread, but I face the same prob as the OP... I created an MSBATCH.INF with the BATCH.EXE program on the win95 OEM OSR2.5 cd , but the bugger won't load!!! Running SETUP.EXE MSBATCH.INF makes no difference, the arguments do not pass on... I even tried LoneCrusader's .inf and it did not load...

here is my inf:

[Setup]
Express=1
InstallDir="C:\WINDOWS"
EBD=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
ProductID=xxxxx-OEM-xxxxxxx-xxxxx
CCP=0
CleanBoot=0
Display=0
PenWinWarning=0
InstallType=3
DevicePath=0
TimeZone="GFT"
Uninstall=0
VRC=0
NoPrompt2Boot=0

[NameAndOrg]
Name="xxx"
Org="zzz"
Display=0

[Network]
Workgroup="WORKGROUP"
Display=1
PrimaryLogon=VREDIR
Clients=VREDIR
Protocols=NETBEUI, NWLINK, MSTCP
Services=VSERVER
IgnoreDetectedNetCards=0
ValidateNetCardResources=1
Security=SHARE

[NWLINK]
Frame_Type=4
NetBIOS=0

[MSTCP]
DHCP=1
DNS=0
WINS=DHCP

[VREDIR]
LogonDomain="WORKGROUP"
ValidatedLogon=1

[VSERVER]
LMAnnounce=1
MaintainServerList=2

[OptionalComponents]
"Accessibility Options"=0
"Briefcase"=0
"Calculator"=1
"Character Map"=1
"Clipboard Viewer"=1
"Desktop Wallpaper"=1
"DMI Mgmt Service Layer"=0
"Document Templates"=0
"Games"=1
"Imaging"=1
"Mouse Pointers"=1
"Net Watcher"=0
"Object Packager"=1
"Online User's Guide"=0
"Paint"=1
"Quick View"=0
"System Mgmt Infrastructure"=0
"System Monitor"=0
"System Resource Meter"=0
"TWAIN 1.6"=1
"Windows 95 Tour"=0
"WordPad"=1
"Dial-Up Networking"=0
"Direct Cable Connection"=0
"HyperTerminal"=1
"Microsoft NetMeeting"=0
"Phone Dialer"=0
"Backup"=0
"Defrag"=1
"Disk compression tools"=0
"Microsoft Fax Services"=0
"Microsoft Fax Viewer"=0
"Audio Compression"=1
"CD Player"=1
"Media Player"=1
"Multimedia Sound Schemes"=0
"Sample Sounds"=0
"Sound Recorder"=1
"Video Compression"=1
"Volume Control"=1
"Additional Screen Savers"=1
"Flying Windows"=1
"OpenGL Screen Savers"=1
"The Microsoft Network"=0
"Internet Mail Services"=0
"Windows Messaging"=0
"Microsoft Mail Services"=0

[Printers]

any ideas what is wrong?

EDIT:

please disregard this, I ended up loading a ms example script, customize it with BATCH and it works fine...

Edited by keropi666
Link to post
Share on other sites

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