File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 <UpgradeVersion Property =" WIX_DOWNGRADE_DETECTED" Minimum =" $(var.ProductVersion)" IncludeMinimum =" no" OnlyDetect =" yes" />
5050 </Upgrade >
5151 <InstallExecuteSequence >
52- <RemoveExistingProducts After =" InstallExecute" />
52+ <!-- RemoveExistingProducts runs BEFORE InstallInitialize to completely remove old version first. -->
53+ <RemoveExistingProducts Before =" InstallInitialize" />
5354 </InstallExecuteSequence >
5455
5556 <!-- New product architectures should upgrade the original x86 product - even of the same version. -->
7475 <Property Id =" MSIFASTINSTALL" Value =" 7" />
7576 <Property Id =" ApplicationFolderName" Value =" Microsoft SDKs\Azure" />
7677 <Property Id =" WixAppFolder" Value =" WixPerMachineFolder" />
78+
79+ <!-- Force reinstall of all files during upgrade -->
80+ <SetProperty Id =" REINSTALLMODE" Value =" amus" Before =" CostFinalize" Sequence =" both" >WIX_UPGRADE_DETECTED</SetProperty >
7781
7882 <Feature Id =" ProductFeature"
7983 Title =" Microsoft Azure CLI"
You can’t perform that action at this time.
0 commit comments