Root: HKCU; Subkey: "Environment"; ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}bin"; Tasks: addtopath; Check: NeedsAddPath(ExpandConstant('{app}bin')) <del> Root: HKCU; Subkey: "SOFTWAREClasses*shell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufiles; Flags: uninsdeletekey </del> <ins> Root: HKCU; Subkey: "SOFTWAREClasses*shell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#ShellNameShort}"; Tasks: addcontextmenufiles; Flags: uninsdeletekey </ins> 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: "SOFTWAREClassesdirectoryshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey </del> <ins> Root: HKCU; Subkey: "SOFTWAREClassesdirectoryshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#ShellNameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey </ins> 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 <del> Root: HKCU; Subkey: "SOFTWAREClassesdirectorybackgroundshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey </del> <ins> Root: HKCU; Subkey: "SOFTWAREClassesdirectorybackgroundshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#ShellNameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey </ins> 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 <del> Root: HKCU; Subkey: "SOFTWAREClassesDriveshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#NameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey </del> <ins> Root: HKCU; Subkey: "SOFTWAREClassesDriveshell{#RegValueName}"; ValueType: expandsz; ValueName: ""; ValueData: "Open with {#ShellNameShort}"; Tasks: addcontextmenufolders; Flags: uninsdeletekey </ins> 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