summaryrefslogtreecommitdiff
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:55:18 -0500
commitac9b83573b63aa3ffb96eb999ff613596d5ea6e6 (patch)
tree895b0ba9a754088ea63aebdc86c06de9c78d1a68 /contrib
parent19c80199a9973be16cc7c8a5c664a18b179f0179 (diff)
downloadpodman-ac9b83573b63aa3ffb96eb999ff613596d5ea6e6.tar.gz
podman-ac9b83573b63aa3ffb96eb999ff613596d5ea6e6.tar.bz2
podman-ac9b83573b63aa3ffb96eb999ff613596d5ea6e6.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">