-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #894: Upgrade WiX from v3.14 to v4.0.5
This commit upgrades WiX, which we rely on to build Mozc's installer from WiX v3.14 to WiX v4.0.5 [1]. Unlike WiX v3.14, which we checked out as an xcopy deployment under src/third_party/wix with our in-house script update_deps.py, WiX v4 and later will be installed from NuGet repository with 'dotnet' command [2]. On top of that we use local installation mode so that a specified version of WiX can be used in our repository in a side-by-side manner rather than asking developers to install WiX globally. The WiX version is pined in dotnet-tools.json in the repository root [3]. You can run the following command dotnet tool restore from any directory in the repository so that the specified version of WiX can become available, no matter what version of WiX is globally installed in the system. To actually run locally installed version of WiX, you can run dotnet tool run wix from any directory in the repository. .wxs file were also converted as follows [4] dotnet tool run wix convert then manually cleaned up a bit. There must be no user observable behavior change in Mozc64.msi. I have actually confirmed it by manually checking InstallExecuteSequence table in Mozc64.msi by using Orca [5]. #codehealth [1]: https://github.com/wixtoolset/wix/releases/tag/v4.0.5 [2]: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet [3]: https://learn.microsoft.com/en-us/dotnet/core/tools/local-tools-how-to-use [4]: https://wixtoolset.org/docs/fourthree/ [5]: https://learn.microsoft.com/en-us/windows/win32/msi/orca-exe PiperOrigin-RevId: 624751431
- Loading branch information
1 parent
2bc8d81
commit cbd5556
Showing
7 changed files
with
408 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"wix": { | ||
"version": "4.0.5", | ||
"commands": [ | ||
"wix" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.