summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/lib/lib_files.wxs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Tools/msi/lib/lib_files.wxs b/Tools/msi/lib/lib_files.wxs
index da9d1c9..4bd0c57 100644
--- a/Tools/msi/lib/lib_files.wxs
+++ b/Tools/msi/lib/lib_files.wxs
@@ -2,6 +2,8 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?define exts=pyexpat;select;unicodedata;winsound;_bz2;_elementtree;_socket;_ssl;_msi;_ctypes;_hashlib;_multiprocessing;_lzma;_decimal;_overlapped;_sqlite3;_asyncio;_queue;_contextvars ?>
<Fragment>
+ <DirectoryRef Id="Lib_venv_scripts_nt" />
+
<ComponentGroup Id="lib_extensions">
<?foreach ext in $(var.exts)?>
@@ -20,10 +22,25 @@
<Component Id="libssl.dll" Directory="DLLs" Guid="*">
<File Name="libssl$(var.ssltag).dll" KeyPath="yes" />
</Component>
+ <Component Id="venvlauncher.exe" Directory="Lib_venv_scripts_nt" Guid="*">
+ <File Name="python.exe" Source="venvlauncher.exe" KeyPath="yes" />
+ </Component>
+ <Component Id="venvwlauncher.exe" Directory="Lib_venv_scripts_nt" Guid="*">
+ <File Name="pythonw.exe" Source="venvwlauncher.exe" KeyPath="yes" />
+ </Component>
</ComponentGroup>
</Fragment>
<Fragment>
+ <!-- The auto-generated directory is not available when building symbols -->
+ <DirectoryRef Id="Lib">
+ <Directory Id="Lib_venv__pdbs" Name="venv">
+ <Directory Id="Lib_venv_scripts__pdbs" Name="scripts">
+ <Directory Id="Lib_venv_scripts_nt__pdbs" Name="nt" />
+ </Directory>
+ </Directory>
+ </DirectoryRef>
+
<ComponentGroup Id="lib_extensions_symbols">
<?foreach ext in $(var.exts)?>
@@ -42,6 +59,12 @@
<Component Id="libssl.pdb" Directory="DLLs" Guid="*">
<File Name="libssl$(var.ssltag).pdb" KeyPath="yes" />
</Component>
+ <Component Id="venvlauncher.pdb" Directory="Lib_venv_scripts_nt__pdbs" Guid="*">
+ <File Name="python.pdb" Source="venvlauncher.pdb" KeyPath="yes" />
+ </Component>
+ <Component Id="venvwlauncher.pdb" Directory="Lib_venv_scripts_nt__pdbs" Guid="*">
+ <File Name="pythonw.pdb" Source="venvwlauncher.pdb" KeyPath="yes" />
+ </Component>
</ComponentGroup>
</Fragment>