[2003] Conditional Registy Sub-key

smpolk

Member
Joined
Nov 22, 2006
Messages
10
Programming Experience
1-3
I have created a sub-key entry for the registry with an empty string value. When I run the installer, it creates the key properly, but when I create an update (same installer, different version), it overwrites the registry entry (entry used to store a user selected path). I am not familiar with writing conditional statements for an installer or registry entry. I have searched the net and cant find a straight forward answer. Can someone help me? This is for a VS.NET 2003 Setup Project.

Basically, if the sub-key exists, i dont want it to create the sub-key and overwrite the string value.

TIA for any help or suggestions.
 
Back
Top