Colin Bleckner wrote:
Yeah you're right, updating the build number is probably a good idea. Does WiX support a way to update build numbers automatically? I'd like to make building my installer as idiot proof as possible so that there are fewer ways I can accidentally screw things up the future. Having to remember to change a version number property before each build sounds like an easy thing to forget. :)

You can pass in a preprocessor variable from your build environment and refer to it as $(var.BuildNumber). You can also use binder variables to get the version number from a file. See http://www.joyofsetup.com/2008/01/13/highlights-of-wix-v303711/.

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to