If you use MSBuild 4.0 and know another property such as the filename you can use the <XMLPeek> element to extract the Id.
Thanks, John -----Original Message----- From: victorwhiskey [mailto:victorhwhis...@yahoo.com] Sent: Wednesday, October 23, 2013 2:29 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How do you bind a version number to a binary with an autogenerated wix component id? 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