Skip to content

Commit

Permalink
Windows installer: Allow choosing installation directory during install
Browse files Browse the repository at this point in the history
Switch to using `WixUI_InstallDir` dialog set in the windows installer and add the `WIXUI_INSTALLDIR` property it needs to let user choose where Dangerzone is installed.

resolves #148
  • Loading branch information
jkarasti authored and apyrgio committed Sep 24, 2024
1 parent 830e551 commit 791444c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion install/windows/build-wxs.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,13 @@ def main():
Id="ARPURLINFOABOUT",
Value="https://freedom.press",
)
ET.SubElement(product_el, "UIRef", Id="WixUI_Minimal")
ET.SubElement(
product_el,
"Property",
Id="WIXUI_INSTALLDIR",
Value="INSTALLDIR",
)
ET.SubElement(product_el, "UIRef", Id="WixUI_InstallDir")
ET.SubElement(product_el, "UIRef", Id="WixUI_ErrorProgressText")
ET.SubElement(
product_el,
Expand Down

0 comments on commit 791444c

Please sign in to comment.