Solved

Automated Setup

Posted on 1998-08-05
31
188 Views
Last Modified: 2013-12-16
Setup in Win95b always stops for the ProductID  
I tried to enter the OEM in the MSBatch.inf, but it doesn't detect the ProductID.
How can I automate the ProductID, such that I am not prompted for the input.
In the Msbatch I have :
Display=0
ProductType=1
ProductID=XXXXX-XXX-XXXXXXX-XXXXX
0
Comment
Question by:gosowski
  • 14
  • 5
  • 3
  • +7
31 Comments
 

Author Comment

by:gosowski
Comment Utility
Edited text of question
0
 
LVL 2

Expert Comment

by:ryans
Comment Utility
You did verify that the number is right, right?  As a note, if you were to setup from a CD, any number from any CD package will work but a number from a floppy package will not.  Just saying that there is a difference in the CD OEM and the Floppy OEM numbers, they cannot be mixed.
0
 

Author Comment

by:gosowski
Comment Utility
Yes, ryans, I am quite accurate.
0
 
LVL 1

Expert Comment

by:raider187
Comment Utility
Have you used the mspolicy editor?  check out and it will allow to get around that dialog. Have you tried other ways to do your automaion such as Ghost or other disk copying utils

                                                                   Raider
0
 

Author Comment

by:gosowski
Comment Utility
Policy editor is Way off base.  I am looking for a way to bypass the install program from prompting me for the Product ID on a Workstation Install.
0
 
LVL 2

Expert Comment

by:plastic_74
Comment Utility
Try key-in this code "12297-oem-0021981-47296" maybe this will help you out.
0
 
LVL 2

Expert Comment

by:tbaffy
Comment Utility
You should enter the product id in quotes.

Try it like:

ProductID="XXXXX-OEM-XXXXXXX-XXXXX"

first then play with the format.  You may need to drop the OEM part of the code and the dashes. I am sure that it must be in quotes though.


Tom
0
 
LVL 2

Expert Comment

by:tbaffy
Comment Utility
Plastic_74,

You should not give out product id's on this site.  You can get the folks running this site in trouble that way.

0
 

Author Comment

by:gosowski
Comment Utility
plastic_74, thanks,, however,, I have an certified authentic number that works fine if I enter it in manually.  I want it automated so that I don't have to type it in Every Workstation.  
0
 
LVL 1

Expert Comment

by:sherwood
Comment Utility
You need to edit the "ProductType" line in setuppp.inf.
See OSR2 FAQ http://www.compuclinic.com/osr2faq/index.html


0
 

Author Comment

by:gosowski
Comment Utility
Sherwood,,, thanks for the link,, however,,, this method involves more work than entering the ProductID>>>   I am looking for Zero Administration.  But not the Zero Administration Kit, that MS offers for policies.

Thanks for trying,
Gary
0
 
LVL 1

Expert Comment

by:sherwood
Comment Utility
Complete Zero administration is the Holy Grail of all
Windoze administrators.

I've done the above, and indeed it works to the point where
you can do an install without having to come back to the
machine.

A better method uses a package such as Ghost.  Ghost allows
you to create one disk the way you want it, then either clone
it to another disk, or put a compressed image of the disk on
a server.

Ghost then allows you to rebuild a disk by booting off a floppy
with ghost on it, and rebuilding the disk from the server
image.

Problem with ghost is that you will have problems with the
hardware if you have different hardware for different machines.
You essentially have to make a different ghost image for each
hardware configuration.
0
 

Author Comment

by:gosowski
Comment Utility
This does not help my situation,, because of the difference in setup configurations.  I have Ghost already but I am not asking for an image,, instead I need a solution to my original problem,,, Please RE-READ before answering again.

0
 
LVL 2

Expert Comment

by:tbaffy
Comment Utility
gosowski,

Where are you at with this CD-KEY thing?  What I mean is what have you tried?

I am not sure exactly how you get the software to accept the product id for the OEM version, but in the regular version you simply enter the CD-KEY after the equal sign with NO DASHES.  I have never tried to automate the installation of an OEM version but you may be able to enter the CD-KEY with no dashes and the OEM part ommitted.  The entire key is just numbers just like you would enter it at the keyboard.  If your CD key is:

99999-OEM-1111111-22222

Then you would enter the INF file entry as:

ProductID=99999111111122222

A guy that claims to have gotten this to work told me that this was the way.


Tom
0
 

Author Comment

by:gosowski
Comment Utility
tbaffy,,, I have tried several different methods for the ProductID,,, And I will try yours also..  I will let you know how it turns out.  Thanks,,, Gary
0
The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

 

Author Comment

by:gosowski
Comment Utility
tbaffy,,, I have tried several different methods for the ProductID,,, And I will try yours also..  I will let you know how it turns out.  Thanks,,, Gary
0
 

Author Comment

by:gosowski
Comment Utility
tbaffy,,, I have tried several different methods for the ProductID,,, And I will try yours also..  I will let you know how it turns out.  Thanks,,, Gary
0
 

Author Comment

by:gosowski
Comment Utility
tbaffy,, I tried your approach,, but still prompts for the input of the OEM #.
0
 

Expert Comment

by:bmullins
Comment Utility
It must be the last string under the [Setup] header.
0
 
LVL 2

Expert Comment

by:tbaffy
Comment Utility
This is the worst documented line in the entire setup script.  I have gotten this automation to work with Win95 and Win95a, but have never gotten it to work with an OEM version of Win95 (b or c).  Every time I try it I run into the same problem that you have.


Tom
0
 

Expert Comment

by:juslee
Comment Utility
Dear Gosowski,
You can't do that. Sorry. Nobody can use automation with the product ID.

0
 
LVL 1

Expert Comment

by:Mrfixit
Comment Utility
Doesn't work with OSR2, because MS did not provide the netsetup toolwith the "B" version. You should be using the OEM Preinstall kit availble from the OEM ie dell or IBM. If you install the B version in this manner you are violating the license agreement. Although I have heard of setting the product id to 1 will work. Search the iternet and newsgroups for extra help. Be careful you are attempting to break the law.

 
0
 

Author Comment

by:gosowski
Comment Utility
MrFixit,
I am not doing anything un-ethical here.  There is no validation for what you said in the license agreement.  We have a site license for this product, therefore it is perfectly legal according to the site license.  Do not reply to this.
0
 
LVL 1

Expert Comment

by:Mrfixit
Comment Utility
Call Microsoft and ask them the same question you posted. See if they will help you. They told me it was unsupported and to search the web or newsgroups.
Did you try product id =1 in the msbatch.inf
Good luck
0
 
LVL 1

Expert Comment

by:Mrfixit
Comment Utility
Found this on the internet through Yahoo search engine.
Microsoft and Oem will not support this so you are on your own except for people like me that are trying to help people like you.
Do Not reply to this message...
Maybe next time I won't go the extra step to help people in need if I continue to run across people like yourself. Even though you have a site license you are violating the licsence agreement. Because MS did not provide netsetup with the "B" version then how can you use a msbatch.inf unless you use the cab files on the local machine. Stepping down off he soapbox. Your answer is below..
Good luck

create an msbatch.inf with at least these 2 lines:
[Setup]
ProductType=1

Then create an msbatch.xpr with at least this 1 line:
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","ProductId",,""

that's all on 1 line.. w/o spaces.
and yes... there are 2 commas there near the end.
What this does is tell setup, "Here is the product id"..
and there isn't one... you can enter you PID# there if you
want to.  But if you leave it out, setup will generate one
for you, but which will probably void any kind of support
from your OEM.
 

0
 

Author Comment

by:gosowski
Comment Utility
I just spoke with my boss,,, whom was able to resolve the situation by adding a separate inf file called OEM.

This question will closed
0
 
LVL 2

Expert Comment

by:tbaffy
Comment Utility
gosowski,

Could you please give me a little more detail on what was done to fix this situation.  I have tried to do this same type of install a couple of times and ran into the same problem.

From your post I gather that you created a file called oem.inf but what should it contain?


Tom
0
 

Author Comment

by:gosowski
Comment Utility
tbaffy,
I will find the details out tomorrow and post them by Friday this week.
Gary
0
 
LVL 7

Expert Comment

by:linda101698
Comment Utility
I am posting the solution found by gosowski so it can be saved in the previously asked questions.  Please see your customer service question for an explanation.

Linda Gardner
Customer Service @ Experts Exchange

Comment
     From: gosowski
                                    Date: Tuesday, August 25 1998 - 12:40PM PDT

     I just spoke with my boss,,, whom was able to resolve the situation by adding a
     separate inf file called OEM.
0
 

Author Comment

by:gosowski
Comment Utility
linda,  since I answered my own question,,, how do I get my points back?
the detailed solution:
Create a separate file called "OEM.inf"
this file has the following contents:

ProductType=1
ProductID="XXXXX-OEM-XXXXXXX-XXXXX"

The X's being the prduct ID number.
0
 
LVL 7

Accepted Solution

by:
linda101698 earned 100 total points
Comment Utility
I've already added your points back to your account.  I asked you to see the explanation in customer service.  

Copied below is the the explanation I posted in customer service.
Proposed Answer
   From: linda
                                     Date: Saturday, August 29 1998 - 07:00AM PDT

   Thank you for posting the answer at the question.  I have posted your solution as the
   answer so it can be saved in the previously asked questions.  Please provide the
   details on how you did it at the question for the other experts to use.  You can now
   grade the question.

   I added the 100 points you used to post the question back to your account.

   Linda Gardner
   Customer Service @ Experts Exchange
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Several part series to implement Internet Explorer 11 Enterprise Mode
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

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

14 Experts available now in Live!

Get 1:1 Help Now