Solved

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

Posted on 2002-06-02
6
260 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
  • 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 5

Expert Comment

by:dgorin
ID: 7050385
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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
How to install software on a provisioned vagrant image 3 82
Windows Update 22 213
Send outlook email from VBS Script 2 42
VB.NET 2008 Winforms Signing 13 30
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

809 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