Reputation: 45
I would like to do this.
Check if a registry key exist. If it does, use the value as installdir. If it doesn't, show UI step to select a path and then use it as installdir but also create a registry key and set the value to the given path. The next time I run the installer the registry key should be found and not show that UI step.
Thankful for any help I can get!!
Upvotes: 0
Views: 157
Reputation: 1832
This is quite a common scenario and known within WiX as the Remember Property pattern.
A good explanation can be found on Rob Mensching's blog
Upvotes: 1