forked from prabirshrestha/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Console2Here.inf
67 lines (54 loc) · 1.9 KB
/
Console2Here.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
; //***************************************************************************
; // ***** Script Header *****
; //
; // "Console2 Here" PowerToy for Console2
; //
; // File: Console2Here.inf
; //
; // Purpose: To add a Console2 Prompt Here entry to the Explorer context
; // menu for Console2
; //
; // Version: 1.0
; // Date : 5/2/2011
; //
; // based on http://technet.microsoft.com/en-us/magazine/2008.06.elevation.aspx
; //
; // ***** End Header *****
; //***************************************************************************
[version]
Signature="$Windows NT$"
[Console2HereInstall]
CopyFiles = Console2Here.Files.Inf
AddReg = Console2Here.AddReg
[DefaultInstall]
CopyFiles = Console2Here.Files.Inf
AddReg = Console2Here.AddReg
[DefaultUnInstall]
DelFiles = Console2Here.Files.Inf
DelReg = Console2Here.DelReg
[SourceDisksNames]
55="Open Console2 Here","",1
[SourceDisksFiles]
Console2Here.INF=55
[DestinationDirs]
Console2Here.Files.Inf = 17
[Console2Here.Files.Inf]
Console2Here.INF
[Console2Here.AddReg]
HKLM,%UDHERE%,DisplayName,,"%DisplayName%"
HKLM,%UDHERE%,DisplayVersion,,"%DisplayVersion%"
HKLM,%UDHERE%,DisplayIcon,,"%11%\icon.ico"
HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\Console2Here.inf"
HKCR,Directory\Shell\Console2Here,,,"%Console2HereAccel%"
HKCR,Directory\Shell\Console2Here\command,,,"C:\Users\Prabir\Console2\Console -d ""%1"""
HKCR,Drive\Shell\Console2Here,,,"%Console2HereAccel%"
HKCR,Drive\Shell\Console2Here\command,,,"C:\Users\Prabir\Console2\Console -d ""%1"""
[Console2Here.DelReg]
HKLM,%UDHERE%
HKCR,Directory\Shell\Console2Here
HKCR,Drive\Shell\Console2Here
[Strings]
DisplayName="Console2 Prompt Here PowerToy for Console2 (v1.0) (Uninstall only)"
DisplayVersion="1.0.3"
Console2HereAccel="Open Console2 Here"
UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\Console2Here"