?
Solved

VS Installer - Validation of PIDKEY & persistence for post-installation use

Posted on 2002-06-02
6
Medium Priority
?
267 Views
Last Modified: 2013-11-14
In the UserNameForm, I collect the Serial number for my application. I understand that after passing validation it appears in the PIDKEY property.

The first part of the question is:
How do I change the validation action to my own validation method ? The default method only checks the entire string (8 characters) is complete. I have a product code and a few check digits which I have to calculate. Also - can this validation action be understood by someone opening the MSI file with Orca, thus breaking my protection ?

Next, I need to store this information so that my application can find it later. I normally assume that it should go to the registry, but at this point, I don't care where I'll have to send the application to find it. (Even the event log if necessary!)

If you do not know if how, or if this is not possible, please don't bother suggesting Installshield or others.

P.S. Is there any documentation in between the worthless "How to find and click the "Save" option from the menu" and the Platform SDK's api functions for this tool?
0
Comment
Question by:Monchanger
[X]
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
  • 4
6 Comments
 
LVL 4

Author Comment

by:Monchanger
ID: 7049997
Never mind the PIDKEY persistence - I found that out. The installation writes it down under a subdirectory of HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall which is named after the Product Code GUID (as seen in the menu - Project => Properties => "Product Information" tab => "Product Code")

I'm still searching for validation info ...
0
 
LVL 4

Author Comment

by:Monchanger
ID: 7050400
dgorin - Yeah, I've been through all the MS propaganda. I'm not really getting started with it. Just finding new ways for it to kick me in the butt.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Author Comment

by:Monchanger
ID: 7050628
Never mind.
I decided to take the serial number in my software and validate it there.

I hate those things anyway :-)
0
 
LVL 4

Author Comment

by:Monchanger
ID: 7050631
Oops. Never deleted a question before (stupid newbies ... ;-)
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 7081674
Once comments have been added, you cannot delete a question without a request in Community Support with the question link and your request.  Prior to deleting, it is always fair to give any participants a 3 day notice of your intentions to delete and why.  The actions you took here "pended" this item for deletion, but won't clear.

Since you posted the solution you found, rather than deleting this, I have refunded your 200 points to you for this question and moved it to our PAQ (Previously Asked Questions database) where it can help others.


Item closed.

Moondancer - EE Moderator
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

765 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