• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3    <Fragment>
4        <ComponentGroup Id="exe_txt">
5            <Component Id="LICENSE.txt" Directory="InstallDirectory" Guid="*">
6                <File Name="LICENSE.txt" Source="LICENSE.txt" KeyPath="yes" />
7            </Component>
8            <Component Id="NEWS.txt" Directory="InstallDirectory" Guid="*">
9                <File Name="NEWS.txt" KeyPath="yes" />
10            </Component>
11        </ComponentGroup>
12    </Fragment>
13
14    <Fragment>
15        <PropertyRef Id="REGISTRYKEY" />
16
17        <ComponentGroup Id="exe_python">
18            <Component Id="python.exe" Directory="InstallDirectory" Guid="$(var.PythonExeComponentGuid)">
19                <File Name="python.exe" KeyPath="yes" />
20
21                <RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
22                    <RegistryValue Key="InstallPath" Type="string" Value="[InstallDirectory]" KeyPath="no" />
23                    <RegistryValue Key="InstallPath" Name="ExecutablePath" Type="string" Value="[#python.exe]" KeyPath="no" />
24                </RegistryKey>
25            </Component>
26            <Component Id="pythonw.exe" Directory="InstallDirectory" Guid="$(var.PythonwExeComponentGuid)">
27                <File Name="pythonw.exe" KeyPath="yes" />
28                <RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
29                    <RegistryValue Key="InstallPath" Name="WindowedExecutablePath" Type="string" Value="[#pythonw.exe]" KeyPath="no" />
30                </RegistryKey>
31            </Component>
32            <Component Id="vcruntime140.dll" Directory="InstallDirectory" Guid="*">
33                <File Name="vcruntime140.dll" Source="vcruntime140.dll" KeyPath="yes" />
34            </Component>
35<?ifdef Include_Vcruntime140_1_dll ?>
36            <Component Id="vcruntime140_1.dll" Directory="InstallDirectory" Guid="*">
37                <File Name="vcruntime140_1.dll" Source="vcruntime140_1.dll" KeyPath="yes" />
38            </Component>
39<?endif ?>
40        </ComponentGroup>
41    </Fragment>
42
43    <Fragment>
44        <ComponentGroup Id="exe_python_symbols">
45            <Component Id="python.pdb" Directory="InstallDirectory" Guid="*">
46                <File Name="python.pdb" />
47            </Component>
48            <Component Id="pythonw.pdb" Directory="InstallDirectory" Guid="*">
49                <File Name="pythonw.pdb" />
50            </Component>
51        </ComponentGroup>
52    </Fragment>
53
54    <Fragment>
55        <ComponentGroup Id="exe_python_d">
56            <Component Id="python_d.exe" Directory="InstallDirectory" Guid="*">
57                <File Name="python_d.exe" />
58            </Component>
59            <Component Id="python_d.pdb" Directory="InstallDirectory" Guid="*">
60                <File Name="python_d.pdb" />
61            </Component>
62            <Component Id="pythonw_d.exe" Directory="InstallDirectory" Guid="*">
63                <File Name="pythonw_d.exe" />
64            </Component>
65            <Component Id="pythonw_d.pdb" Directory="InstallDirectory" Guid="*">
66                <File Name="pythonw_d.pdb" />
67            </Component>
68        </ComponentGroup>
69    </Fragment>
70
71    <Fragment>
72        <ComponentGroup Id="exe_icons">
73            <Component Id="py.ico" Directory="DLLs" Guid="*">
74                <File Name="py.ico" Source="!(bindpath.src)PC\icons\py.ico" KeyPath="yes" />
75            </Component>
76            <Component Id="pyc.ico" Directory="DLLs" Guid="*">
77                <File Name="pyc.ico" Source="!(bindpath.src)PC\icons\pyc.ico" KeyPath="yes" />
78            </Component>
79            <Component Id="pyd.ico" Directory="DLLs" Guid="*">
80                <File Name="pyd.ico" Source="!(bindpath.src)PC\icons\pyd.ico" KeyPath="yes" />
81            </Component>
82        </ComponentGroup>
83    </Fragment>
84</Wix>
85