summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-25 09:15:17 +0100
committerGitHub <noreply@github.com>2022-03-25 09:15:17 +0100
commit05f083461047d0b5425e22334e8259038a51492e (patch)
tree608bacd0da739b4c59e3da45f43791a59342607e
parente46c88618365746e736fd40fb2e2776dd12ef257 (diff)
parentac9b83573b63aa3ffb96eb999ff613596d5ea6e6 (diff)
downloadpodman-05f083461047d0b5425e22334e8259038a51492e.tar.gz
podman-05f083461047d0b5425e22334e8259038a51492e.tar.bz2
podman-05f083461047d0b5425e22334e8259038a51492e.zip
Merge pull request #13568 from n1hility/upgrade-v4.0
[v4.0] Add Windows installer support for upgrades
-rw-r--r--contrib/msi/podman.wxs2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/msi/podman.wxs b/contrib/msi/podman.wxs
index c4ba623c0..786465589 100644
--- a/contrib/msi/podman.wxs
+++ b/contrib/msi/podman.wxs
@@ -13,6 +13,8 @@
<Package Id="*" Keywords="Installer" Description="Red Hat's Podman $(var.VERSION) Installer" Comments="Apache 2.0 License" Manufacturer="Red Hat Inc." InstallScope="perMachine" InstallerVersion="200" Compressed="yes"/>
<Media Id="1" Cabinet="Podman.cab" EmbedCab="yes"/>
+ <!-- Switch to AllowDowngrades="yes" when msitools is released with commit dde7dd2f -->
+ <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed. Uninstall first to downgrade."/>
<Property Id="DiskPrompt" Value="Red Hat's Podman $(var.VERSION) Installation"/>
<Directory Id="TARGETDIR" Name="SourceDir">