Are you always going to release using Major Upgrades?  If not, then you need to 
keep the name constant.  That fact is why you don't see many people putting the 
version number in the MSI name.  Not a common request thus not necessarily 
simple to implement.

-----Original Message-----
From: Colin Fox [mailto:greenene...@gmail.com] 
Sent: Tuesday, January 13, 2009 14:36
To: wix-users
Subject: [WiX-users] Getting the version from the Assembly file

Hi everyone.

I'd like go be able to set the version of my application in the assembly.cs
file, and have it used in both the wix file and also in the wix file name.

So if my app is version 1.2.3, I'd like the .msi file to be called
"MyAmazingApp_1_2_3.msi" or something equivalent.

I've seen some articles on the net about pulling an assembly version and
putting it into the wix file but they all seem like giant hacks.

It seems to me that since versions seem to feature so prominently, it makes
sense to integrate them more smoothly into the build system. And you
shouldn't have to set it in more than one place.

How difficult would it be to create another candle varable, such as
$(var.MyProject.Version) ?

Is this something I can add myself, or do I have to jump through those ugly
hoops?

--
Regards,
 cf
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to