You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently migrating from WiX 3 to WiX 4. In the MSI installer we use ADDLOCAL for feature selection and also do this from a command line call. There is also a bundle installer for installing the prerequisites for the MSI installer. This also processes ADDLOCAL when the command line is called and passes the value to the MSI installer. <Variable Name="ADDLOCAL" Value="" bal:Overridable="yes" Type="formatted" /> ... <MsiProperty Name="ADDLOCAL" Value="[ADDLOCAL]" />
In WiX 3 this works fine but in WiX 4 this causes error WIX0365: The 'ADDLOCAL' MsiProperty is controlled by the bootstrapper and cannot be authored. (Illegal properties are: 'ACTION', 'ADDLOCAL', 'ADDSOURCE', 'ADDDEFAULT', 'ADVERTISE', 'ALLUSERS', 'REBOOT', 'REINSTALL', 'REINSTALLMODE', or 'REMOVE'.) Remove the MsiProperty element.
What is the proposal to realize this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We are currently migrating from WiX 3 to WiX 4. In the MSI installer we use ADDLOCAL for feature selection and also do this from a command line call. There is also a bundle installer for installing the prerequisites for the MSI installer. This also processes ADDLOCAL when the command line is called and passes the value to the MSI installer.
<Variable Name="ADDLOCAL" Value="" bal:Overridable="yes" Type="formatted" />
...
<MsiProperty Name="ADDLOCAL" Value="[ADDLOCAL]" />
In WiX 3 this works fine but in WiX 4 this causes
error WIX0365: The 'ADDLOCAL' MsiProperty is controlled by the bootstrapper and cannot be authored. (Illegal properties are: 'ACTION', 'ADDLOCAL', 'ADDSOURCE', 'ADDDEFAULT', 'ADVERTISE', 'ALLUSERS', 'REBOOT', 'REINSTALL', 'REINSTALLMODE', or 'REMOVE'.) Remove the MsiProperty element.
What is the proposal to realize this?
Beta Was this translation helpful? Give feedback.
All reactions