dhiraj3301
7th May 2010 06:59 UTC
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?
Afrow UK
7th May 2010 09:31 UTC
For relative jumps: http://nsis.sourceforge.net/Docs/Chapter4.html#4.4
Stu
dhiraj3301
7th May 2010 10:12 UTC
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.
Afrow UK
7th May 2010 10:41 UTC
Perhaps XPUI has some cleanup code that needs to be called before quitting?
Stu
dhiraj3301
7th May 2010 12:51 UTC
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
Afrow UK
7th May 2010 13:27 UTC
You'll have to contact the author of XPUI.
Stu
dhiraj3301
10th May 2010 10:12 UTC
is there any function in nsis which will refresh the like whwn we press"F5"?
Thanks,
Dhiraj
MSG
10th May 2010 12:55 UTC
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.