Hi Rune I haven't checked your links but what we use is the Tfs build server's ability to download the new source from repo, look for all assemblyinfo.cs files and update the version numbers. Then using a wix include file using the variable holding version 1.0.0.0 we update that file and so all installers referring to that include file will get updated appropriately. So far it is working very well for us. We even have an XML file where we store our sprint number in sothat the build server will create a version number in the following format: 1. (sprint).(days since beginning of sprint).(tfs build revision number)
Let me know if this might work for you. I think you can apply this to any CI app. On 20 Jan 2011, at 10:24, Rune Moberg <jjfl...@gmail.com> wrote: > I have googled my eyes out recently, trying to figure out an easy way > of setting my installer's version number to match that of my product. > > I found three alternatives. None of them appeals to me, because they > are either kludgy, involves some kind of plug-in or ...well, kludgy: > > http://morten.lyhr.dk/2007/10/how-to-insert-assembly-version-number.html > (which links to the third option) > http://vsts-fu.blogspot.com/2009/01/injecting-version-numbers-into-wix.html > > My idea is this: When I include a project reference, I get all sorts > of nice variables defined. Target platform - check. TargetDir - check. > Target version... Target version? The one really interesting attribute > of my included project is MIA. > > Is there a possibility this can be included eventually? I suspect this > would prove helpful to quite a few users. > > Or is there already a more elegant solution to this seemingly simple > "problem"? > > Thanks for all the great help so far guys. > > -- > Rune > > --- > --- > --- > --------------------------------------------------------------------- > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how > you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users