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 ...@@ -348,6 +348,8 @@ Build
Windows Windows
------- -------
- Issue #25450: Updates shortcuts to start Python in installation directory.
- Issue #25164: Changes default all-users install directory to match per-user - Issue #25164: Changes default all-users install directory to match per-user
directory. directory.
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
<Shortcut Id="python.chm" <Shortcut Id="python.chm"
Target="[#python.chm]" Target="[#python.chm]"
Name="!(loc.ShortcutName)" Name="!(loc.ShortcutName)"
Description="!(loc.ShortcutDescription)" /> Description="!(loc.ShortcutDescription)"
WorkingDirectory="InstallDirectory" />
<RemoveFolder Id="Remove_MenuDir" On="uninstall" /> <RemoveFolder Id="Remove_MenuDir" On="uninstall" />
</Component> </Component>
<?endif ?> <?endif ?>
......
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
<Shortcut Id="python.exe" <Shortcut Id="python.exe"
Target="[#python.exe]" Target="[#python.exe]"
Name="!(loc.ShortcutName)" Name="!(loc.ShortcutName)"
Description="!(loc.ShortcutDescription)" /> Description="!(loc.ShortcutDescription)"
WorkingDirectory="InstallDirectory" />
<RemoveFolder Id="Remove_MenuDir" Directory="MenuDir" On="uninstall" /> <RemoveFolder Id="Remove_MenuDir" Directory="MenuDir" On="uninstall" />
<RegistryKey Root="HKMU" Key="[REGISTRYKEY]"> <RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
<RegistryValue Key="InstallPath\InstallGroup" Type="string" Value="!(loc.ProductName)" KeyPath="yes" /> <RegistryValue Key="InstallPath\InstallGroup" Type="string" Value="!(loc.ProductName)" KeyPath="yes" />
......
...@@ -49,7 +49,8 @@ ...@@ -49,7 +49,8 @@
Description="!(loc.ShortcutDescription)" Description="!(loc.ShortcutDescription)"
Target="[PYTHONW_EXE]" Target="[PYTHONW_EXE]"
Arguments='"[#Lib_idlelib_idle.pyw]"' 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" /> <Icon Id="idle.exe" SourceFile="!(bindpath.src)Lib\idlelib\Icons\idle.ico" />
</Shortcut> </Shortcut>
<Shortcut Id="pydoc.py" <Shortcut Id="pydoc.py"
...@@ -57,7 +58,8 @@ ...@@ -57,7 +58,8 @@
Arguments='-m pydoc -b' Arguments='-m pydoc -b'
Name="!(loc.PyDocShortcutName)" Name="!(loc.PyDocShortcutName)"
Description="!(loc.PyDocShortcutDescription)" Description="!(loc.PyDocShortcutDescription)"
Icon="idle.exe" /> Icon="idle.exe"
WorkingDirectory="InstallDirectory" />
</Component> </Component>
</Feature> </Feature>
</Product> </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