summaryrefslogtreecommitdiffstats
path: root/Tools/msi/doc/doc.wxs
diff options
context:
space:
mode:
authorneonene <53406459+neonene@users.noreply.github.com>2022-08-01 15:37:32 (GMT)
committerGitHub <noreply@github.com>2022-08-01 15:37:32 (GMT)
commit7d8973870bb079bf71d094cd966d6b6336f1e25f (patch)
tree8fc305308dd5b4f99c68a5a43395ed62cab9c42a /Tools/msi/doc/doc.wxs
parentd965d1995ec3efbbf666c2e7fab02217744d08e7 (diff)
downloadcpython-7d8973870bb079bf71d094cd966d6b6336f1e25f.zip
cpython-7d8973870bb079bf71d094cd966d6b6336f1e25f.tar.gz
cpython-7d8973870bb079bf71d094cd966d6b6336f1e25f.tar.bz2
gh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)
Diffstat (limited to 'Tools/msi/doc/doc.wxs')
-rw-r--r--Tools/msi/doc/doc.wxs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/msi/doc/doc.wxs b/Tools/msi/doc/doc.wxs
index e80fff4..49798c7 100644
--- a/Tools/msi/doc/doc.wxs
+++ b/Tools/msi/doc/doc.wxs
@@ -17,6 +17,11 @@
<RegistryValue Key="Help\Main Python Documentation" Type="string" Value="[#Doc_html_index.html]" KeyPath="yes" />
</RegistryKey>
</Component>
+
+ <Component Id="doc_folder" Directory="Doc" Guid="{22FD42DB-EC66-4B1C-B1FC-44E0CF7B2462}">
+ <CreateFolder />
+ <RemoveFolder Id="Remove_doc_folder" On="uninstall" />
+ </Component>
</Feature>
<Feature Id="Shortcuts" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
<ComponentGroupRef Id="doc_html" />