Home | History | Annotate | Download | only in exe
      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" KeyPath="yes" />
      7             </Component>
      8             <Component Id="NEWS.txt" Directory="InstallDirectory" Guid="*">
      9                 <File Name="NEWS.txt" Source="!(bindpath.src)Misc\NEWS" 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="!(bindpath.redist)vcruntime140.dll" KeyPath="yes" />
     34             </Component>
     35         </ComponentGroup>
     36     </Fragment>
     37 
     38     <Fragment>
     39         <ComponentGroup Id="exe_python_symbols">
     40             <Component Id="python.pdb" Directory="InstallDirectory" Guid="*">
     41                 <File Name="python.pdb" />
     42             </Component>
     43             <Component Id="pythonw.pdb" Directory="InstallDirectory" Guid="*">
     44                 <File Name="pythonw.pdb" />
     45             </Component>
     46         </ComponentGroup>
     47     </Fragment>
     48         
     49     <Fragment>
     50         <ComponentGroup Id="exe_python_d">
     51             <Component Id="python_d.exe" Directory="InstallDirectory" Guid="*">
     52                 <File Name="python_d.exe" />
     53             </Component>
     54             <Component Id="python_d.pdb" Directory="InstallDirectory" Guid="*">
     55                 <File Name="python_d.pdb" />
     56             </Component>
     57             <Component Id="pythonw_d.exe" Directory="InstallDirectory" Guid="*">
     58                 <File Name="pythonw_d.exe" />
     59             </Component>
     60             <Component Id="pythonw_d.pdb" Directory="InstallDirectory" Guid="*">
     61                 <File Name="pythonw_d.pdb" />
     62             </Component>
     63         </ComponentGroup>
     64     </Fragment>
     65     
     66     <Fragment>
     67         <ComponentGroup Id="exe_icons">
     68             <Component Id="py.ico" Directory="DLLs" Guid="*">
     69                 <File Name="py.ico" Source="!(bindpath.src)PC\icons\py.ico" KeyPath="yes" />
     70             </Component>
     71             <Component Id="pyc.ico" Directory="DLLs" Guid="*">
     72                 <File Name="pyc.ico" Source="!(bindpath.src)PC\icons\pyc.ico" KeyPath="yes" />
     73             </Component>
     74             <Component Id="pyd.ico" Directory="DLLs" Guid="*">
     75                 <File Name="pyd.ico" Source="!(bindpath.src)PC\icons\pyd.ico" KeyPath="yes" />
     76             </Component>
     77         </ComponentGroup>
     78     </Fragment>
     79 </Wix>
     80