1<?xml version="1.0" encoding="UTF-8"?> 2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> 3 <?define exts=pyexpat;select;unicodedata;winsound;_bz2;_elementtree;_socket;_ssl;_msi;_ctypes;_hashlib;_multiprocessing;_lzma;_decimal;_overlapped;_sqlite3;_asyncio ?> 4 <Fragment> 5 <ComponentGroup Id="lib_extensions"> 6 <?foreach ext in $(var.exts)?> 7 8 <Component Id="$(var.ext).pyd" Directory="DLLs" Guid="*"> 9 <File Name="$(var.ext).pyd" KeyPath="yes" /> 10 </Component> 11 12 <?endforeach ?> 13 14 <Component Id="sqlite3.dll" Directory="DLLs" Guid="*"> 15 <File Name="sqlite3.dll" KeyPath="yes" /> 16 </Component> 17 </ComponentGroup> 18 </Fragment> 19 20 <Fragment> 21 <ComponentGroup Id="lib_extensions_symbols"> 22 <?foreach ext in $(var.exts)?> 23 24 <Component Id="$(var.ext).pdb" Directory="DLLs" Guid="*"> 25 <File Name="$(var.ext).pdb" /> 26 </Component> 27 28 <?endforeach ?> 29 30 <Component Id="sqlite3.pdb" Directory="DLLs" Guid="*"> 31 <File Name="sqlite3.pdb" /> 32 </Component> 33 </ComponentGroup> 34 </Fragment> 35 36 <Fragment> 37 <ComponentGroup Id="lib_extensions_d"> 38 <?foreach ext in $(var.exts)?> 39 40 <Component Id="$(var.ext)_d.pyd" Directory="DLLs" Guid="*"> 41 <File Name="$(var.ext)_d.pyd" /> 42 </Component> 43 <Component Id="$(var.ext)_d.pdb" Directory="DLLs" Guid="*"> 44 <File Name="$(var.ext)_d.pdb" /> 45 </Component> 46 47 <?endforeach ?> 48 49 <Component Id="sqlite3_d.dll" Directory="DLLs" Guid="*"> 50 <File Name="sqlite3_d.dll" KeyPath="yes" /> 51 </Component> 52 <Component Id="sqlite3_d.pdb" Directory="DLLs" Guid="*"> 53 <File Name="sqlite3_d.pdb" KeyPath="yes" /> 54 </Component> 55 </ComponentGroup> 56 </Fragment> 57 <Fragment> 58 <PropertyRef Id="REGISTRYKEY" /> 59 60 <ComponentGroup Id="lib_files"> 61 <Component Id="PythonPathRegistry" Directory="Lib" Guid="*"> 62 <RegistryKey Root="HKMU" Key="[REGISTRYKEY]"> 63 <RegistryValue Key="PythonPath" Type="string" Value="[Lib];[DLLs]" /> 64 </RegistryKey> 65 </Component> 66 <Component Id="Lib2to3_pickle_remove" Directory="Lib_lib2to3" Guid="$(var.RemoveLib2to3PickleComponentGuid)"> 67 <RemoveFile Id="Lib2to3_pickle_remove_files" Name="*.pickle" On="uninstall" /> 68 <RemoveFolder Id="Lib2to3_pickle_remove_folder" On="uninstall" /> 69 </Component> 70 </ComponentGroup> 71 </Fragment> 72 <Fragment> 73 <ComponentGroup Id="lib_cat"> 74 <Component Id="lib_cat" Directory="Catalogs" Guid="*"> 75 <File Name="python_lib.cat" KeyPath="yes" /> 76 </Component> 77 </ComponentGroup> 78 </Fragment> 79</Wix> 80