diff options
author | Jason T. Greene <jason.greene@redhat.com> | 2022-03-19 19:37:24 -0500 |
---|---|---|
committer | Jason T. Greene <jason.greene@redhat.com> | 2022-03-19 19:37:24 -0500 |
commit | 36ff8f2b38be0bdc26cbc4f25eddf7626b7b9c1f (patch) | |
tree | d27dfa6d7e352212926d72c1ad4f9b206f8902cb /contrib/msi/podman.wxs | |
parent | 978b188f7fc1bbf5faa4b6f4bc522ec7c7eb6a56 (diff) | |
download | podman-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/msi/podman.wxs')
-rw-r--r-- | contrib/msi/podman.wxs | 2 |
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"> |