File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ Var DeleteConfiguration
88; Define the uninstaller section
99Section " Uninstall"
1010 ; Prompt the user to confirm uninstallation
11- MessageBox MB_YESNO |MB_ICONQUESTION " Are you sure you want to uninstall ${PRODUCT_NAME} ${PRODUCT_VERSION}?" /SD IDYES IDYES checkDeleteVenvPath
11+ MessageBox MB_YESNO |MB_ICONQUESTION " Are you sure you want to uninstall ${PRODUCT_NAME} ${PRODUCT_VERSION}?" IDYES checkDeleteVenvPath
1212 Abort
1313
1414checkDeleteVenvPath:
15- MessageBox MB_YESNO " Do you want to delete the contents in the default virtual environment path location?" IDYES deleteVenvPath
15+ MessageBox MB_YESNO | MB_ICONQUESTION " Do you want to delete the contents in the default virtual environment path location?" IDYES deleteVenvPath
1616 StrCpy $DeleteDefaultVenvPath 0
1717 Goto checkDeleteConfiguration
1818
@@ -21,7 +21,7 @@ deleteVenvPath:
2121 Goto checkDeleteConfiguration
2222
2323checkDeleteConfiguration:
24- MessageBox MB_YESNO " Do you want to delete the Ansys Python Manager stored configuration?" IDYES deleteConfiguration
24+ MessageBox MB_YESNO | MB_ICONQUESTION " Do you want to delete the Ansys Python Manager stored configuration?" IDYES deleteConfiguration
2525 StrCpy $DeleteConfiguration 0
2626 Goto doneAsking
2727
@@ -42,7 +42,7 @@ doneAsking:
4242 RMDir /r " $PROFILE\.ansys_python_venvs"
4343 ${EndIf}
4444 ${If} $DeleteConfiguration == 1
45- RMDir /r " $PROFILE\.ansys"
45+ RMDir /r " $PROFILE\.ansys\ansys_python_manager "
4646 ${EndIf}
4747
4848 ; Remove the installed files
You can’t perform that action at this time.
0 commit comments