[wix-users] unable to make AssemblyFileVersion work

Rob Mensching rob at firegiant.com
Fri Jan 22 09:20:06 PST 2016


That is a bind variable not a bind path. <smile/>  Yes, it should work but the "assemblyFileVersion" bind data is only available if the assembly is marked Assembly=".net". It's  small weakness in .NET related bind variables, the binder doesn't get all .NET related data since it can be expensive.

_____________________________________________________________
 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 Phill Hogland
Sent: Friday, January 22, 2016 6:57 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] unable to make AssemblyFileVersion work

I did not post Brannon's sample code in the last post, but Rob are you indicating that the following code using a name bindpath for Product/@Version should work?
    <Product
        Id="..."
        Name="MyStuff"
        Language="1033"
        Version="!(bind.assemblyFileVersion.filMobiusExe)"
        Manufacturer="Autonomous Solutions, Inc."
        UpgradeCode="...">

Thanks for setting me straight, and sorry for any confusion.
Phill



More information about the wix-users mailing list