Skip to content

Commit 7d89738

Browse files
authoredAug 1, 2022
pythongh-95445: Ensure Windows msi uninstalls document folder successfully (pythonGH-95465)
1 parent d965d19 commit 7d89738

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixes the unsuccessful removal of the HTML document directory when uninstalling with Windows msi.

‎Tools/msi/doc/doc.wxs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
<RegistryValue Key="Help\Main Python Documentation" Type="string" Value="[#Doc_html_index.html]" KeyPath="yes" />
1818
</RegistryKey>
1919
</Component>
20+
21+
<Component Id="doc_folder" Directory="Doc" Guid="{22FD42DB-EC66-4B1C-B1FC-44E0CF7B2462}">
22+
<CreateFolder />
23+
<RemoveFolder Id="Remove_doc_folder" On="uninstall" />
24+
</Component>
2025
</Feature>
2126
<Feature Id="Shortcuts" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
2227
<ComponentGroupRef Id="doc_html" />

0 commit comments

Comments
 (0)
Please sign in to comment.