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
bazelisk build --config oss_windows --config release_build package
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

Version or commit-id
81dbd2d
Environment
Description
Suppose you built
Mozc64.msiwith Bazel, the artifact will be generated atbazel-bin/win32/installer/Mozc64.msi. The issue is thatbazel-binis usually a directory junction to another directory under%USERPROFILE%, and the default handler for*.msifile 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.msito install Mozc. In GYP build, the developer can just copy and pasteout_win\Release\Mozc64.msito Install Mozc.Let's introduce a helper script to help developers to install
Mozc64.msifrom terminal.Steps to reproduce
bazelisk build --config oss_windows --config release_build packagebazel-bin/win32/installer/Mozc64.msiActual behavior
The step 2 fails because
msiexec.exedoes not support directory junction.Expected behavior
There should be some helper python script so that you can install
Mozc64.msifrom terminal. e.g.Screenshots
Version or commit-id
81dbd2d
Environment