[wix-users] How to disable append of package id to condition variables?
Bob Arnson
bob at firegiant.com
Tue Oct 23 11:03:29 PDT 2018
Maybe we should repost our 10+-year-old blog posts and call them #vintage? #tbt?
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Rob Mensching via wix-users
Sent: Tuesday, 23 October, 2018 13:54
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-users] How to disable append of package id to condition variables?
Use .wixlibs instead? http://robmensching.com/blog/posts/2008/10/10/what-are-.wixlibs-and-why-would-you-use-them/
_____________________________________________________________
Short replies here. Complete answers over there: http://www.firegiant.com/
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of John Stevenson-Hoare via wix-users
Sent: Tuesday, October 23, 2018 5:35 AM
To: wix-users at lists.wixtoolset.org
Cc: John Stevenson-Hoare <John.Stevenson-Hoare at ffei.co.uk>
Subject: [wix-users] How to disable append of package id to condition variables?
I am using WiX Toolset 3.11 from Visual Studio 2017 with WiX Toolset Visual Studio Extension 0.9.21.62588.
I have several WiX projects that build merge modules that are ultimately compiled in to a setup project. Many of the components in the merge modules install a file conditionally based on a property value defined as follows:
<Condition><![CDATA[(SERVER_SELECT_BUTTON=1 OR SERVER_SELECT_BUTTON=3)]]></Condition>
When I link, using light.exe, the process appends the package id to the property value so that the resulting condition in the merge module, as viewed in Orca, looks like the following:
(SERVER_SELECT_BUTTON.AED155B3_E75E_4DCF_BADD_1FC6015C6865=1 OR SERVER_SELECT_BUTTON.AED155B3_E75E_4DCF_BADD_1FC6015C6865=3)
Each merge module uses the same condition, but as the package id differs, I get many similar but clearly different conditions in the final setup project (.msi).
How can I prevent light.exe from appending the package id? My setup project needs the property parts of the conditions to be simply SERVER_SELECT_BUTTON otherwise the files are not installed.
________________________________
[FFEI_Logo_BoxOnly[1].png]<http://www.ffei.co.uk>
CONFIDENTIALITY AND DISCLAIMER NOTICE
This message and any attachment is confidential and is protected by copyright. If you are not the intended recipient, please email the sender and delete this message and any attachment from your system.
Dissemination and or copying of this email is prohibited if you are not the intended recipient. We believe, but do not warrant, that this email and any attachments are virus free. You should take full responsibility for virus checking.
No responsibility is accepted by FFEI Ltd for personal emails or emails unconnected with FFEI Limited's business.
FFEI Limited is a limited company registered in England and Wales (Registered Number: 3244452).
[Join us on Linked In]<http://www.linkedin.com/company/ffei> [Follow @FFEI_ltd] <https://twitter.com/FFEI_ltd> [FFEI YouTube Channel] <http://www.youtube.com/user/FFEIPrintTechnology>
Registered Office: The Cube, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 7DF, England.
____________________________________________________________________
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