By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,289 Members | 1,486 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,289 IT Pros & Developers. It's quick & easy.

Windows Installer Registry Setting Properties

P: n/a

How exactly do you use the condition property to tell the installer not to
overwrite changed registry values?

Initially, I want certain registry values within a given key set to the
value contained within the registry view (right click the install project
and navigate to View->Registry). However, if the user runs the setup.exe
again, I don't want the registry values to be overwritten if they have been
changed. Thus, I am trying to figure out how to use the condition property
to prevent this from happening.

For example, I want the following registry key value created if it does not
exist when the setup.exe is run:
Value: SocketIP = ""

However, if the user changes the value of SocketIP to "", I do
not want the value overwritten if the user needs to rerun the setup.exe to
repair the installation.

This doesn't work:

Any help will be appreciated....


Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.