Debian Codegraph @

Tools/msi/exe/exe.wxs

raw
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="UpgradeTable" />
8 <PropertyRef Id="REGISTRYKEY" />
9
10 <Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
11 <ComponentGroupRef Id="exe_python" Primary="yes" />
12 <ComponentGroupRef Id="exe_reg" Primary="yes" />
13 <ComponentGroupRef Id="exe_txt" />
14 <ComponentGroupRef Id="exe_icons" />
15 <ComponentRef Id="OptionalFeature" />
16 </Feature>
17
18 <Feature Id="Shortcuts" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
19 <ComponentGroupRef Id="exe_python" />
20 <Component Id="exe_shortcut" Directory="MenuDir" Guid="*">
21 <Shortcut Id="python.exe"
22 Target="[#python.exe]"
23 Name="!(loc.ShortcutName)"
24 Description="!(loc.ShortcutDescription)"
25 WorkingDirectory="InstallDirectory" />
26 <RemoveFolder Id="Remove_MenuDir" Directory="MenuDir" On="uninstall" />
27 <RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
28 <RegistryValue Key="InstalledFeatures" Name="Shortcuts" Type="string" Value="$(var.Version)" />
29 </RegistryKey>
30 </Component>
31 </Feature>
32 </Product>
33 </Wix>