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

This commit is contained in:
Steve Dower 2015-10-31 12:41:46 -07:00
parent 940f6a8f11
commit 04a4316acc
4 changed files with 10 additions and 4 deletions

View File

@ -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.

View File

@ -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 ?>

View File

@ -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" />

View File

@ -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>