Skip to content
⌘ NSIS Forum Archive

painting issue after installation aborted by user

8 posts

dhiraj3301#

painting issue after installation aborted by user

I have used following code to quit installation after clicking cancel on component selection page

strcmp $XPUI_ABORTED 1 0 +2
quit

it quits installer but,the ui still displayed until we open another windows,it is paint issue,
Please tell me is there any parameter wrong in above code

Please any one tell me what is meaning of +2 written in above code?
dhiraj3301#
so,code written by me true,
same code i have written in Function Un.InstfileLeave it works file ,
but when i use that code

strcmp $XPUI_ABORTED 1 0 +2
quit

in function Function Un.COMPONENTLeave,it kills uninstaller process but it shows the gui of installer until when i open any other window.
dhiraj3301#
but same code is working in function Un.InstfileLeave

strcmp $XPUI_ABORTED 1 0 +2
quit

is this function is not allowed in Un.COMPONENTLeave function?
please give me some hint what to do for this issue.

thanks,
Dhiraj
MSG#
dhiraj3301, please stop asking questions without first searching for the answer yourself.

1) Click the blue 'search' link near the top of the page, next to "Forums Home" and "User Control Panel"
2) Click 'Advanced Search'
3) Under 'keyword', enter 'refresh', and select 'search titles only'.
4) Under 'Search in Forum(s)' select 'NSIS Discussion'
5) Under 'Show Results as' select 'threads'
6) Click 'Search Now'

And there you go. Third hit already has a solution.