|
31 | 31 |
|
32 | 32 | <ComponentRef Id="WeevilShortcut" /> |
33 | 33 | <ComponentRef Id="ScriptsPathComponent" /> |
| 34 | + <ComponentRef Id="WeevilLogFileAssociation" /> |
34 | 35 | <ComponentGroupRef Id="RegistryKeys" /> |
35 | 36 | </Feature> |
36 | 37 | </Package> |
|
100 | 101 | </Component> |
101 | 102 | </ComponentGroup> |
102 | 103 | </Fragment> |
| 104 | + <Fragment> |
| 105 | + <DirectoryRef Id="INSTALLFOLDER"> |
| 106 | + <Component Id="WeevilLogFileAssociation" Guid="84FACF5A-7EF5-4285-84B6-FC96F4A08177"> |
| 107 | + <RegistryKey Root="HKLM" Key="Software\RegisteredApplications"> |
| 108 | + <RegistryValue Name="Weevil" Type="string" Value="Software\BlueDotBrigade\Weevil\Capabilities" /> |
| 109 | + </RegistryKey> |
| 110 | + |
| 111 | + <RegistryKey Root="HKLM" Key="Software\BlueDotBrigade\Weevil\Capabilities"> |
| 112 | + <RegistryValue Name="ApplicationName" Type="string" Value="Weevil" KeyPath="yes" /> |
| 113 | + <RegistryValue Name="ApplicationDescription" Type="string" Value="View and analyze log files using Weevil." /> |
| 114 | + <RegistryKey Key="FileAssociations"> |
| 115 | + <RegistryValue Name=".log" Type="string" Value="BlueDotBrigade.Weevil.LogFile" /> |
| 116 | + </RegistryKey> |
| 117 | + </RegistryKey> |
| 118 | + |
| 119 | + <RegistryKey Root="HKLM" Key="Software\Classes\BlueDotBrigade.Weevil.LogFile"> |
| 120 | + <RegistryValue Type="string" Value="Log File" /> |
| 121 | + <RegistryValue Name="FriendlyTypeName" Type="string" Value="Log File" /> |
| 122 | + <RegistryKey Key="DefaultIcon"> |
| 123 | + <RegistryValue Type="string" Value=""[InstallFolderBin]WeevilGui.exe",0" /> |
| 124 | + </RegistryKey> |
| 125 | + <RegistryKey Key="shell"> |
| 126 | + <RegistryValue Type="string" Value="open" /> |
| 127 | + <RegistryKey Key="open"> |
| 128 | + <RegistryKey Key="command"> |
| 129 | + <RegistryValue Type="string" Value=""[InstallFolderBin]WeevilGui.exe" "%1"" /> |
| 130 | + </RegistryKey> |
| 131 | + </RegistryKey> |
| 132 | + </RegistryKey> |
| 133 | + </RegistryKey> |
| 134 | + |
| 135 | + <RegistryKey Root="HKLM" Key="Software\Classes\.log\OpenWithProgids"> |
| 136 | + <RegistryValue Name="BlueDotBrigade.Weevil.LogFile" Type="string" Value="" /> |
| 137 | + </RegistryKey> |
| 138 | + |
| 139 | + <RegistryKey Root="HKLM" Key="Software\Classes\Applications\WeevilGui.exe"> |
| 140 | + <RegistryValue Name="FriendlyAppName" Type="string" Value="Weevil" /> |
| 141 | + <RegistryKey Key="SupportedTypes"> |
| 142 | + <RegistryValue Name=".log" Type="string" Value="" /> |
| 143 | + </RegistryKey> |
| 144 | + <RegistryKey Key="shell\open\command"> |
| 145 | + <RegistryValue Type="string" Value=""[InstallFolderBin]WeevilGui.exe" "%1"" /> |
| 146 | + </RegistryKey> |
| 147 | + </RegistryKey> |
| 148 | + </Component> |
| 149 | + </DirectoryRef> |
| 150 | + </Fragment> |
103 | 151 | <Fragment> |
104 | 152 | <UI> |
105 | 153 | <Dialog Id="TelemetryDialog" Width="370" Height="270" Title="[ProductName] Setup"> |
|
0 commit comments