mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-04 04:31:49 +02:00
Compare commits
16 commits
da09566a3c
...
5c9f5fe34c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
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:
|
||||
dotnet-version: "8.x"
|
||||
- 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
|
||||
run: wix extension add --global WixToolset.UI.wixext
|
||||
run: wix extension add --global WixToolset.UI.wixext/5.0.1
|
||||
- name: Build the MSI installer
|
||||
# NOTE: This also builds the .exe internally.
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
wix extension add --global WixToolset.UI.wixext/5.x.y
|
||||
wix extension add --global WixToolset.UI.wixext/5.0.1
|
||||
```
|
||||
|
||||
> [!IMPORTANT]
|
||||
> 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.
|
||||
> To prevent compatibility issues, ensure that all WiX plugins you install match the version of WiX Toolset.
|
||||
|
||||
### If you want to sign binaries with Authenticode
|
||||
|
||||
|
|
|
@ -167,6 +167,7 @@ def main():
|
|||
ET.SubElement(
|
||||
package_el,
|
||||
"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.",
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue