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
8
8
; Define the uninstaller section
9
9
Section " Uninstall"
10
10
; 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
12
12
Abort
13
13
14
14
checkDeleteVenvPath:
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
16
16
StrCpy $DeleteDefaultVenvPath 0
17
17
Goto checkDeleteConfiguration
18
18
@@ -21,7 +21,7 @@ deleteVenvPath:
21
21
Goto checkDeleteConfiguration
22
22
23
23
checkDeleteConfiguration:
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
25
25
StrCpy $DeleteConfiguration 0
26
26
Goto doneAsking
27
27
@@ -42,7 +42,7 @@ doneAsking:
42
42
RMDir /r " $PROFILE\.ansys_python_venvs"
43
43
${EndIf}
44
44
${If} $DeleteConfiguration == 1
45
- RMDir /r " $PROFILE\.ansys"
45
+ RMDir /r " $PROFILE\.ansys\ansys_python_manager "
46
46
${EndIf}
47
47
48
48
; Remove the installed files
You can’t perform that action at this time.
0 commit comments