Link to home
Start Free TrialLog in
Avatar of mwhitworth
mwhitworthFlag for Ireland

asked on

Automated Windows Setup

Ok, so I made a batch file to install Windows95 OSR2, but I still have a few questions I can't seem to get answered -

A. How (and where) do I enter a license key so it does not prompt me each install (it changed from OSR1)?

B. Where can I add registry keys to be installed upon completion?

C. Where can I add option external 3rd party software to be installed as well?

Thanks in advance.
Avatar of rmarotta
rmarotta

What does your batch file do?

Avatar of mwhitworth

ASKER

It's a simple msbatch.ini style batch file which enters all the information for the user so they don't have to select anything (it sets which accessories to be installed, which network drivers to install and their ip's, skips the printer setup, and bypasses the eula).  
ASKER CERTIFIED SOLUTION
Avatar of WinDude
WinDude

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The registry key settings under the [Install] section you posted work great, and it does update the id info after you reboot, but it still asks me for the id when i am installing...
Extract from PRECOPY2.CAB the file SETUPPP.INF, and place it in the directory where your setup & cab files reside.

Edit the file by searching for "Product Type".
Change the entry to read:
ProductType=1

Search the file LAYOUT.INF for the string "SETUPPP.INF".
Change this entry to read:
setuppp.inf=0,,4550

Leave the files in your setup directory when installing, and you won't be asked for a CD Key or Certificate number.

Regards,
Ralph
Any luck with it?
I found the SETUPPPP.INF file and extracted it from the CAB and I edited the SETUP.INF and changed the ProductType, but did not find anything in the LAYOUT.INF file (I also checked LAYOUT1.INF)...

All mine has is...

;LAYOUT.INF
;Disk Layout file for Windows 95 Setup
;Copyright (c) 1993-1995 Microsoft Corporation

[version]
signature="$CHICAGO$"
SetupClass=BASE

[DosAppVersion]
; Version specific files should be listed here
emm386.exe,-1,-1
himem.sys,-1,-1
ramdrive.sys,-1,-1
smartdrv.exe,-1,-1
Even though I did not find that string, the use of the setuppp.inf works great.  Thanks.
You didn't search for "setupp" in the layout.inf file.  Try it using Notepad's Find command.
What you posted is only part of the file's contents. (followed by many blank lines.)
Anyway, I'm glad it worked out for you.
Regards,
Ralph