I prefer this pre-build PowerShell script to auto-increment my build 
version.

It gives greater control in how the version is incremented, when it is 
incremented (e.g. Release mode vs Debug mode) and which file(s) to 
actually update with the new version (e.g AssemblyInfo.cs and/or 
Variables.wxi).

http://eldirte.blogspot.com/2013/10/visual-studio-pre-build-event-scripts.html

Hope this helps.
-dirt

On 2013-10-23 17:28, victorwhiskey wrote:
> Currently I'm using
> 
> Version = !(bind.FileVersion.fil1241xxxxxxx)
> 
> to bind the file version number to my MSI, where fil1241xxxxxx is a
> component id I specified. How do I do it when it's generated per 
> build?
> 
> Thanks!
> 
> 
> 
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-do-you-bind-a-version-number-to-a-binary-with-an-autogenerated-wix-component-id-tp7589937.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the 
> most from
> the latest Intel processors and coprocessors. See abstracts and 
> register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to