• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3    <Fragment>
4        <ComponentGroup Id="launcher_reg">
5            <Component Id="file_association" Directory="LauncherInstallDirectory" Guid="{5AF84D9A-D820-456B-B230-6E0105A50276}">
6                <RegistryValue KeyPath="yes" Root="HKMU" Key="Software\Python\PyLauncher" Name="AssociateFiles" Value="1" Type="integer" />
7
8                <ProgId Id="Python.File" Description="!(loc.PythonFileDescription)" Advertise="no" Icon="py.exe" IconIndex="1">
9                    <Extension Id="py" ContentType="text/plain">
10                        <Verb Id="open" TargetFile="py.exe" Argument="&quot;%L&quot; %*" />
11                    </Extension>
12                </ProgId>
13                <RegistryValue Root="HKCR" Key="Python.File\shellex\DropHandler" Value="{BEA218D2-6950-497B-9434-61683EC065FE}" Type="string" />
14
15                <ProgId Id="Python.NoConFile" Description="!(loc.PythonNoConFileDescription)" Advertise="no" Icon="py.exe" IconIndex="1">
16                    <Extension Id="pyw" ContentType="text/plain">
17                        <Verb Id="open" TargetFile="pyw.exe" Argument="&quot;%L&quot; %*" />
18                    </Extension>
19                </ProgId>
20                <RegistryValue Root="HKCR" Key="Python.NoConFile\shellex\DropHandler" Value="{BEA218D2-6950-497B-9434-61683EC065FE}" Type="string" />
21
22                <ProgId Id="Python.CompiledFile" Description="!(loc.PythonCompiledFileDescription)" Advertise="no" Icon="py.exe" IconIndex="2">
23                    <Extension Id="pyc">
24                        <Verb Id="open" TargetFile="py.exe" Argument="&quot;%L&quot; %*" />
25                    </Extension>
26                    <Extension Id="pyo" />
27                </ProgId>
28                <RegistryValue Root="HKCR" Key="Python.CompiledFile\shellex\DropHandler" Value="{BEA218D2-6950-497B-9434-61683EC065FE}" Type="string" />
29
30                <ProgId Id="Python.Extension" Description="!(loc.PythonExtensionDescription)" Advertise="no" Icon="py.exe" IconIndex="3">
31                    <Extension Id="pyd" />
32                </ProgId>
33
34                <ProgId Id="Python.ArchiveFile" Description="!(loc.PythonArchiveFileDescription)" Advertise="no" Icon="py.exe" IconIndex="5">
35                    <Extension Id="pyz" ContentType="application/x-zip-compressed">
36                        <Verb Id="open" TargetFile="py.exe" Argument="&quot;%L&quot; %*" />
37                    </Extension>
38                </ProgId>
39                <RegistryValue Root="HKCR" Key="Python.ArchiveFile\shellex\DropHandler" Value="{BEA218D2-6950-497B-9434-61683EC065FE}" Type="string" />
40
41                <ProgId Id="Python.NoConArchiveFile" Description="!(loc.PythonNoConArchiveFileDescription)" Advertise="no" Icon="py.exe" IconIndex="5">
42                    <Extension Id="pyzw" ContentType="application/x-zip-compressed">
43                        <Verb Id="open" TargetFile="pyw.exe" Argument="&quot;%L&quot; %*" />
44                    </Extension>
45                </ProgId>
46                <RegistryValue Root="HKCR" Key="Python.NoConArchiveFile\shellex\DropHandler" Value="{BEA218D2-6950-497B-9434-61683EC065FE}" Type="string" />
47            </Component>
48        </ComponentGroup>
49    </Fragment>
50</Wix>
51