]> granicus.if.org Git - python/commitdiff
Issue #25450: Updates shortcuts to start Python in installation directory.
authorSteve Dower <steve.dower@microsoft.com>
Sat, 31 Oct 2015 19:41:46 +0000 (12:41 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Sat, 31 Oct 2015 19:41:46 +0000 (12:41 -0700)
Misc/NEWS
Tools/msi/doc/doc.wxs
Tools/msi/exe/exe.wxs
Tools/msi/tcltk/tcltk.wxs

index 47c129b4f1c88211823cc1307d053fa7f8f06024..5b02c7802f018490f49ff6db952fef5ea1321cfd 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.
 
index bbe30a13e32697cf5dda6e2de4a80d5f9b401a04..8dd0e21ae39c9d38322f8dc333150e6b2d101dad 100644 (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 ?>
index dcbf646da0f17d528946de9ac4946f203e52a790..154cee5c4790b0624e0f9641d270b8a38d85af1a 100644 (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" />
index 0b83c5cb5c05a7809a50c76ff671b35707077c6f..eeae8e8b0dfa5fd9927e4dbf7b222e5e18161331 100644 (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>