mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #28251: Improvements to help manuals on Windows.
This commit is contained in:
commit
765285337a
7 changed files with 28 additions and 5 deletions
|
@ -43,6 +43,9 @@ if defined BUILDDOC (
|
|||
if errorlevel 1 goto :eof
|
||||
)
|
||||
|
||||
rem Build the launcher MSI separately
|
||||
msbuild "%D%launcher\launcher.wixproj" /p:Platform=x86
|
||||
|
||||
set BUILD_CMD="%D%bundle\snapshot.wixproj"
|
||||
if defined BUILDTEST (
|
||||
set BUILD_CMD=%BUILD_CMD% /p:UseTestMarker=true
|
||||
|
|
|
@ -7,6 +7,12 @@
|
|||
<PropertyRef Id="UpgradeTable" />
|
||||
<PropertyRef Id="REGISTRYKEY" />
|
||||
|
||||
<Property Id="HHExe" Value="C:\Windows\hh.exe" />
|
||||
<CustomAction Id="SetHHExe" Property="HHCExe" Value='[WindowsFolder]\hh.exe' Execute="immediate" />
|
||||
<InstallExecuteSequence>
|
||||
<Custom Action="SetHHExe" Before="CostFinalize">1</Custom>
|
||||
</InstallExecuteSequence>
|
||||
|
||||
<Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
|
||||
<ComponentGroupRef Id="doc" Primary="yes" />
|
||||
<ComponentRef Id="OptionalFeature" />
|
||||
|
@ -20,10 +26,12 @@
|
|||
<RegistryValue Name="$(var.OptionalFeatureName)_shortcut" Type="string" Value="$(var.Version)" KeyPath="yes" />
|
||||
</RegistryKey>
|
||||
<Shortcut Id="python.chm"
|
||||
Target="[#python.chm]"
|
||||
Target="[HHExe]"
|
||||
Arguments="[#python.chm]"
|
||||
Name="!(loc.ShortcutName)"
|
||||
Description="!(loc.ShortcutDescription)"
|
||||
WorkingDirectory="InstallDirectory" />
|
||||
WorkingDirectory="InstallDirectory"
|
||||
Show="maximized" />
|
||||
<RemoveFolder Id="Remove_MenuDir" On="uninstall" />
|
||||
</Component>
|
||||
<?endif ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue