Solved

Windows 95 Unnattended install from CD ROM

Posted on 2004-09-18
7
1,011 Views
Last Modified: 2013-12-16
I'm trying to do an unattended install of Windows 95 from CD ROM. I have a slight problem, however. When setup initailly begins I get :

     -------------------

Please wait while Setup initializes.

Setup is now going to perform a routine check on your system.

To continue, press ENTER. To quit Setup, press ESC.

     -------------------

As it states, this waits for the Enter key to be pressed.

Also, when it gets to the point of entering the Product ID I get :

     -------------------

The Certificate of Authenticity number you entered is not valid.

Number entered:        -OEM--

You cannot complete setup without it............

     -------------------

I am using the following msbatch.inf file :

     -------------------

[BatchSetup]
Version=2.3 (32-bit)
SaveDate=09/16/04

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

[System]
DisplChar=16,640,480
MultiLanguage=English
Locale=L0809
Keyboard=PC_AT_Enh_Inst
Monitor=*PNP09FF
SelectedKeyboard=KEYBOARD_00000809

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

[Network]
Display=0
PrimaryLogon=Windows
Protocols=NETBEUI, NWLINK
IgnoreDetectedNetCards=0
ValidateNetCardResources=1
Security=SHARE

[NWLINK]
Frame_Type=4
NetBIOS=0

[OptionalComponents]
"Accessibility Options"=0
"Briefcase"=0
"Calculator"=1
"Character Map"=1
"Clipboard Viewer"=1
"Desktop Wallpaper"=0
"DMI Mgmt Service Layer"=0
"Document Templates"=1
"Games"=0
"Imaging"=1
"Mouse Pointers"=0
"Net Watcher"=0
"Object Packager"=0
"Online User's Guide"=0
"Paint"=1
"Quick View"=1
"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"=0
"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"=1
"Sample Sounds"=1
"Sound Recorder"=1
"Video Compression"=1
"Volume Control"=1
"Additional Screen Savers"=0
"Flying Windows"=0
"OpenGL Screen Savers"=0
"The Microsoft Network"=0
"Internet Mail Services"=0
"Windows Messaging"=0
"Microsoft Mail Services"=0

[Printers]

     -------------------

executed via the following command line :

     -------------------

CODE
D:\SETUP /IW C:\MSBATCH.INF

     -------------------

Some parts of the script are working but not all. For instance, other than the 2 points mentioned above the installation continues automatically however, Clipboard view not Audio Compression are installed, no network protocols are installed (there may be other bits). This is the first installation script I have seen let alone messed with so it might be something really simple but for the life of me I can't see what it is.

Why is it stopping at these points, not installing all the things it should and how can I fix it ?

Any help would be greatly appreciated

Thanks in advance

TSSTechie
0
Comment
Question by:TSSTechie
  • 5
7 Comments
 
LVL 10

Accepted Solution

by:
For-Soft earned 500 total points
Comment Utility
Try to use /is switch with setup.exe. This should switch off initial Scandisk.

Try to replace
ProductID="*****-OEM-*******-*****"
with a valid product number.
0
 

Author Comment

by:TSSTechie
Comment Utility
Howdy,

Sorry, I thought I had posted a comment to clear up the potential confusion over the productID. I must be going mad. I am using a valid product number. I just thought it might not be the best idea to broadcast it to the world. Each asterisk in my first post represents one letter/number from the actual product number on the CD case. If I type this product number in manually when prompted, it works perfectly.

Now to your point about scandisk. I was rather hoping to avoid disabling scandisk, simply make it run uninteractively. If this is not possible then I will do as you suggest and disable it.

Thanks very much for the reply

Look forward to hearing any other ideas

TSSTechie
0
 
LVL 10

Expert Comment

by:For-Soft
Comment Utility
Did you try to use /iw switch instead of /IW ?
0
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
LVL 10

Expert Comment

by:For-Soft
Comment Utility
I've foud /ih switch. It should run scandisk in the "foreground".
0
 
LVL 10

Expert Comment

by:For-Soft
Comment Utility
/ih does not work.
0
 
LVL 10

Assisted Solution

by:For-Soft
For-Soft earned 500 total points
Comment Utility
There is an other way to install Windows 95/98.

It is possible to backup installed windows version, and then to restoer it.

I'm using this system myself. To backup a working windows is to make a copy of Windows and Program Files folders.
To restore a working copy directly from DOS it is necesary to restore all short file names from Windows directory and it's subdirectories.
Long file names are restored during windows boot by winstart.bat file.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now