Hi,
I have a user defined property, PROP1, wich is linked to a simple edit control and it gets stored in registry when installing. This registry setting is preserved when uninstalling so that if you install again the preserved registry setting is read and stored to PROP1 (by doing a registry search). This way the user dont need to type in the property again if the same value is wanted for the property (but it can also be changed by typing something else in the control).
This works alright except that if the user decides to do a quiet installation and set the property like:
install.msi /quiet /PROP1=Value123
If a previous value exists in registry it will be stored to PROP1 (by the registry search) but the user wanted Value123 in this case.
So what I want I guess is a conditional registry search (only do the search if not running a quiet install), but I dont see a way to do that (not able to set any conditions).
Any other way of solving this?
FOLLOW US
Get the latest news in Application Packaging