summaryrefslogtreecommitdiffstats
path: root/Tools/msi
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-23 00:11:53 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-23 00:11:53 (GMT)
commit3e7d93dc705d32b7daade4e2ae60811bc79db615 (patch)
treef62f48ff8221321765f06c0265bd76cb4bb99d14 /Tools/msi
parent3bff73890e0fca60bb74cd99abcc7f1562b4fa61 (diff)
parent765285337a73bcbed608434fa98b9964fa33c74a (diff)
downloadcpython-3e7d93dc705d32b7daade4e2ae60811bc79db615.zip
cpython-3e7d93dc705d32b7daade4e2ae60811bc79db615.tar.gz
cpython-3e7d93dc705d32b7daade4e2ae60811bc79db615.tar.bz2
Issue #28251: Improvements to help manuals on Windows.
Diffstat (limited to 'Tools/msi')
-rw-r--r--Tools/msi/build.bat3
-rw-r--r--Tools/msi/doc/doc.wxs12
2 files changed, 13 insertions, 2 deletions
diff --git a/Tools/msi/build.bat b/Tools/msi/build.bat
index a61ace8..69f00c0 100644
--- a/Tools/msi/build.bat
+++ b/Tools/msi/build.bat
@@ -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
diff --git a/Tools/msi/doc/doc.wxs b/Tools/msi/doc/doc.wxs
index 8dd0e21..306fb11 100644
--- a/Tools/msi/doc/doc.wxs
+++ b/Tools/msi/doc/doc.wxs
@@ -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 ?>