PDA

View Full Version : How to preserve registry entry



kulprw
12-05-2005, 08:29 PM
I am evaluating IS 11 Express and cannot figure out how to do the following:

My app expects the following structure in the registry:

HKLM -- Software -- MyCompanyName -- Product Name with the following values:

Company [COMPANYNAME]
Username [USERNAME]
Serial _________________

I want to use the value in Serial that is there or create Serial and leave it blank if the Serial is not present.

Every option I try yields a blank value. That makes the user re-enter the serial number every time s/he installs an upgrade. The format I use is not the same as what is in IS 11 Express Help. Is there any way to avoid this without using the serial number format that IS 11 Express expects?