In your WiX file specify [EMAIL PROTECTED]"$(var.ProductVersion)", and then you would need a build script to get the version out of your DLL and call e.g. "candle file.wxs -dProductVersion=1.2.3" In Make you could put it into a VERSION variable and call "candle file.wxs -dProductVersion=$(VERSION)"
Rob ChrisChambers wrote: > Hi, > > We would like to assign the version of a DLL in one of the components to the > product version. This would mean we didn't have to change the Installer > each time we rebuilt the product. We thought we might be able to get the > version out of the file and assign it to a property but we're struggling to > find a way to do it. > > Does anybody have any ideas? > > Thanks for your time. > > Chris Chambers. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users