[wix-users] Empty WixVariable

Alex Ivanoff alex.ivanoff at ivanti.com
Mon Jan 8 10:50:16 PST 2018


So back to my original question: can I set WixVariable to empty string?


-----Original Message-----
From: Rob Mensching [mailto:rob at firegiant.com] 
Sent: Monday, January 8, 2018 12:43
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

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

build = preprocess + compile + link + bind

_____________________________________________________________
 Short replies here. Complete answers over there: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwIFAg&c=nFCqHnrrxvlLMYTrG_iNtg&r=ehn4KDOoNQKU8FFhhOOToxxpuqGQWkAWqOXxDtLAcj8&m=M5Al25kYAHMp2f9OzZ2j3j8fJGzyXEjWoYx-lbyi6s8&s=rbhUkarfrDwGqKuaBlycFlCPoFI4JV1cAt1gUSGWwMo&e=

-----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 (https://urldefense.proofpoint.com/v2/url?u=http-3A__wixtoolset.org_documentation_manual_v3_xsd_wix_wixvariable.html&d=DwIFAg&c=nFCqHnrrxvlLMYTrG_iNtg&r=ehn4KDOoNQKU8FFhhOOToxxpuqGQWkAWqOXxDtLAcj8&m=M5Al25kYAHMp2f9OzZ2j3j8fJGzyXEjWoYx-lbyi6s8&s=LhZQn0bh7PbEKrqDOkmcrv_NHIIXuu6ZVTbaW9xl3Bo&e=<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 https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwIFAg&c=nFCqHnrrxvlLMYTrG_iNtg&r=ehn4KDOoNQKU8FFhhOOToxxpuqGQWkAWqOXxDtLAcj8&m=M5Al25kYAHMp2f9OzZ2j3j8fJGzyXEjWoYx-lbyi6s8&s=rbhUkarfrDwGqKuaBlycFlCPoFI4JV1cAt1gUSGWwMo&e=<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 https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwIFAg&c=nFCqHnrrxvlLMYTrG_iNtg&r=ehn4KDOoNQKU8FFhhOOToxxpuqGQWkAWqOXxDtLAcj8&m=M5Al25kYAHMp2f9OzZ2j3j8fJGzyXEjWoYx-lbyi6s8&s=rbhUkarfrDwGqKuaBlycFlCPoFI4JV1cAt1gUSGWwMo&e=


More information about the wix-users mailing list