commit cd2a6cf46788509a36fff1a36f1e1158fd82a021 parent b3bd3e72a37a63d7bd47d33241a223bed0690f75 Author: Alexander Kojevnikov <alexander@kojevnikov.com> Date: Fri, 6 May 2011 16:39:49 +0800 win: Fix the upgrade Diffstat:
M | dist/win/spek.wxs.in | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dist/win/spek.wxs.in b/dist/win/spek.wxs.in @@ -16,8 +16,8 @@ <WixVariable Id="WixUIBannerBmp" Value="banner.bmp" /> <WixVariable Id="WixUIDialogBmp" Value="dialog.bmp" /> <Upgrade Id="$(var.UpgradeCode)"> - <UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes" Property="NEWVERSIONDETECTED" /> - <UpgradeVersion Minimum="0.0.0" IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED" /> + <UpgradeVersion OnlyDetect="yes" Minimum="$(var.ProductVersion)" Property="NEWERVERSIONDETECTED" IncludeMinimum="no" /> + <UpgradeVersion OnlyDetect="no" Maximum="$(var.ProductVersion)" Property="OLDERVERSIONBEINGUPGRADED" IncludeMaximum="no" /> </Upgrade> <InstallExecuteSequence> <RemoveExistingProducts After="InstallInitialize" />