Last active
September 4, 2018 12:38
-
-
Save yudenzel/40a497fa2ae4e54e63373bc4dd5ae49d to your computer and use it in GitHub Desktop.
VsCode.INF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Save this code to inf file and install it | |
| ; | |
| ; "Sublime Text Context Menu" | |
| ; | |
| ; Copyright 1996 Microsoft Corporation | |
| ; | |
| [version] | |
| signature="$Windows NT$" | |
| [VsCodeInstall] | |
| CopyFiles = VsCode.Files.Inf | |
| AddReg = VsCode.Reg | |
| [DefaultInstall] | |
| CopyFiles = VsCode.Files.Inf | |
| AddReg = VsCode.AddReg | |
| [DefaultUnInstall] | |
| DelFiles = VsCode.Files.Inf | |
| DelReg = VsCode.DelReg | |
| [SourceDisksNames] | |
| 55="%INSTALL_NAME%", "", 1 | |
| [SourceDisksFiles] | |
| VsCode.INF=55 | |
| [DestinationDirs] | |
| VsCode.Files.Inf = 17 | |
| [VsCode.Files.Inf] | |
| VsCode.INF | |
| [VsCode.AddReg] | |
| HKCU, "Software\Microsoft\Windows\CurrentVersion\Uninstall\VsCodeContextMenu", DisplayName, , "%INSTALL_NAME%" | |
| HKCU, "Software\Microsoft\Windows\CurrentVersion\Uninstall\VsCodeContextMenu", UninstallString, , "rundll32.exe syssetup.dll, SetupInfObjectInstallAction DefaultUninstall 132 %17%\VsCode.inf" | |
| HKCU, "Software\Classes\*\shell\VsCode", , , "Edit In Visual Studio Code" | |
| HKCU, "Software\Classes\*\shell\VsCode", "Icon", "%REG_SZ%", """%1%\Code.exe"", 0" | |
| HKCU, "Software\Classes\*\shell\VsCode\command", , , """%1%\Code.exe"" ""%%1"" %%*" | |
| HKCU, "Software\Classes\directory\background\shell\VsCode", , , "Open In Visual Studio Code" | |
| HKCU, "Software\Classes\directory\background\shell\VsCode", "Icon", "%REG_SZ%", """%1%\Code.exe"", 0" | |
| HKCU, "Software\Classes\directory\background\shell\VsCode\command", , , """%1%\Code.exe"" ""%%V""" | |
| HKCU, "Software\Classes\directory\shell\VsCode", , , "Open In Visual Studio Code" | |
| HKCU, "Software\Classes\directory\shell\VsCode", "Icon", "%REG_SZ%", """%1%\Code.exe"", 0" | |
| HKCU, "Software\Classes\directory\shell\VsCode\command", , , """%1%\Code.exe"" ""%%1""" | |
| [VsCode.DelReg] | |
| HKCU, "Software\Classes\*\shell\VsCode" | |
| HKCU, "Software\Classes\directory\background\shell\VsCode" | |
| HKCU, "Software\Classes\directory\shell\VsCode" | |
| HKCU, "Software\Microsoft\Windows\CurrentVersion\Uninstall\VsCodeContextMenu" | |
| [Strings] | |
| REG_SZ=0x00000000 | |
| REG_BINARY=0x00000001 | |
| REG_DWORD=0x00010001 | |
| INSTALL_NAME="VS Code Context Menu" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment