mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 12:41:50 +02:00
Compare commits
17 commits
fc529860de
...
4acf88de9c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4acf88de9c | ||
![]() |
5c9f5fe34c | ||
![]() |
5bb09f7c03 | ||
![]() |
2149ad8963 | ||
![]() |
096b075126 | ||
![]() |
5ecfbcd323 | ||
![]() |
2d95c078d3 | ||
![]() |
b1d9bfccab | ||
![]() |
31e865a347 | ||
![]() |
b9c9dbccae | ||
![]() |
a78f0a7000 | ||
![]() |
cd9eafbd63 | ||
![]() |
e8202759f1 | ||
![]() |
1a84fbe998 | ||
![]() |
287bd55c2e | ||
![]() |
6ca30a39b2 | ||
![]() |
0f2a385913 |
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
|
run: dotnet tool install --global wix --version 5.0.1
|
||||||
- name: Add WiX UI extension
|
- name: Add WiX UI extension
|
||||||
run: wix extension add --global WixToolset.UI.wixext
|
run: wix extension add --global WixToolset.UI.wixext/5.0.1
|
||||||
- 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,21 +476,20 @@ 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 latest version of [WiX Toolset .NET tool](https://wixtoolset.org/) **v5** with:
|
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.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
dotnet tool install --global wix --version 5.*
|
dotnet tool install --global wix --version 5.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
Install the WiX UI extension. You may need to open a new terminal in order to use the newly installed `wix` .NET tool:
|
Install the WiX UI extension **in a new terminal**, in order to use the newly installed `wix` .NET tool:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wix extension add --global WixToolset.UI.wixext/5.x.y
|
wix extension add --global WixToolset.UI.wixext/5.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> To avoid compatibility issues, ensure the WiX UI extension version matches the version of the WiX Toolset.
|
> To prevent compatibility issues, ensure that all WiX plugins you install match the version of 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,6 +167,7 @@ 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