Uses SCRegistrySpec.wxi in the MSI setup just like SCRegistrySpec.xml in IzPack.

cusax-fix
Lyubomir Marinov 18 years ago
parent 8a22542d73
commit e821476d88

@ -439,13 +439,15 @@
<filter token="WIX_PRODUCT_ID" value="${wix.product.id}" />
<filter token="WIX_UPGRADE_CODE" value="${wix.upgrade.code}" />
<copy
file="${inst.resrc}/windows/installer-windows.wxs"
tofile="${windows.app.dir}/tmp/installer-windows.wxs"
filtering="yes" />
<copy
file="${inst.resrc}/windows/en-us.wxl"
tofile="${windows.app.dir}/tmp/en-us.wxl"
filtering="yes" />
todir="${windows.app.dir}/tmp"
overwrite="true"
filtering="yes">
<fileset dir="${inst.resrc}/windows">
<include name="en-us.wxl" />
<include name="installer-windows.wxs" />
<include name="SCRegistrySpec.wxi" />
</fileset>
</copy>
<!-- Execute candle.exe -->
<exec

@ -0,0 +1,41 @@
<?xml version="1.0" ?>
<Include xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<ComponentGroup Id="ComponentGroup_RegistryEntries">
<Component
Id="Component_SipRegistryEntries"
Directory="TARGETDIR"
Guid="CF88EDC2-7D07-4269-946C-B8FF917887ED">
<RegistryKey Action="createAndRemoveOnUninstall" Key="sip" Root="HKCR">
<RegistryValue Type="string" Value="URL: SIP Protocol handler" />
<RegistryValue Name="URL Protocol" Type="string" Value="" />
<RegistryValue
Key="DefaultIcon" Type="string" Value="[INSTALLDIR]sc-logo.ico" />
<RegistryValue
Key="shell\open\command"
KeyPath="yes"
Type="string"
Value='"[INSTALLDIR]run.exe" %1' />
</RegistryKey>
</Component>
<Component
Id="Component_FeedRegistryEntries"
Directory="TARGETDIR"
Guid="BDB06CF9-F840-4CD6-B8B1-C24AC9CD11AB">
<RegistryKey Action="createAndRemoveOnUninstall" Key="feed" Root="HKCR">
<RegistryValue Type="string" Value="URL: RSS Protocol handler" />
<RegistryValue Name="URL Protocol" Type="string" Value="" />
<RegistryValue
Key="DefaultIcon" Type="string" Value="[INSTALLDIR]sc-logo.ico" />
<RegistryValue
Key="shell\open\command"
KeyPath="yes"
Type="string"
Value='"[INSTALLDIR]run.exe" %1' />
</RegistryKey>
</Component>
</ComponentGroup>
</Fragment>
</Include>

@ -71,33 +71,6 @@
Value="1" />
</Component>
</Directory>
<Component Id="Component_SipRegistryEntries" Guid="CF88EDC2-7D07-4269-946C-B8FF917887ED">
<RegistryKey Action="createAndRemoveOnUninstall" Key="sip" Root="HKCR">
<RegistryValue Type="string" Value="URL: SIP Protocol handler" />
<RegistryValue Name="URL Protocol" Type="string" Value="" />
<RegistryValue
Key="DefaultIcon" Type="string" Value="[INSTALLDIR]sc-logo.ico" />
<RegistryValue
Key="shell\open\command"
KeyPath="yes"
Type="string"
Value='"[INSTALLDIR]run.exe" %1' />
</RegistryKey>
</Component>
<Component Id="Component_FeedRegistryEntries" Guid="BDB06CF9-F840-4CD6-B8B1-C24AC9CD11AB">
<RegistryKey Action="createAndRemoveOnUninstall" Key="feed" Root="HKCR">
<RegistryValue Type="string" Value="URL: RSS Protocol handler" />
<RegistryValue Name="URL Protocol" Type="string" Value="" />
<RegistryValue
Key="DefaultIcon" Type="string" Value="[INSTALLDIR]sc-logo.ico" />
<RegistryValue
Key="shell\open\command"
KeyPath="yes"
Type="string"
Value='"[INSTALLDIR]run.exe" %1' />
</RegistryKey>
</Component>
</Directory>
<Feature Id="Universe" Level="1" Title="@APP_NAME@">
@ -106,8 +79,7 @@
<ComponentRef Id="Component_DesktopShortcut" />
<ComponentRef Id="Component_StartMenuShortcut" />
<ComponentRef Id="Component_SipRegistryEntries" />
<ComponentRef Id="Component_FeedRegistryEntries" />
<ComponentGroupRef Id="ComponentGroup_RegistryEntries" />
</Feature>
<Media Id="1" Cabinet="Data1.cab" EmbedCab="yes" />
@ -287,4 +259,6 @@
<UIRef Id="WixUI_Common" />
</Fragment>
<?include SCRegistrySpec.wxi ?>
</Wix>

Loading…
Cancel
Save