Home | History | Annotate | Download | only in lib
      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;_queue ?>
      4     <Fragment>
      5         <DirectoryRef Id="Lib_venv_scripts_nt" />
      6 
      7         <ComponentGroup Id="lib_extensions">
      8             <?foreach ext in $(var.exts)?>
      9         
     10             <Component Id="$(var.ext).pyd" Directory="DLLs" Guid="*">
     11                 <File Name="$(var.ext).pyd" KeyPath="yes" />
     12             </Component>
     13             
     14             <?endforeach ?>
     15             
     16             <Component Id="sqlite3.dll" Directory="DLLs" Guid="*">
     17                 <File Name="sqlite3.dll" KeyPath="yes" />
     18             </Component>
     19             <Component Id="libcrypto.dll" Directory="DLLs" Guid="*">
     20                 <File Name="libcrypto$(var.ssltag).dll" KeyPath="yes" />
     21             </Component>
     22             <Component Id="libssl.dll" Directory="DLLs" Guid="*">
     23                 <File Name="libssl$(var.ssltag).dll" KeyPath="yes" />
     24             </Component>
     25             <Component Id="venvlauncher.exe" Directory="Lib_venv_scripts_nt" Guid="*">
     26                 <File Name="python.exe" Source="venvlauncher.exe" KeyPath="yes" />
     27             </Component>
     28             <Component Id="venvwlauncher.exe" Directory="Lib_venv_scripts_nt" Guid="*">
     29                 <File Name="pythonw.exe" Source="venvwlauncher.exe" KeyPath="yes" />
     30             </Component>
     31         </ComponentGroup>
     32     </Fragment>
     33     
     34     <Fragment>
     35         <!-- The auto-generated directory is not available when building symbols -->
     36         <DirectoryRef Id="Lib">
     37             <Directory Id="Lib_venv__pdbs" Name="venv">
     38                 <Directory Id="Lib_venv_scripts__pdbs" Name="scripts">
     39                     <Directory Id="Lib_venv_scripts_nt__pdbs" Name="nt" />
     40                 </Directory>
     41             </Directory>
     42         </DirectoryRef>
     43 
     44         <ComponentGroup Id="lib_extensions_symbols">
     45             <?foreach ext in $(var.exts)?>
     46             
     47             <Component Id="$(var.ext).pdb" Directory="DLLs" Guid="*">
     48                 <File Name="$(var.ext).pdb" />
     49             </Component>
     50             
     51             <?endforeach ?>
     52             
     53             <Component Id="sqlite3.pdb" Directory="DLLs" Guid="*">
     54                 <File Name="sqlite3.pdb" />
     55             </Component>
     56             <Component Id="libcrypto.pdb" Directory="DLLs" Guid="*">
     57                 <File Name="libcrypto$(var.ssltag).pdb" KeyPath="yes" />
     58             </Component>
     59             <Component Id="libssl.pdb" Directory="DLLs" Guid="*">
     60                 <File Name="libssl$(var.ssltag).pdb" KeyPath="yes" />
     61             </Component>
     62             <Component Id="venvlauncher.pdb" Directory="Lib_venv_scripts_nt__pdbs" Guid="*">
     63                 <File Name="python.pdb" Source="venvlauncher.pdb" KeyPath="yes" />
     64             </Component>
     65             <Component Id="venvwlauncher.pdb" Directory="Lib_venv_scripts_nt__pdbs" Guid="*">
     66                 <File Name="pythonw.pdb" Source="venvwlauncher.pdb" KeyPath="yes" />
     67             </Component>
     68         </ComponentGroup>
     69     </Fragment>
     70     
     71     <Fragment>
     72         <ComponentGroup Id="lib_extensions_d">
     73             <?foreach ext in $(var.exts)?>
     74             
     75             <Component Id="$(var.ext)_d.pyd" Directory="DLLs" Guid="*">
     76                 <File Name="$(var.ext)_d.pyd" />
     77             </Component>
     78             <Component Id="$(var.ext)_d.pdb" Directory="DLLs" Guid="*">
     79                 <File Name="$(var.ext)_d.pdb" />
     80             </Component>
     81             
     82             <?endforeach ?>
     83             
     84             <Component Id="sqlite3_d.dll" Directory="DLLs" Guid="*">
     85                 <File Name="sqlite3_d.dll" KeyPath="yes" />
     86             </Component>
     87             <Component Id="sqlite3_d.pdb" Directory="DLLs" Guid="*">
     88                 <File Name="sqlite3_d.pdb" KeyPath="yes" />
     89             </Component>
     90         </ComponentGroup>
     91     </Fragment>
     92     <Fragment>
     93         <PropertyRef Id="REGISTRYKEY" />
     94         
     95         <ComponentGroup Id="lib_files">
     96             <Component Id="PythonPathRegistry" Directory="Lib" Guid="*">
     97                 <RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
     98                     <RegistryValue Key="PythonPath" Type="string" Value="[Lib];[DLLs]" />
     99                 </RegistryKey>
    100             </Component>
    101             <Component Id="Lib2to3_pickle_remove" Directory="Lib_lib2to3" Guid="$(var.RemoveLib2to3PickleComponentGuid)">
    102                 <RemoveFile Id="Lib2to3_pickle_remove_files" Name="*.pickle" On="uninstall" />
    103                 <RemoveFolder Id="Lib2to3_pickle_remove_folder" On="uninstall" />
    104             </Component>
    105         </ComponentGroup>
    106     </Fragment>
    107     <Fragment>
    108         <ComponentGroup Id="lib_cat">
    109             <Component Id="lib_cat" Directory="Catalogs" Guid="*">
    110                 <File Name="python_lib.cat" KeyPath="yes" />
    111             </Component>
    112         </ComponentGroup>
    113     </Fragment>
    114 </Wix>
    115