Change:
Root: HKCU; Subkey: "SOFTWAREClasses*shell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufiles; Flags: uninsdeletekey Root: HKCU; Subkey: "SOFTWAREClasses*shell{#RegValueName}"; ValueType: expandsz; ValueName: "Icon"; ValueData: "{app}{#ExeBasename}.exe"; Tasks: addcontextmenufiles Root: HKCU; Subkey: "SOFTWAREClasses*shell{#RegValueName}command"; ValueType: expandsz; ValueName: ""; ValueData: """{app}{#ExeBasename}.exe"" ""%1"""; Tasks: addcontextmenufiles <del> Root: HKCU; Subkey: "SOFTWAREClassesFoldershell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey Root: HKCU; Subkey: "SOFTWAREClassesFoldershell{#RegValueName}"; ValueType: expandsz; ValueName: "Icon"; ValueData: "{app}{#ExeBasename}.exe"; Tasks: addcontextmenufolders Root: HKCU; Subkey: "SOFTWAREClassesFoldershell{#RegValueName}command"; ValueType: expandsz; ValueName: ""; ValueData: """{app}{#ExeBasename}.exe"" ""%V"""; Tasks: addcontextmenufolders </del> <ins> Root: HKCU; Subkey: "SOFTWAREClassesdirectoryshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey Root: HKCU; Subkey: "SOFTWAREClassesdirectoryshell{#RegValueName}"; ValueType: expandsz; ValueName: "Icon"; ValueData: "{app}{#ExeBasename}.exe"; Tasks: addcontextmenufolders Root: HKCU; Subkey: "SOFTWAREClassesdirectoryshell{#RegValueName}command"; ValueType: expandsz; ValueName: ""; ValueData: """{app}{#ExeBasename}.exe"" ""%V"""; Tasks: addcontextmenufolders </ins> Root: HKCU; Subkey: "SOFTWAREClassesdirectorybackgroundshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey Root: HKCU; Subkey: "SOFTWAREClassesdirectorybackgroundshell{#RegValueName}"; ValueType: expandsz; ValueName: "Icon"; ValueData: "{app}{#ExeBasename}.exe"; Tasks: addcontextmenufolders Root: HKCU; Subkey: "SOFTWAREClassesdirectorybackgroundshell{#RegValueName}command"; ValueType: expandsz; ValueName: ""; ValueData: """{app}{#ExeBasename}.exe"" ""%V"""; Tasks: addcontextmenufolders <ins> Root: HKCU; Subkey: "SOFTWAREClassesDriveshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey Root: HKCU; Subkey: "SOFTWAREClassesDriveshell{#RegValueName}"; ValueType: expandsz; ValueName: "Icon"; ValueData: "{app}{#ExeBasename}.exe"; Tasks: addcontextmenufolders Root: HKCU; Subkey: "SOFTWAREClassesDriveshell{#RegValueName}command"; ValueType: expandsz; ValueName: ""; ValueData: """{app}{#ExeBasename}.exe"" ""%V"""; Tasks: addcontextmenufolders </ins> [Code] function WizardNotSilent(): Boolean;

Discussion:
VSCode Version: Insider build (1.6.0-insider, commit ) OS Version: Windows 10. Steps to Reproduce: click on the Recycle Bin icon on the desktop. there's a "Open with Code - Insiders" option.  clicked, nothing happens. Potentially unwanted functionality and possibly by
Wow! That was really fast. This likely happened due to . any clue on how to prevent this?
I did some tests and found another way of adding the context menu entry for drives and not the recycle bin. Should be better now.
Thanks a lot !