Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Setup Win 98 Question..

Posted on 2000-03-18
3
138 Views
Last Modified: 2013-12-28
I wanted to know, how the Win98 Setup Program checks the Install key... Does it check what YOU enter with a file on the CD or your Hard Drive and either way, how can I find out, how it decides which code are good and which are bad??

I want to know this because I plan on using it in my own program setup....

I will increase point as per a good answer
0
Comment
Question by:jasinski
3 Comments
 
LVL 1

Expert Comment

by:aux5
ID: 2632396
I'd recommend just borrowing the Cd from work and using their code! Or surely you have a pal who has a CD burner, borrow the work cd and burn a copy, note the code that is on the CD case, and your visit to experts-exchange has resulted in a swift resolution!

-coming from someone who has yet to pay for a single Microsoft file, and the guilt's eating me up from the inside - NOT.
0
 

Accepted Solution

by:
MHollinger earned 15 total points
ID: 2632475
Hello. The CD Key verification method that MS uses is hard-coded into the install program itself. It goes through this process:
1. Scans Key for bad characters.
2. Completes a series of mathematical expressions with the key.
3. Checks the results of these expressions with a checksum value.
4. If the result of the expressions does not == the stored checksum, it spits out an error message stating that there is a bad key.

I hope this helps you in your programming endevours.
0
 
LVL 9

Expert Comment

by:joed
ID: 2632487
It performs a check digit routine. I don't know the exact one they use for windows but they work something like this. You take each digit in the code and multipy it by a number then add the numbers up and they should add up to a number that is for example divisible by 9.
for example a 5 digit number
use the mulpliyer number 54321
the number 12346 works like this
1x5=5
2x4=8
3x3=9
4x2=8
6x1=6
total =36
36 divides by 9 with no remainder therfore it is ok.
multiplier coukd be any sequence liek 232323231
This is only one example her are ways to use alpha also. justuse the hex value in your calculation.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Please help me Blue screen window 10 7 67
Disk Cleanup and Temporary Files 15 56
Fatal Error 11 40
PS call executable Files in Order 4 11
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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…

856 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