How do I provide a UI to allow a user to specify an install path using WiX?
-
05-07-2019 - |
Question
I need help with the question above. Also, how can I ensure that the application installs for all users using the machine? I haven't really used WiX before.
Solution 2
Okay, I got the solution. I added the WixUIExtension dll as a reference and then used the following before the project closing tag:
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" ></Property>
<UIRef Id="WixUI_InstallDir"/>
It works perfectly.
OTHER TIPS
You're going to have to read the tutorial. There's just no way around it. It should answer all your questions.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow