aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJason T. Greene <jason.greene@redhat.com>2022-03-19 19:37:24 -0500
committerJason T. Greene <jason.greene@redhat.com>2022-03-19 19:37:24 -0500
commit36ff8f2b38be0bdc26cbc4f25eddf7626b7b9c1f (patch)
treed27dfa6d7e352212926d72c1ad4f9b206f8902cb /contrib
parent978b188f7fc1bbf5faa4b6f4bc522ec7c7eb6a56 (diff)
downloadpodman-36ff8f2b38be0bdc26cbc4f25eddf7626b7b9c1f.tar.gz
podman-36ff8f2b38be0bdc26cbc4f25eddf7626b7b9c1f.tar.bz2
podman-36ff8f2b38be0bdc26cbc4f25eddf7626b7b9c1f.zip
Add Windows installer support for upgrades
Fixes duplicate installer entries after multiple installs Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
Diffstat (limited to 'contrib')
-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">