mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-05 21:21:49 +02:00
Compare commits
2 commits
ecfdf61edc
...
d531dbb7e8
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d531dbb7e8 | ||
![]() |
e6380f793b |
1 changed files with 4 additions and 7 deletions
|
@ -152,6 +152,10 @@ def main():
|
||||||
Id="ARPURLINFOABOUT",
|
Id="ARPURLINFOABOUT",
|
||||||
Value="https://freedom.press",
|
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(
|
ET.SubElement(
|
||||||
package_el,
|
package_el,
|
||||||
"WixVariable",
|
"WixVariable",
|
||||||
|
@ -170,13 +174,6 @@ 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.",
|
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
|
# 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
|
# version of Dangerzone is not uninstalled during the upgrade by checking if the older installation
|
||||||
# exists in "C:\Program Files (x86)\Dangerzone".
|
# exists in "C:\Program Files (x86)\Dangerzone".
|
||||||
|
|
Loading…
Reference in a new issue