Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

[Bug] WAUInstallLocation not found due to wrong registry path #123

@dufak

Description

@dufak

Hello,

There seems to be an issue with the registry key used to detect Winget-AutoUpdate's installation path.

The script currently checks the following key:
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winget-AutoUpdate\

However, this registry key is not created when installing the latest versions of WAU (either via winget or MSI).
This causes the -WAUWhiteList option to fail since the install location cannot be found.

Changing the path to:
HKLM:\SOFTWARE\Romanitho\Winget-AutoUpdate\

resolves the issue and allows the whitelist feature to work properly.

Note: In the version of winget-install.ps1 included within WAU itself, this correct registry key (HKLM:\SOFTWARE\Romanitho\Winget-AutoUpdate) is already used, and the whitelist feature works as expected.

Tested on Winget-AutoUpdate v1.12.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions