How to avoid overwriting existing registry value?

Got a problem you cannot solve? Try here.
Post Reply
ra
Posts: 1
Joined: Wed Sep 09, 2009 5:02 pm

How to avoid overwriting existing registry value?

Post by ra »

I'm currently using InstallAware Studio 9, and I don't see any "do not overwrite existing registry value" option.

How do I write a registry value only if no value exists?

Do I need to use MSICode?
neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK

Post by neillans »

You will need to use MSI Code, and add a read registry before the write (and not carry out the write if the read was successful).
Andy Neillans
Post Reply