diff options
author | Brett Cannon <brett@python.org> | 2015-03-13 14:40:49 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-03-13 14:40:49 (GMT) |
commit | cc4dfc1b75e68863781beae49fc8cac5982c1c25 (patch) | |
tree | fcc63e3a9edc2d2777a9a8b681386c02c382d0d3 /Tools/msi/launcher/launcher_reg.wxs | |
parent | ff2a661ef0b660588523d5cd3764c377d7078c63 (diff) | |
download | cpython-cc4dfc1b75e68863781beae49fc8cac5982c1c25.zip cpython-cc4dfc1b75e68863781beae49fc8cac5982c1c25.tar.gz cpython-cc4dfc1b75e68863781beae49fc8cac5982c1c25.tar.bz2 |
Issue #23491: Implement PEP 441: Improving Python Zip Application Support
Thanks to Paul Moore for the PEP and implementation.
Diffstat (limited to 'Tools/msi/launcher/launcher_reg.wxs')
-rw-r--r-- | Tools/msi/launcher/launcher_reg.wxs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tools/msi/launcher/launcher_reg.wxs b/Tools/msi/launcher/launcher_reg.wxs index aab3d11..4e5782c 100644 --- a/Tools/msi/launcher/launcher_reg.wxs +++ b/Tools/msi/launcher/launcher_reg.wxs @@ -26,6 +26,20 @@ <Extension Id="$(var.FileExtension)o" /> </ProgId> <RegistryValue Root="HKCR" Key="$(var.TestPrefix)Python.CompiledFile\shellex\DropHandler" Value="{60254CA5-953B-11CF-8C96-00AA00B8708C}" Type="string" /> + + <ProgId Id="$(var.TestPrefix)Python.ArchiveFile" Description="!(loc.PythonArchiveFileDescription)" Advertise="no" Icon="py.exe" IconIndex="1"> + <Extension Id="$(var.ArchiveFileExtension)" ContentType="application/x-zip-compressed"> + <Verb Id="open" TargetFile="py.exe" Argument=""%L" %*" /> + </Extension> + </ProgId> + <RegistryValue Root="HKCR" Key="$(var.TestPrefix)Python.ArchiveFile\shellex\DropHandler" Value="{60254CA5-953B-11CF-8C96-00AA00B8708C}" Type="string" /> + + <ProgId Id="$(var.TestPrefix)Python.NoConArchiveFile" Description="!(loc.PythonNoConArchiveFileDescription)" Advertise="no" Icon="py.exe" IconIndex="1"> + <Extension Id="$(var.ArchiveFileExtension)w" ContentType="application/x-zip-compressed"> + <Verb Id="open" TargetFile="pyw.exe" Argument=""%L" %*" /> + </Extension> + </ProgId> + <RegistryValue Root="HKCR" Key="$(var.TestPrefix)Python.NoConArchiveFile\shellex\DropHandler" Value="{60254CA5-953B-11CF-8C96-00AA00B8708C}" Type="string" /> </Component> </ComponentGroup> </Fragment> |