user3436977
user3436977

Reputation: 45

Show wix installer conditional UI step

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

Answers (1)

Patrick Allwood
Patrick Allwood

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

Related Questions