aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-01 09:07:24 -0700
committerGitHub <noreply@github.com>2022-08-01 09:07:24 -0700
commit3192fd7683ad979d7f5ba996801da474c1606786 (patch)
tree24871adf996aa652b0944b626544e3513bcfaed3 /Tools
parente62a0dfab2bbc29324ca1879e287fff7fa8f21e0 (diff)
downloadcpython3-3192fd7683ad979d7f5ba996801da474c1606786.tar.gz
gh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)
(cherry picked from commit 7d8973870bb079bf71d094cd966d6b6336f1e25f) Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Diffstat (limited to 'Tools')
-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 e80fff4341..49798c7526 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" />