Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Product ID verification - can't get to work

Product ID verification - can't get to work

Product ID verification - can't get to work

I am confused about using ProductID. I want it to prevent a user without the right serial number from installing the product (just like the MS Office install discs do.) I put a 9-digit ProductID proerty into my file, and set the PID template to <#########>

When I run the install, it does ask for a product ID. However, it accepts ANY 9-digit number, not only the one I specified in the ProductID property. It will reject shorter or longer numbers though, so it is doing some checking!

What am I doing wrong??

Thanks for your help.

RE: Product ID verification - can't get to work

Yupp, same here... kan anyone post how to write a dll so verify the product id? ...Or is it a better way to do this?


RE: Product ID verification - can't get to work

I fixed it by adding a custom event that checked the string. For instance, in the "Next" command button I put the events

Event: ValidateProductID
Argument: 0
Condition: Serial="123456789"

Event: Custom Dialog
Argument: DialogName that should show
Condition: Serial="123456789"

Although, I don't think this is how it should be done, and of course you have to realize that it only works if your serial number is hardcoded. Luckly for me I could customize this idea this to make my serial numbers work. I too was having the very same issue.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close