Archive: painting issue after installation aborted by user


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?


For relative jumps: http://nsis.sourceforge.net/Docs/Chapter4.html#4.4

Stu


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.


Perhaps XPUI has some cleanup code that needs to be called before quitting?

Stu


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


You'll have to contact the author of XPUI.

Stu


is there any function in nsis which will refresh the like whwn we press"F5"?

Thanks,
Dhiraj


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.