Thanks, I added the following: <File Id="File.dll" Name="File.dll" KeyPath="yes" Source=File.dll" Assembly=".net"> <AssemblyName Id="fileVersion" Value="!(bind.assemblyFileVersion.File.dll)" /> </File>
But it seems there may be a bug in the evaluation of binder variables with lit/light or wixlibs. When I compile the wixlib it contains fileVersion="!(bind.assemblyFileVersion.File.dll)" which I wouldn't expect, I would have thought it should be evaluated. But maybe it shouldn't and light should resolve it but that doesn't either and the MSI contains fileVersion ="!(bind.assemblyFileVersion.File.dll)". Does this sound like a bug, if so I will report it. Neil -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: 13 July 2008 06:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Assembly file versions in wixlibs It'll look something like: <File Id="yourfileid" Assembly=".net" ...> <AssemblyName Id="WhateverFileVersionIsCalledSinceIAlwaysForget" Value="$(bind.FileVersion.yourfileid)"/> </File> I think. I haven't tried it, but it should work. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users