summaryrefslogtreecommitdiffstats
path: root/Tools/msi/doc
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-02-12 01:49:01 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2015-02-12 01:49:01 (GMT)
commitdb80aec67a90b80992afea660ab9de4383017cde (patch)
tree18cc08abddf34b182aca55f720676975067f295c /Tools/msi/doc
parent8b62bbf2e5bbaa392a79eb69c558b41dfe68e745 (diff)
downloadcpython-db80aec67a90b80992afea660ab9de4383017cde.zip
cpython-db80aec67a90b80992afea660ab9de4383017cde.tar.gz
cpython-db80aec67a90b80992afea660ab9de4383017cde.tar.bz2
Fix installer Back button going to wrong page when modifying.
Also fix error when doing test builds without documentation file.
Diffstat (limited to 'Tools/msi/doc')
-rw-r--r--Tools/msi/doc/doc.wxs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/msi/doc/doc.wxs b/Tools/msi/doc/doc.wxs
index 6becaf6..ddab83b 100644
--- a/Tools/msi/doc/doc.wxs
+++ b/Tools/msi/doc/doc.wxs
@@ -10,6 +10,7 @@
<Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
<ComponentGroupRef Id="doc" />
+ <?ifdef DocFilename ?>
<Component Id="doc_shortcut" Directory="MenuDir" Guid="*">
<RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
<RegistryValue Key="Help\Main Python Documentation" Type="string" Value="[#python.chm]" KeyPath="yes" />
@@ -20,6 +21,7 @@
Description="!(loc.ShortcutDescription)" />
<RemoveFolder Id="Remove_MenuDir" On="uninstall" />
</Component>
+ <?endif ?>
</Feature>
</Product>