bootstrapper - How to uninstall the previous version and install latest version with Wix Bundle -
i'm using wix bundle install chain of msi's , when i'm trying upgrade older version not uninstalling
please me on doing below of scenarios
- how can uninstall previous version before install latest version
- always upgrade latest version, in case can major release or minor release or patch release
there's more uninstalling. first of let's take @ versioning. bundle has version , each of msis has own version. hope when there's time upgrade have upgrade entire bundle without checking each of packages separately, might make bit easier. now, each of msis should have product > upgrade
attribute set , have upgrade
node. values should same. bundle should have attribute upgradecode
. should enough uninstall previous version , install new one.
now, if want show in ui, can go bootstrapper application , subscribe kinds of detect
events. there related upgrade.
here's msi support update:
<product id="*" name="$(var.productname)" language="1033" version="1.0.0.5" manufacturer="$(var.manufacturer)" upgrade="guid_here"> <package installerversion="450" compressed="yes" installscope="permachine" /> <upgrade id="same_guid_here"/>
and burn:
<bundle name="$(var.productname)" version="1.0.0.5" manufacturer="$(var.manufacturer)" upgradecode="another_guid"
so once install packages guids inside, next version detect (using guid) product installed , upgrade.
Comments
Post a Comment