Register MuseScore as a handler for the musescore:// url scheme on Windows
This commit is contained in:
parent
4d0bff762f
commit
6620f05cb6
|
@ -152,9 +152,23 @@
|
|||
<?endif?>
|
||||
</Component>
|
||||
|
||||
<Component Id="RegisterURLScheme" Directory="TARGETDIR" Guid="6A4561FA-29AC-46D3-9662-9B559539B369">
|
||||
<RegistryKey Root="HKCR" Key="musescore" Action="createAndRemoveOnUninstall">
|
||||
<RegistryValue Type="string" Name="URL Protocol" Value="" />
|
||||
<RegistryValue Type="string" Value="URL:MuseScore URL Protocol" />
|
||||
<RegistryKey Key="DefaultIcon">
|
||||
<RegistryValue Type="string" Value="[INSTALL_ROOT]bin\$(var.ExeName),1" />
|
||||
</RegistryKey>
|
||||
<RegistryKey Key="shell\open\command">
|
||||
<RegistryValue Type="string" Value=""[INSTALL_ROOT]bin\$(var.ExeName)" "%1"" />
|
||||
</RegistryKey>
|
||||
</RegistryKey>
|
||||
</Component>
|
||||
|
||||
<FeatureRef Id="ProductFeature">
|
||||
<!-- Step 3: Tell WiX to install the shortcut and types -->
|
||||
<ComponentRef Id="RegisterTypes" />
|
||||
<ComponentRef Id="RegisterURLScheme" />
|
||||
</FeatureRef>
|
||||
</Product>
|
||||
</Wix>
|
||||
|
|
Loading…
Reference in New Issue