mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
Compare commits
19 commits
4acf88de9c
...
fc529860de
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fc529860de | ||
![]() |
da09566a3c | ||
![]() |
180b907cff | ||
![]() |
a900a7c42e | ||
![]() |
945f1846d1 | ||
![]() |
3eaa89fcce | ||
![]() |
63dbe6a037 | ||
![]() |
0767e01053 | ||
![]() |
ada9f47d65 | ||
![]() |
39062804bf | ||
![]() |
9da607093f | ||
![]() |
02c8396a9a | ||
![]() |
2b73427e16 | ||
![]() |
c7e3f995c0 | ||
![]() |
410beead11 | ||
![]() |
68cd96a7d3 | ||
![]() |
e6f5a25818 | ||
![]() |
28b555ac6f | ||
![]() |
9a87e64e69 |
3 changed files with 8 additions and 8 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -115,9 +115,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
dotnet-version: "8.x"
|
dotnet-version: "8.x"
|
||||||
- name: Install WiX Toolset
|
- name: Install WiX Toolset
|
||||||
run: dotnet tool install --global wix --version 5.0.1
|
run: dotnet tool install --global wix
|
||||||
- name: Add WiX UI extension
|
- name: Add WiX UI extension
|
||||||
run: wix extension add --global WixToolset.UI.wixext/5.0.1
|
run: wix extension add --global WixToolset.UI.wixext
|
||||||
- name: Build the MSI installer
|
- name: Build the MSI installer
|
||||||
# NOTE: This also builds the .exe internally.
|
# NOTE: This also builds the .exe internally.
|
||||||
run: poetry run .\install\windows\build-app.bat
|
run: poetry run .\install\windows\build-app.bat
|
||||||
|
|
11
BUILD.md
11
BUILD.md
|
@ -476,20 +476,21 @@ poetry shell
|
||||||
|
|
||||||
### If you want to build the Windows installer
|
### If you want to build the Windows installer
|
||||||
|
|
||||||
Install [.NET SDK](https://dotnet.microsoft.com/en-us/download) version 6 or later. Then, open a terminal and install the [WiX Toolset .NET tool](https://wixtoolset.org/) v5.0.1.
|
Install [.NET SDK](https://dotnet.microsoft.com/en-us/download) version 6 or later. Then, open a terminal and install the latest version of [WiX Toolset .NET tool](https://wixtoolset.org/) **v5** with:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
dotnet tool install --global wix --version 5.0.1
|
dotnet tool install --global wix --version 5.*
|
||||||
```
|
```
|
||||||
|
|
||||||
Install the WiX UI extension **in a new terminal**, in order to use the newly installed `wix` .NET tool:
|
Install the WiX UI extension. You may need to open a new terminal in order to use the newly installed `wix` .NET tool:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wix extension add --global WixToolset.UI.wixext/5.0.1
|
wix extension add --global WixToolset.UI.wixext/5.x.y
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> To prevent compatibility issues, ensure that all WiX plugins you install match the version of WiX Toolset.
|
> To avoid compatibility issues, ensure the WiX UI extension version matches the version of the WiX Toolset.
|
||||||
|
> Run `wix --version` to check the version of WiX Toolset you have installed and replace `5.x.y` with the full version number without the Git revision.
|
||||||
|
|
||||||
### If you want to sign binaries with Authenticode
|
### If you want to sign binaries with Authenticode
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,6 @@ def main():
|
||||||
ET.SubElement(
|
ET.SubElement(
|
||||||
package_el,
|
package_el,
|
||||||
"MajorUpgrade",
|
"MajorUpgrade",
|
||||||
AllowSameVersionUpgrades="yes",
|
|
||||||
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.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue