From de9c5a99a8353b096c837ab29ae91c1ec3cd5a4a Mon Sep 17 00:00:00 2001 From: Dmitriy Vasyura Date: Thu, 5 Feb 2026 01:51:18 -0800 Subject: [PATCH] Register App Path for VS Code on Windows (#293009) --- build/win32/code.iss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/win32/code.iss b/build/win32/code.iss index 197ff3e9e26..238304f6d49 100644 --- a/build/win32/code.iss +++ b/build/win32/code.iss @@ -1301,6 +1301,10 @@ Root: {#SoftwareClassesRootKey}; Subkey: "Software\Classes\Drive\shell\{#RegValu Root: {#EnvironmentRootKey}; Subkey: "{#EnvironmentKey}"; ValueType: expandsz; ValueName: "Path"; ValueData: "{code:AddToPath|{app}\bin}"; Tasks: addtopath; Check: NeedsAddToPath(ExpandConstant('{app}\bin')) +; App Paths - allows running code from Explorer address bar +Root: {#EnvironmentRootKey}; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\{#ApplicationName}.exe"; ValueType: string; ValueName: ""; ValueData: "{app}\{#ExeBasename}.exe"; Flags: uninsdeletekey +Root: {#EnvironmentRootKey}; Subkey: "Software\Microsoft\Windows\CurrentVersion\App Paths\{#ApplicationName}.exe"; ValueType: string; ValueName: "Path"; ValueData: "{app}"; Flags: uninsdeletekey + [Code] function IsBackgroundUpdate(): Boolean; begin