Skip to content

Support building a universal installer for Windows#1434

Open
yukawa wants to merge 1 commit intogoogle:masterfrom
ciceroaware:issue_1430
Open

Support building a universal installer for Windows#1434
yukawa wants to merge 1 commit intogoogle:masterfrom
ciceroaware:issue_1430

Conversation

@yukawa
Copy link
Collaborator

@yukawa yukawa commented Jan 26, 2026

Description

As a short-term solution for ARM64 support on Windows, this commit adds a new option to build a special variant of the existing x64 installer, which can be installed on both x64 and ARM64 Windows systems.

Basically the idea is to rely on x64 emulation on ARM64 Windows whenever possible, while deploying mozc_tip64x.dll and mozc_tip64arm.dll as the minimum set of ARM64-native binaries. When installed on x64 Windows, we can register mozc_tip64.dll as the COM TIP module as usual. As for ARM64 Windows, on the other hand, we register mozc_tip64x.dll as the COM TIP module as we do so for ARM64 native installer. Other executables such as mozc_server.exe and mozc_renderer.exe can run in both x64 and ARM64 Windows as well as they are built as x64 binaries.

Of course, maintaining two separate installers (x64 and ARM64) is supposed to be the ideal solution in the long run, but this universal installer would help us deploy ARM64 support on Windows in a timely manner.

Note that ARM64 toolchains are not required unless you explicitly specify --config win_universal_installer build option.

Closes #1430

Issue IDs

Steps to test new behaviors (if any)

  • OS: Windows 11 25H2
  • Steps:
    1. Build Mozc64.msi
    2. Confirm that Mozc64.msi can be installed into both x64 and ARM64 Windows machines.
    3. Confirm that Mozc can be used in both x64 and ARM64 apps.

@yukawa yukawa force-pushed the issue_1430 branch 2 times, most recently from 46d0a83 to 0128500 Compare January 27, 2026 04:37
As a short-term solution for ARM64 support on Windows, this commit adds
a new option to build a special variant of the existing x64 installer,
which can be installed on both x64 and ARM64 Windows systems.

Basically the idea is to rely on x64 emulation on ARM64 Windows whenever
possible, while deploying "mozc_tip64x.dll" and "mozc_tip64arm.dll" as
the minimum set of ARM64-native binaries. When installed on x64 Windows,
we can register "mozc_tip64.dll" as the COM TIP module as usual. As for
ARM64 Windows, on the other hand, we register "mozc_tip64x.dll" as the
COM TIP module as we do so for ARM64 native installer. Other executables
such as "mozc_server.exe" and "mozc_renderer.exe" can run in both x64
and ARM64 Windows as well as they are built as x64 binaries.

Of course, maintaining two separate installers (x64 and ARM64) is
supposed to be the ideal solution in the long run, but this universal
installer would help us deploy ARM64 support on Windows in a timely
manner.

Note that ARM64 toolchains are not required unless you explicitly
specify "--config win_universal_installer" build option.

Closes google#1430
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a universal installer for both Windows x64 and ARM64

2 participants