简体   繁体   中英

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!!

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM