by Markus
2. November 2009 21:45
Building an installation with WiX which should upgrade an installation build with a Visual Studio Deployment Project
Normally the VS Deployment UI let’s the User choose if the product should be installed the all users or only for the current user. If it is installed for the current user and your Wix is setup to install for all Users than the setup will NOT upgrade the previous version. The same problem occurs if it is the other way around.
To control this setting in WiX use the following line in your product.wxs
<!--Tell WiX to install the product for All Users (Not for Current user - Current User would be: ALLUSERS="0")-->
<Property Id="ALLUSERS" Value="1" />
<= Back to Content
732f3061-0873-43d6-89e8-d39c2a583e21|0|.0
Tags: