bootstrapper - How to make the WiX Bundle version the same as my application's version -


the "version" attribute in wix bundle displayed in programs , features. therefore ought same actual application's version number, right?

on assumption should same doesn't seem obvious how have update automatically. i've got msi doing per this question, not bundle/bootstrapper bit. how can make bootstrapper bundle same thing , read msi version number?

to answer first question, there no hard , fast rules this. not must update wix bundle version , match msi version.

as second question, not sure. can try binder variable:

!(bind.packageversion.packageid)  

edit replace packageid element "id" attribute of program installing. like: version="!(bind.packageversion.myappname)"

<msipackage sourcefile="somepath\myappname.msi" id="myappname"/> 

as mentioned in post. check wix documentation more binder variables.

edit 5/11/2017 - looks there confusion around packageid should , have edited answer based on bob lutz answer below.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -