Skip to content

Commit

Permalink
gh-95445: Ensure Windows msi uninstalls document folder successfully (G…
Browse files Browse the repository at this point in the history
…H-95465)

(cherry picked from commit 7d89738)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
  • Loading branch information
miss-islington and neonene committed Aug 1, 2022
1 parent e62a0df commit 3192fd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
@@ -0,0 +1 @@
Fixes the unsuccessful removal of the HTML document directory when uninstalling with Windows msi.
5 changes: 5 additions & 0 deletions Tools/msi/doc/doc.wxs
Expand Up @@ -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" />
Expand Down

0 comments on commit 3192fd7

Please sign in to comment.