Draco
Draco

Reputation: 16364

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

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.

Upvotes: 3

Views: 303

Answers (2)

Draco
Draco

Reputation: 16364

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.

Upvotes: 4

i_am_jorf
i_am_jorf

Reputation: 54600

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

Upvotes: 3

Related Questions