You can use "$(bind.FileVersion.IdOfFileToGetFileVersionFrom)" and the linker will fill in that value with the version of the file.
-----Original Message----- From: siaj [mailto:meabrakada...@gmail.com] Sent: Monday, February 09, 2009 17:17 To: wix-d...@lists.sourceforge.net; wix-users@lists.sourceforge.net Subject: [WiX-users] Getting File versions Hello, Is there a way we can find a file version dynamically while deployment ?. I have a dll to be deployed to the GAC and the dll version should be updated in the web.config file of the destination server. The issue is that dll version will change with every build and hence the version number going in web.config should change too. I want the installer to dynamically read the dll version and update the same in the web.config file. I guess I can do it using a vbs CA but was hoping if wix has a better way to do it. Thanks, saij ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users