[wix-users] Empty WixVariable

Rob Mensching rob at firegiant.com
Mon Jan 8 10:42:43 PST 2018


WixVariables are a "bind" time thing not "compile" time thing. <smile/>

build = preprocess + compile + link + bind

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Alex Ivanoff via wix-users
Sent: Monday, January 8, 2018 8:26 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Alex Ivanoff <alex.ivanoff at ivanti.com>
Subject: Re: [wix-users] Empty WixVariable

I do not think WiX variables have anything to do with MSI. It is compile-time only thing.


From: kaveeshd at gmail.com [mailto:kaveeshd at gmail.com] On Behalf Of Kaveesh Dashora
Sent: Monday, January 8, 2018 01:50
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Alex Ivanoff <alex.ivanoff at ivanti.com>
Subject: Re: [wix-users] Empty WixVariable

I believe empty Wix Variables get deleted when the execution of MSI begins

On Jan 6, 2018 12:35 AM, "Alex Ivanoff via wix-users" <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> wrote:
Sorry for duplicate question, I really need an answer.

According to documentation (http://wixtoolset.org/documentation/manual/v3/xsd/wix/wixvariable.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__wixtoolset.org_documentation_manual_v3_xsd_wix_wixvariable.html&d=DwMFaQ&c=nFCqHnrrxvlLMYTrG_iNtg&r=ehn4KDOoNQKU8FFhhOOToxxpuqGQWkAWqOXxDtLAcj8&m=mKcFCg1DNrs5A2BhArwlNgnGrFcXjx0sPY81jYPSAuc&s=cGrQEAMct0GhIxxveQ5HxHkklusVX5C7Zvwk3zsJ_6M&e=>) WixVariable Value cannot be an empty string.

1. What if I need it to be entry string/null?

2. Settings WixVariable to empty string does not result in error (WiX Toolset v3.11.0.1701). Does it mean the documentation is incorrect and I can rely on this behavior? Or is it a bug that will be fixed in the future versions?

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwMFaQ&c=nFCqHnrrxvlLMYTrG_iNtg&r=ehn4KDOoNQKU8FFhhOOToxxpuqGQWkAWqOXxDtLAcj8&m=mKcFCg1DNrs5A2BhArwlNgnGrFcXjx0sPY81jYPSAuc&s=TYXKBGbkj61TiRdbteYQHMp0OWQSBDJ9CQNwfWhEwqk&e=>

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


More information about the wix-users mailing list