Skip to content

Conversation

@yukawa
Copy link
Collaborator

@yukawa yukawa commented Nov 26, 2025

Description

It turns out that <Property> with <RegistrySearch> does not work in the repair/uninstall mode unless the property is marked as Secure. As a result, if the user tries to install the same version of Mozc again, then they would see a misleading error messages.

Affected conditions are:

This commit marks the relevant properties as Secure to fix the issue.

Closes #1410.

Issue IDs

Steps to test new behaviors (if any)

  • OS: Windows 11 25H2
  • Steps:
    1. Build Mozc with either GYP or Bazel
    2. Click the Mozc installer.
    3. Confirm the installation finishes successfully.
    4. Click the Mozc installer again.
    5. Confirm the installation still finishes successfully.

It turns out that <Property> with <RegistrySearch> does not work in the
repair/uninstall mode unless the property is marked as Secure. As a
result, if the user tries to install the same version of Mozc again,
then they would see a misleading error messages (google#1410).

Affected conditions are:
 * ARM64 check [1]
 * Windows build number check [2]

This commit marks the relevant properties as Secure to fix the issue.

 [1]: 7cf3336
 [2]: f649e70

Closes google#1410.
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.

A confusing error message will be shown when you try to install the same version of Mozc twice

1 participant