Skip to content

Consider adding a helper script to install Mozc64.msi from terminal for Windows #1283

@yukawa

Description

@yukawa

Description

Suppose you built Mozc64.msi with Bazel, the artifact will be generated at bazel-bin/win32/installer/Mozc64.msi. The issue is that bazel-bin is usually a directory junction to another directory under %USERPROFILE%, and the default handler for *.msi file simply fails if the specified path includes junction.

This makes build instructions for Windows complicated, because we cannot simply ask the developer to run bazel-bin/win32/installer/Mozc64.msi to install Mozc. In GYP build, the developer can just copy and paste out_win\Release\Mozc64.msi to Install Mozc.

Let's introduce a helper script to help developers to install Mozc64.msi from terminal.

Steps to reproduce

  1. bazelisk build --config oss_windows --config release_build package
  2. bazel-bin/win32/installer/Mozc64.msi

Actual behavior

The step 2 fails because msiexec.exe does not support directory junction.

Expected behavior

There should be some helper python script so that you can install Mozc64.msi from terminal. e.g.

python build_tools/open.py bazel-bin/win32/installer/Mozc64.msi

Screenshots

Image

Version or commit-id

81dbd2d

Environment

  • OS: Windows 11 24H2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions