Kaydet (Commit) 04a4316a authored tarafından Steve Dower's avatar Steve Dower

Issue #25450: Updates shortcuts to start Python in installation directory.

üst 940f6a8f
......@@ -348,6 +348,8 @@ Build
Windows
-------
- Issue #25450: Updates shortcuts to start Python in installation directory.
- Issue #25164: Changes default all-users install directory to match per-user
directory.
......
......@@ -22,7 +22,8 @@
<Shortcut Id="python.chm"
Target="[#python.chm]"
Name="!(loc.ShortcutName)"
Description="!(loc.ShortcutDescription)" />
Description="!(loc.ShortcutDescription)"
WorkingDirectory="InstallDirectory" />
<RemoveFolder Id="Remove_MenuDir" On="uninstall" />
</Component>
<?endif ?>
......
......@@ -20,7 +20,8 @@
<Shortcut Id="python.exe"
Target="[#python.exe]"
Name="!(loc.ShortcutName)"
Description="!(loc.ShortcutDescription)" />
Description="!(loc.ShortcutDescription)"
WorkingDirectory="InstallDirectory" />
<RemoveFolder Id="Remove_MenuDir" Directory="MenuDir" On="uninstall" />
<RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
<RegistryValue Key="InstallPath\InstallGroup" Type="string" Value="!(loc.ProductName)" KeyPath="yes" />
......
......@@ -49,7 +49,8 @@
Description="!(loc.ShortcutDescription)"
Target="[PYTHONW_EXE]"
Arguments='"[#Lib_idlelib_idle.pyw]"'
Icon="idle.exe">
Icon="idle.exe"
WorkingDirectory="InstallDirectory">
<Icon Id="idle.exe" SourceFile="!(bindpath.src)Lib\idlelib\Icons\idle.ico" />
</Shortcut>
<Shortcut Id="pydoc.py"
......@@ -57,7 +58,8 @@
Arguments='-m pydoc -b'
Name="!(loc.PyDocShortcutName)"
Description="!(loc.PyDocShortcutDescription)"
Icon="idle.exe" />
Icon="idle.exe"
WorkingDirectory="InstallDirectory" />
</Component>
</Feature>
</Product>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment