forked from gitextensions/gitextensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RegisterShellExtension.wxi
29 lines (26 loc) · 1.12 KB
/
RegisterShellExtension.wxi
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
<?xml version="1.0" encoding="utf-8"?>
<Include>
<!-- COM Registration -->
<RegistryValue
Root="HKCR" Key="CLSID\$(var.ShellExCLSID)"
Value="GitExtensions Shell Extension" Type="string"/>
<RegistryValue
Root="HKCR" Key="CLSID\$(var.ShellExCLSID)\InprocServer32"
Value="[INSTALLDIR]$(var.ShellExFileName)" Type="string"/>
<RegistryValue
Root="HKCR" Key="CLSID\$(var.ShellExCLSID)\InprocServer32"
Name="ThreadingModel" Value="Apartment" Type="string"/>
<!-- Shell Extension Registration -->
<RegistryValue
Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
Name="$(var.ShellExCLSID)" Value="GitExtensions2" Type="string"/>
<RegistryValue
Root="HKCR" Key="*\shellex\ContextMenuHandlers\GitExtensions2"
Value="$(var.ShellExCLSID)" Type="string"/>
<RegistryValue
Root="HKCR" Key="Directory\shellex\ContextMenuHandlers\GitExtensions2"
Value="$(var.ShellExCLSID)" Type="string"/>
<RegistryValue
Root="HKCR" Key="Directory\Background\shellex\ContextMenuHandlers\GitExtensions2"
Value="$(var.ShellExCLSID)" Type="string"/>
</Include>