setting registry values in setup proj

Giganews Newsgroups
Subject: setting registry values in setup proj
Posted by:  paul moore (paulmoo…
Date: Tue, 4 Sep 2007

I want to set values in the registry but only if they are not already set. So
on an upgrade I dont verwrite the settings the user already has set

I tried

Launch condition REG1=HKLM/Software/Acme/regval1

and the said on the regval1 regsitry value condition = REG1=""

The reg key gets set on first install (good) because REG1==""
The reg key gets removed on second install (bad) because REG1!=""

Setting transitive either way makes no difference (clutching at straws there)