| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
| 3 |
<Product Id="*" Language="!(loc.LCID)" Name="!(loc.Title)" Version="$(var.Version)" Manufacturer="!(loc.Manufacturer)" UpgradeCode="$(var.UpgradeCode)"> |
| 4 |
<Package InstallerVersion="500" Compressed="yes" InstallScope="perUser" /> |
| 5 |
<MediaTemplate EmbedCab="yes" CompressionLevel="high" /> |
| 6 |
|
| 7 |
<PropertyRef Id="DetectTargetDir" /> |
| 8 |
<PropertyRef Id="UpgradeTable" /> |
| 9 |
<PropertyRef Id="REGISTRYKEY" /> |
| 10 |
|
| 11 |
<Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> |
| 12 |
<ComponentGroupRef Id="doc_html" Primary="yes" /> |
| 13 |
<ComponentRef Id="OptionalFeature" /> |
| 14 |
|
| 15 |
<Component Id="doc_reg" Directory="Doc" Guid="*"> |
| 16 |
<RegistryKey Root="HKMU" Key="[REGISTRYKEY]"> |
| 17 |
<RegistryValue Key="Help\Main Python Documentation" Type="string" Value="[#Doc_html_index.html]" KeyPath="yes" /> |
| 18 |
</RegistryKey> |
| 19 |
</Component> |
| 20 |
|
| 21 |
<Component Id="doc_folder" Directory="Doc" Guid="{22FD42DB-EC66-4B1C-B1FC-44E0CF7B2462}"> |
| 22 |
<CreateFolder /> |
| 23 |
<RemoveFolder Id="Remove_doc_folder" On="uninstall" /> |
| 24 |
</Component> |
| 25 |
</Feature> |
| 26 |
<Feature Id="Shortcuts" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)"> |
| 27 |
<ComponentGroupRef Id="doc_html" /> |
| 28 |
|
| 29 |
<Component Id="doc_shortcut" Directory="MenuDir" Guid="*"> |
| 30 |
<RegistryKey Root="HKMU" Key="[OPTIONALFEATURESREGISTRYKEY]"> |
| 31 |
<RegistryValue Name="$(var.OptionalFeatureName)_shortcut" Type="string" Value="$(var.Version)" KeyPath="yes" /> |
| 32 |
</RegistryKey> |
| 33 |
<Shortcut Id="python.html" |
| 34 |
Target="[#Doc_html_index.html]" |
| 35 |
Name="!(loc.ShortcutName)" |
| 36 |
Description="!(loc.ShortcutDescription)" |
| 37 |
WorkingDirectory="InstallDirectory" |
| 38 |
Show="maximized" /> |
| 39 |
<RemoveFolder Id="Remove_MenuDir" On="uninstall" /> |
| 40 |
</Component> |
| 41 |
</Feature> |
| 42 |
</Product> |
| 43 |
</Wix> |