* Add nsis for windows * Revert to one click true * Add nsis for windows * Revert to one click true * Add nsis for windows * Revert to one click true * Update message for uninstallation messageBox --------- Co-authored-by: Hien To <tominhhien97@gmail.com>
18 lines
489 B
NSIS
18 lines
489 B
NSIS
!include nsDialogs.nsh
|
|
|
|
XPStyle on
|
|
|
|
!macro customUnInstall
|
|
; Uninstall process execution
|
|
${ifNot} ${isUpdated}
|
|
# If you tick Delete fixed folder
|
|
MessageBox MB_OKCANCEL "Do you also want to delete the DEFAULT Jan data folder at $PROFILE\jan?" IDOK label_ok IDCANCEL label_cancel
|
|
label_ok:
|
|
# Delete user data folder
|
|
RMDir /r $PROFILE\jan
|
|
Goto end
|
|
label_cancel:
|
|
Goto end
|
|
end:
|
|
${endIf}
|
|
!macroend |