Hello,
InstallAware Developer does everything I need except I can't figure a way to conditionally write registry keys. If the key exists, I don't want to overwrite the factory default value.
I haven't tested this to see if the presence of the key makes the install doesn't overwrite, but is there a way to acoomplish this?
Conditionally writing registry keys
Conditionally writing registry keys
James Carlburg
http://www.softwaremotif.com
http://www.softwaremotif.com
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Easy - just use Read Registry or Check Registry to see if the key exists, and then use an If...End block to prevent writing your own keys if so.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
CandiceJones wrote:Easy - just use Read Registry or Check Registry to see if the key exists, and then use an If...End block to prevent writing your own keys if so.
Could I request an enhancement that would add this checking to the internals of the write command? We have a legacy application that has about 350 registry items. Adding the wrapper via scripting makes the script rather large and very hard to read. Most programs are not this bloated in the registry, but I've always found that multiple, single line if commands annoying to work with.
Who is online
Users browsing this forum: No registered users and 36 guests