[wix-users] Unresolved bind-time variable !(bind.packageDescription.MsiPackageID) is behaving differently from other packageXXXX bindings

Shintaro Takechi devst119 at gmail.com
Thu Feb 28 13:26:09 PST 2019


In the email, I have  var. ADD_THIS with the space between var. and
ADD_THIS but in the actual file, it does not.
Sorry for the incorrect information

On Thu, Feb 28, 2019 at 1:24 PM Shintaro Takechi <devst119 at gmail.com> wrote:

> Yes I do.
> I have a separate msi project but bundle project is very simple.
>
> - *Definitions.wxi*
> <?xml version="1.0" encoding="utf-8"?>
> <Include>
>   <?define PRODUCT_NAME = "!(bind.packageName.WiXSandBoxUI)"?>
>   <?define PRODUCT_VERSION = "!(bind.packageVersion.WiXSandBoxUI)"?>
>   <?define ADD_THIS = "!(bind.packageDescription.WiXSandBoxUI)"?>
> </Include>
>
> - *Bundle.wxs*
> <?xml version="1.0" encoding="UTF-8"?>
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
>      xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
>   <?include Definitions.wxi?>
> <Bundle Name="$(var.PRODUCT_NAME)$(var. ADD_THIS)"
>           Version="$(var.PRODUCT_VERSION)"
>           Manufacturer="test"
>           UpgradeCode="1b244e8d-778b-4056-a155-c59ea3dfbfff"
> DisableModify="yes" DisableRemove="no">
> <BootstrapperApplicationRef
> Id="WixStandardBootstrapperApplication.RtfLicense" />
>
>
>     <bal:Condition Message="This application is only supported on Windows
> 7, Windows Server 2008 R2, or higher.">
>       <![CDATA[(Installed OR (VersionNT64 >= v6.1 ) )]]> <!--OR
> ServicePackLevel>=1-->
>     </bal:Condition>
>
> <Chain>
>       <MsiPackage SourceFile="$(var.WiXSandBox.TargetPath)" Visible="no"
> DisplayInternalUI="yes" Compressed="yes" Id="WiXSandBoxUI"/>
> </Chain>
> </Bundle>
> </Wix>
>
>
>
> On Mon, Feb 25, 2019 at 3:33 PM Blair Murri <osito at live.com> wrote:
>
>> The variable names are case sensitive? Some strange copy-paste issue?
>>
>> Would appear to be a bug. Can you share a minimal repro? Does it happen
>> in any other projects?
>>
>> Get Outlook for Android <https://aka.ms/ghei36>
>>
>> ------------------------------
>> *From:* wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
>> Shintaro Takechi via wix-users <wix-users at lists.wixtoolset.org>
>> *Sent:* Monday, February 25, 2019 2:05:17 PM
>> *To:* WiX Toolset Users Mailing List
>> *Cc:* Shintaro Takechi
>> *Subject:* [wix-users] Unresolved bind-time variable
>> !(bind.packageDescription.MsiPackageID) is behaving differently from other
>> packageXXXX bindings
>>
>> Hi,
>>
>> I am trying to use the !(bind.packageDescription.MsiPackageID) in my
>> bundle
>> just like other available binding variables such as
>> !(bind.packageName.MsiPackageID) or !(bind.packageVersion.MsiPackageID).
>>
>> Even though packageName and packageVersion would not return any error,
>> packageDescription is returning "Unresolved bind-time variable".
>>
>> In the msi, under Package element, I am assigning the Description
>> attribute.
>>
>> I have WiX Toolset v3.11.1.2318.
>>
>> Would anybody have any clue what may cause this?
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
>



More information about the wix-users mailing list