visual studio - Get file version of the running exe installer -


i'm using wix application installation , trying add installation build number tfs text in on of dialogs.

all application dll's , installer has build number file version.

i able accomplish getting file version of existing exe(from post: getting file version of native exe in msbuild) but not of running exe.

 <?define property_productversion  = "!(bind.fileversion.uxidtest)" ?>   <product id="$(var.productid)" name="$(var.productdisplayname)" language="1033" version="$(var.property_productversion)" manufacturer="$(var.property_manufacturer)" upgradecode="$(var.productupgradecode)">         <package installerversion="300" compressed="yes" installscope="permachine" installprivileges="elevated" />          <directory id='targetdir' name='sourcedir'>             <directory id='xxx'>                 <component id='ttt' guid='{aa2a781c-2324-4f9c-b96c-dcb5bb643409}'>                    <file id="uxidtest" source="originaldatabase" ></file>                 </component>             </directory> </directory> 

what can use file version of running exe?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -