Ah, I was using
  <?define Version="!(bind.FileVersion.MyFile)" ?>
When it should have been
  <?define Version=!(bind.FileVersion.MyFile) ?>

Thanks again Bob.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: 05 June 2008 03:55
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Using AssemblyVersion in the build

Ryan O'Neill wrote:
> Browsing the docs I found the Binder variables and one for
> bind.assemblyVersion.FileID, it looks like I can't use it in the same way
as
> normal properties though as it gets evaluated after the WiX XML has been
> parsed. Has anyone had any experience of using this?
>   

You can use bind-time variables almost everywhere. So, for example, 
<Product Version=" !(bind.FileVersion.fileId)" ...> works fine.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 270.0.0/1484 - Release Date: 04/06/2008
16:40


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to