Skip to content

Commit 85308cf

Browse files
committed
fix: various icon changes and paths
2 parents 9b2fb32 + f255443 commit 85308cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

uninstall.nsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Var DeleteConfiguration
88
; Define the uninstaller section
99
Section "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

1414
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
1616
StrCpy $DeleteDefaultVenvPath 0
1717
Goto checkDeleteConfiguration
1818

@@ -21,7 +21,7 @@ deleteVenvPath:
2121
Goto checkDeleteConfiguration
2222

2323
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
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

0 commit comments

Comments
 (0)