cpython/Tools/msi/doc/doc.wxs

42 lines
2.0 KiB
Plaintext
Raw Normal View History

2015-02-06 02:08:48 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
<Package InstallerVersion="500" Compressed="yes" InstallScope="perUser" />
2015-02-06 02:08:48 -04:00
<MediaTemplate EmbedCab="yes" CompressionLevel="high" />
<PropertyRef Id="UpgradeTable" />
<PropertyRef Id="REGISTRYKEY" />
<Property Id="HHExe" Value="C:\Windows\hh.exe" />
<CustomAction Id="SetHHExe" Property="HHExe" Value='[WindowsFolder]\hh.exe' Execute="immediate" />
<InstallExecuteSequence>
<Custom Action="SetHHExe" Before="CostFinalize">1</Custom>
</InstallExecuteSequence>
2015-02-06 02:08:48 -04:00
<Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
<ComponentGroupRef Id="doc" Primary="yes" />
<ComponentRef Id="OptionalFeature" />
</Feature>
<Feature Id="Shortcuts" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
2015-02-06 02:08:48 -04:00
<ComponentGroupRef Id="doc" />
<?ifdef DocFilename ?>
2015-02-06 02:08:48 -04:00
<Component Id="doc_shortcut" Directory="MenuDir" Guid="*">
<RegistryKey Root="HKMU" Key="[OPTIONALFEATURESREGISTRYKEY]">
<RegistryValue Name="$(var.OptionalFeatureName)_shortcut" Type="string" Value="$(var.Version)" KeyPath="yes" />
</RegistryKey>
2015-02-06 02:08:48 -04:00
<Shortcut Id="python.chm"
Target="[HHExe]"
Arguments="[#python.chm]"
2015-02-06 02:08:48 -04:00
Name="!(loc.ShortcutName)"
Description="!(loc.ShortcutDescription)"
WorkingDirectory="InstallDirectory"
Show="maximized" />
2015-02-06 02:08:48 -04:00
<RemoveFolder Id="Remove_MenuDir" On="uninstall" />
</Component>
<?endif ?>
2015-02-06 02:08:48 -04:00
</Feature>
</Product>
</Wix>