|
1 |
| -<?xml version="1.0" encoding="UTF-8"?> |
2 |
| -<!-- |
| 1 | +<!-- |
3 | 2 | SPDX-FileCopyrightText: 2015-2025 Alexey Rochev
|
4 | 3 |
|
5 | 4 | SPDX-License-Identifier: CC0-1.0
|
6 | 5 | -->
|
7 |
| -<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
| 6 | +<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
8 | 7 | <Fragment>
|
9 |
| - <DirectoryRef Id="TARGETDIR"> |
10 |
| - <Component Id="TorrentFileTypeRegistration" Guid="d24510b5-e983-4510-bdb0-cb3317b9f39d" NeverOverwrite="yes" Permanent="yes"> |
| 8 | + <Component Id="TorrentFileTypeRegistration" Guid="d24510b5-e983-4510-bdb0-cb3317b9f39d" NeverOverwrite="yes" Permanent="yes" Directory="INSTALL_ROOT"> |
11 | 9 | <RegistryKey Root="HKCU" Key="Software\Classes\.torrent">
|
12 |
| - <RegistryValue Type="string" Name="Content Type" Value="application/x-bittorrent" KeyPath="yes"/> |
| 10 | + <RegistryValue Type="string" Name="Content Type" Value="application/x-bittorrent" KeyPath="yes" /> |
13 | 11 | </RegistryKey>
|
14 | 12 | </Component>
|
15 | 13 |
|
16 |
| - <Component Id="MagnetProtocolRegistration" Guid="425a4847-c965-4468-bb85-e0c03c229c4b" NeverOverwrite="yes" Permanent="yes"> |
| 14 | + <Component Id="MagnetProtocolRegistration" Guid="425a4847-c965-4468-bb85-e0c03c229c4b" NeverOverwrite="yes" Permanent="yes" Directory="INSTALL_ROOT"> |
17 | 15 | <RegistryKey Root="HKCU" Key="Software\Classes\magnet">
|
18 |
| - <RegistryValue Type="string" Value="URL:Magnet link" KeyPath="yes"/> |
19 |
| - <RegistryValue Type="string" Name="URL Protocol" Value=""/> |
| 16 | + <RegistryValue Type="string" Value="URL:Magnet link" KeyPath="yes" /> |
| 17 | + <RegistryValue Type="string" Name="URL Protocol" Value="" /> |
20 | 18 | </RegistryKey>
|
21 | 19 | </Component>
|
22 | 20 |
|
23 |
| - <Component Id="FileAssociationRegistration" Guid="ea9576ef-8e47-4993-9814-3529a7de3a6d"> |
| 21 | + <Component Id="FileAssociationRegistration" Guid="ea9576ef-8e47-4993-9814-3529a7de3a6d" Directory="INSTALL_ROOT"> |
24 | 22 | <RegistryKey Root="HKCU" Key="Software\Classes\Tremotesf.TorrentFile.1">
|
25 |
| - <RegistryValue Type="string" Value="Torrent file"/> |
26 |
| - <RegistryValue Type="string" Name="FriendlyTypeName" Value="@"[#CM_FP_tremotesf.exe]",0"/> |
| 23 | + <RegistryValue Type="string" Value="Torrent file" /> |
| 24 | + <RegistryValue Type="string" Name="FriendlyTypeName" Value="@"[#CM_FP_tremotesf.exe]",0" /> |
27 | 25 | <RegistryKey Key="DefaultIcon">
|
28 |
| - <RegistryValue Type="string" Value=""[#CM_FP_tremotesf.exe]",0"/> |
| 26 | + <RegistryValue Type="string" Value=""[#CM_FP_tremotesf.exe]",0" /> |
29 | 27 | </RegistryKey>
|
30 | 28 | <RegistryKey Key="Shell">
|
31 | 29 | <RegistryKey Key="Open">
|
32 | 30 | <RegistryKey Key="command">
|
33 |
| - <RegistryValue Type="string" Value=""[#CM_FP_tremotesf.exe]" "%1""/> |
| 31 | + <RegistryValue Type="string" Value=""[#CM_FP_tremotesf.exe]" "%1"" /> |
34 | 32 | </RegistryKey>
|
35 | 33 | </RegistryKey>
|
36 | 34 | </RegistryKey>
|
37 | 35 | </RegistryKey>
|
38 | 36 |
|
39 | 37 | <RegistryKey Root="HKCU" Key="Software\Classes\.torrent\OpenWithProgids">
|
40 |
| - <RegistryValue Type="string" Name="Tremotesf.TorrentFile.1" Value=""/> |
| 38 | + <RegistryValue Type="string" Name="Tremotesf.TorrentFile.1" Value="" /> |
41 | 39 | </RegistryKey>
|
42 | 40 |
|
43 | 41 | <RegistryKey Root="HKCU" Key="Software\Classes\Tremotesf.MagnetLink.1">
|
44 |
| - <RegistryValue Type="string" Value="Magnet link"/> |
45 |
| - <RegistryValue Type="string" Name="FriendlyTypeName" Value="@"[#CM_FP_tremotesf.exe]",1"/> |
| 42 | + <RegistryValue Type="string" Value="Magnet link" /> |
| 43 | + <RegistryValue Type="string" Name="FriendlyTypeName" Value="@"[#CM_FP_tremotesf.exe]",1" /> |
46 | 44 | <RegistryKey Key="DefaultIcon">
|
47 |
| - <RegistryValue Type="string" Value=""[#CM_FP_tremotesf.exe]",0"/> |
| 45 | + <RegistryValue Type="string" Value=""[#CM_FP_tremotesf.exe]",0" /> |
48 | 46 | </RegistryKey>
|
49 | 47 | <RegistryKey Key="Shell">
|
50 | 48 | <RegistryKey Key="Open">
|
51 | 49 | <RegistryKey Key="command">
|
52 |
| - <RegistryValue Type="string" Value=""[#CM_FP_tremotesf.exe]" "%1""/> |
| 50 | + <RegistryValue Type="string" Value=""[#CM_FP_tremotesf.exe]" "%1"" /> |
53 | 51 | </RegistryKey>
|
54 | 52 | </RegistryKey>
|
55 | 53 | </RegistryKey>
|
56 | 54 | </RegistryKey>
|
57 | 55 |
|
58 | 56 | <RegistryKey Root="HKCU" Key="Software\Tremotesf\Tremotesf\Capabilities">
|
59 |
| - <RegistryValue Type="string" Name="ApplicationName" Value="Tremotesf"/> |
60 |
| - <RegistryValue Type="string" Name="ApplicationDescription" Value="Tremotesf - Remote GUI for transmission-daemon"/> |
| 57 | + <RegistryValue Type="string" Name="ApplicationName" Value="Tremotesf" /> |
| 58 | + <RegistryValue Type="string" Name="ApplicationDescription" Value="Tremotesf - Remote GUI for transmission-daemon" /> |
61 | 59 | <RegistryKey Key="FileAssociations">
|
62 |
| - <RegistryValue Type="string" Name=".torrent" Value="Tremotesf.TorrentFile.1"/> |
| 60 | + <RegistryValue Type="string" Name=".torrent" Value="Tremotesf.TorrentFile.1" /> |
63 | 61 | </RegistryKey>
|
64 | 62 | <RegistryKey Key="MimeAssociations">
|
65 |
| - <RegistryValue Type="string" Name="application/x-bittorrent" Value="Tremotesf.TorrentFile.1"/> |
| 63 | + <RegistryValue Type="string" Name="application/x-bittorrent" Value="Tremotesf.TorrentFile.1" /> |
66 | 64 | </RegistryKey>
|
67 | 65 | <RegistryKey Key="UrlAssociations">
|
68 |
| - <RegistryValue Type="string" Name="magnet" Value="Tremotesf.MagnetLink.1"/> |
| 66 | + <RegistryValue Type="string" Name="magnet" Value="Tremotesf.MagnetLink.1" /> |
69 | 67 | </RegistryKey>
|
70 | 68 | </RegistryKey>
|
71 | 69 |
|
72 | 70 | <RegistryKey Root="HKCU" Key="Software\RegisteredApplications">
|
73 |
| - <RegistryValue Type="string" Name="Tremotesf" Value="Software\Tremotesf\Tremotesf\Capabilities"/> |
| 71 | + <RegistryValue Type="string" Name="Tremotesf" Value="Software\Tremotesf\Tremotesf\Capabilities" /> |
74 | 72 | </RegistryKey>
|
75 | 73 | </Component>
|
76 |
| - </DirectoryRef> |
77 |
| - </Fragment> |
| 74 | + </Fragment> |
78 | 75 | </Wix>
|
0 commit comments