Skip to content

Commit ecda8b7

Browse files
committed
use HKLM for environment changes
fixes microsoft#53438
1 parent b0fd77e commit ecda8b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/win32/code.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ Root: {#SoftwareClassesRootKey}; Subkey: "Software\Classes\Drive\shell\{#RegValu
946946
#define Uninstall64RootKey "HKCU64"
947947
#define Uninstall32RootKey "HKCU32"
948948
#else
949-
#define EnvironmentRootKey "HKCR"
949+
#define EnvironmentRootKey "HKLM"
950950
#define EnvironmentKey "System\CurrentControlSet\Control\Session Manager\Environment"
951951
#define Uninstall64RootKey "HKLM64"
952952
#define Uninstall32RootKey "HKLM32"

0 commit comments

Comments
 (0)