Skip to content

Commit

Permalink
Add upgrade support to the MSI generator. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane committed Jun 27, 2018
1 parent 3232806 commit 14fe098
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions msi/createmsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ def generate_files(self):
'SummaryCodepage': '1252',
})

ET.SubElement(product, 'MajorUpgrade',
{'DowngradeErrorMessage': 'A newer version of Meson is already installed.'})

if self.bytesize == 64:
package.set('Platform', 'x64')
ET.SubElement(product, 'Media', {
Expand Down

0 comments on commit 14fe098

Please sign in to comment.