installation - Wix 3.7 Burn - how to do a custom splash screen with dynamic information -


i have wix burn custom installer using managedbootstrapperapplicationhost. want is, have splash screen, version no. don't want change splash screen image everytime update installation. have version no have set in bundle.

how can achieve same, have create own window image , manage splashscreen ? or there other way ?

now don't want change splash screen image everytime update installation.

i agree should done programmatically. me, important end-users have single version label refer when managing software configuration or reporting issues. and, following dry principle, means during build there 1 place should drawn from.

but, since different development , deployment tools , resources, including splash screens, need different formats, find worthwhile invest in build steps create or update places version needed. splash screens, imagemagick can draw text on images. using msbuild (e.g., via bootstrapper .wixproj file), can extract version bundle , draw on splash screen before bundle built.

<target name="stampprojectfileswithversion" beforetargets="compile">   <xmlpeek namespaces="&lt;namespace prefix='wi' uri='http://schemas.microsoft.com/wix/2006/wi'/&gt;" xmlinputpath="bundle.wxs" query="/wi:wix/wi:bundle/@version">     <output taskparameter="result" itemname="bundleversion" />   </xmlpeek>   <xmlpeek namespaces="&lt;namespace prefix='wi' uri='http://schemas.microsoft.com/wix/2006/wi'/&gt;" xmlinputpath="bundle.wxs" query="/wi:wix/wi:bundle/@name">     <output taskparameter="result" itemname="bundlename" />   </xmlpeek>   <message text="@(bundlename) @(bundleversion)" />   <exec command="tools\imagemagick\convert ^        splash-template.bmp ^        -pointsize 18 ^        -draw &quot;text 100,300 'version @(bundleversion)'&quot; ^        -pointsize 24 ^        -draw &quot;text 100,260 '@(bundlename)'&quot; ^        bmp3:splash.bmp" /> </target> 

obviously, should extract version whatever source makes sense in project.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -