Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2002-06-02
6
Medium Priority
?
270 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

604 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