Tutorial :How do I provide a UI to allow a user to specify an install path using WiX?



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:1

You're going to have to read the tutorial. There's just no way around it. It should answer all your questions.


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.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »