[wix-users] How to resolve warning CNDL1149

Bob Arnson bob at firegiant.com
Thu Aug 3 18:11:32 PDT 2017

Use feature conditions in the MSI with properties passed in by the bundle.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Andreas Hirth
Sent: Friday, 28 July, 2017 03:51
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; Kyle O'Connor <kyle.oconnor at princetonidentity.com>
Subject: Re: [wix-users] How to resolve warning CNDL1149

This is still an open question and I am also looking for a qualified answer.

There is a similar question on Stack Overflow
that has no accepted answer yet. But there is a comment pointing to the commit
and the related bug (https://github.com/wixtoolset/issues/issues/5294)
that led to this change. So originally it was about disallowing "ACTION", "ALLUSERS", "REBOOT", "REINSTALL", "REINSTALLMODE", which just did not work as expected before. In the process of getting it right Bob Arnson added ADDLOCAL, ADDSOURCE etc. to the list of disallowed properties.

So maybe Bob or Rob could clarify the reasons for the additional constaints and also tell us: what is the right way for users of the WixStdBa to control the feature selection for the MSI packages in their Bundles if not by setting the ADDLOCAL MsiProperty?


Am 26.07.2017 um 01:26 schrieb Kyle O'Connor:
> I just upgraded to Wix Toolset v3.11.0.1701 and now I am getting the following warnings in my project:
> warning CNDL1149: 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. This restriction will be enforced as an error in WiX v4.0.
> I’m using the WixStdBa and the vendor of the MSI Package I’m trying to install instructs me to use ADDLOCAL to specify what components will be installed.
> What is the correct way to resolve this warning?
> Thanks,
> Kyle
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list