Hi, I'll have to use FileVersionInfo.ProductVersion. FileVersion functions are available but it seems product version functions aren't--maybe I'll submit a patch! Cheers Sean.
-----Original Message----- From: Phil Wilson [mailto:phil.wil...@mvps.org] Sent: 23 July 2013 21:06 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Product Version functions [P] The original reference was to a .cpp file, so I assumed C++ was needed ;) You can use your FileVersionInfo.FileVersion if you insist ;) Phil -----Original Message----- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Tuesday, July 23, 2013 12:59 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Product Version functions [P] Classification: Public Who uses C++ for custom actions? Use C# :) -----Original Message----- From: Phil Wilson [mailto:phil.wil...@mvps.org] Sent: July-23-13 3:53 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Product Version functions If you're referring to file versions, I wouldn't be surprised if it's not made available because it's not that complicated to just call MsiGetFileVersion() and parse the results. http://msdn.microsoft.com/en-us/library/windows/desktop/aa370122(v=vs.85).as px Phil -----Original Message----- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Monday, July 22, 2013 10:04 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Product Version functions Hi, What I need to do is get the product version (major/minor/build/release from a file during a custom action. I could write this, but wondered whether this is already included. Cheers Sean. -----Original Message----- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 23 July 2013 04:40 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Product Version functions Always better to start with what you are trying to accomplish rather than ask a very narrow question with no context. On Mon, Jul 22, 2013 at 3:18 PM, Sean Farrow <sean.far...@seanfarrow.co.uk>wrote: > Hi, > I'm just in the process of writing a custom action, I know file > version functions are in fileutil.cpp/h. Are Product version functions > surfaced by WiX dutil? > Regards > Sean. > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------------- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This message has been marked as Public by Steven Ogilvie on July-23-13 3:59:25 PM. The above classification labels were added to the message by TITUS Message Classification. For more information visit www.titus.com. ---------------------------------------------------------------------------- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users