If you don't want to generate another file (this is what WiX does), then my new favorite trick is to do:
Product/@Version="!(wix.FileVersion.SomeFileIdInYourMsi)" On Thu, Jan 20, 2011 at 3:31 AM, David Watson <dwat...@sdl.com> wrote: > I should also say that in our build process a list of .cs files are updated > automatically from the master build number. > > -----Original Message----- > From: Rune Moberg [mailto:jjfl...@gmail.com] > Sent: 20 January 2011 11:20 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Setting the version number... > > On Thu, Jan 20, 2011 at 10:21 AM, Dandre <dandre...@gmail.com> wrote: > > 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 > > I was hoping to avoid generating yet another version file. > > The solution I suggested, having the version extracted from the > referenced project, should provide an elegant and self-documenting > solution to this. My hope was that this could be considered for a > future release of WiX. > > -- > 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 > SDL PLC confidential, all rights reserved. > If you are not the intended recipient of this mail SDL requests and > requires that you delete it without acting upon or copying any of its > contents, and we further request that you advise us. > SDL PLC is a public limited company registered in England and Wales. > Registered number: 02675207. > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 > 7DY, UK. > > > > ------------------------------------------------------------------------------ > 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 > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ 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