I've got an installer I'm building where one of the features is whether
or not one of the installed programs is started at system startup. I'm
putting a value in
HK_CURRENT_USER\Software\Microsoft\Windows\Current Version\Run if this
feature is wanted.

This works fine when installing to a new PC. But what if the install is
a re-install or an upgrade, the previous install had this on, and the
user decides that they no longer want this? How do you set up to delete
the registry value when a feature is off?


Also, is it possible to prime features based on Registry values? I'm
actually also writing a 0 or 1 value to a registry key if a feature is
off or on. On the next install, can I prime the feature settings to the
value of the registry key so the install uses the same feature settings
the user had on the previous install?

Ben
- --
Ben Coleman
CTO, Accelerated Design, Inc.
http://www.accelerateddesign.com/