Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Tools/msi/launcher/launcher_reg.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,30 @@
</ProgId>
<RegistryValue Root="HKCR" Key="Python.NoConArchiveFile\shellex\DropHandler" Value="{BEA218D2-6950-497B-9434-61683EC065FE}" Type="string" />
</Component>

<Component Id="NewPythonFileContext"
Directory="LauncherInstallDirectory"
Guid="{A6E928C2-5534-41B1-B5FA-2D661FDFCA9B}">
<!-- Associate .py with our ProgId if not already done -->
<RegistryValue Root="HKCR"
Key=".py"
Name=""
Type="string"
Value="Python.File"
KeyPath="yes" />
<!-- The ShellNew hook for “New > Python File” -->
<RegistryValue Root="HKCR"
Key=".py\ShellNew"
Name="NullFile"
Type="string"
Value="" />
<!-- Ensure the Python.File description is set -->
<RegistryValue Root="HKCR"
Key="Python.File"
Name=""
Type="string"
Value="Python Script" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>
Loading