mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-06 05:31:48 +02:00
Compare commits
3 commits
d531dbb7e8
...
ecfdf61edc
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ecfdf61edc | ||
![]() |
2706080bc8 | ||
![]() |
a33e870915 |
1 changed files with 7 additions and 4 deletions
|
@ -152,10 +152,6 @@ def main():
|
|||
Id="ARPURLINFOABOUT",
|
||||
Value="https://freedom.press",
|
||||
)
|
||||
ET.SubElement(
|
||||
package_el, "ui:WixUI", Id="WixUI_InstallDir", InstallDirectory="INSTALLFOLDER"
|
||||
)
|
||||
ET.SubElement(package_el, "UIRef", Id="WixUI_ErrorProgressText")
|
||||
ET.SubElement(
|
||||
package_el,
|
||||
"WixVariable",
|
||||
|
@ -174,6 +170,13 @@ def main():
|
|||
DowngradeErrorMessage="A newer version of [ProductName] is already installed. If you are sure you want to downgrade, remove the existing installation via Programs and Features.",
|
||||
)
|
||||
|
||||
# Add The UI element
|
||||
ui_el = ET.SubElement(package_el, "UI")
|
||||
ET.SubElement(
|
||||
ui_el, "ui:WixUI", Id="WixUI_InstallDir", InstallDirectory="INSTALLFOLDER"
|
||||
)
|
||||
ET.SubElement(ui_el, "UIRef", Id="WixUI_ErrorProgressText")
|
||||
|
||||
# Workaround for an issue after upgrading from WiX Toolset v3 to v5 where the previous
|
||||
# version of Dangerzone is not uninstalled during the upgrade by checking if the older installation
|
||||
# exists in "C:\Program Files (x86)\Dangerzone".
|
||||
|
|
Loading…
Reference in a new issue