windows installer - Detecting MajorUpgrade in Wix 3.8 -
i installing new versions of software major upgrades, installations little , of time, files alter anyway.
i skip 1 dialog in installer, if upgrade compared fresh installation done, far have failed figure out conditional (like "installed , patch") in next illustration use.
<publish dialog="verifyreadydlg" control="back" event="newdialog" value="welcomedlg" order="2">installed , patch</publish>
you need show major upgrade element or upgrade elements in wix details, way observe you're doing upgrade utilize upgrade property name. name previousversionsinstalled, if used majorupgrade elements sets property called wix_upgrade_detected.
http://wixtoolset.org/documentation/manual/v3/xsd/wix/majorupgrade.html
that means status in dialog be:
not wix_upgrade_detected
if want suppress dialog. don't want patch because not doing @ related patches.
wix windows-installer wix3 major-upgrade
No comments:
Post a Comment