[wix-users] How to resolve warning CNDL1149

Andreas Hirth a_hirth at foxitsoftware.com
Fri Jul 28 00:51:08 PDT 2017


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

There is a similar question on Stack Overflow 
(https://stackoverflow.com/questions/43917865/how-to-pass-addlocal-parameter-from-wix-standard-bootstrapper-to-a-msipackage) 
that has no accepted answer yet. But there is a comment pointing to the 
commit 
(https://github.com/wixtoolset/wix3/commit/defd78e8a7e37a3b9b36cfaf6dec2af68344d202) 
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?

Thanks!
Andreas


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/





More information about the wix-users mailing list