VS Installer - Validation of PIDKEY & persistence for post-installation use
Posted on 2002-06-02
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?