diff options
author | neonene <53406459+neonene@users.noreply.github.com> | 2022-08-01 15:37:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 15:37:32 (GMT) |
commit | 7d8973870bb079bf71d094cd966d6b6336f1e25f (patch) | |
tree | 8fc305308dd5b4f99c68a5a43395ed62cab9c42a /Tools/msi/doc/doc.wxs | |
parent | d965d1995ec3efbbf666c2e7fab02217744d08e7 (diff) | |
download | cpython-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.wxs | 5 |
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" /> |