Hi all.
I know this should be easy, but clearly I'm missing something. When my installer calls an Abort, I do not want the back button to be visible on the Abort page.
I Can can Hide the Cancel button with (just to test):
GetDlgItem $0 $HWNDPARENT 2
ShowWindow $0 0
Abort
But the Back button is not affected by:
GetDlgItem $0 $HWNDPARENT 3
ShowWindow $0 0
Abort
I have tried $HWNDPARENT 0 through 9. I know, I'm grabbing at straws! Any thoughts? Thanks.
Hide Back Button on Abort Page
5 posts
You need to do it in the abort page's show/create function if it has one. If you do it before, NSIS just makes it visible again before the page is shown (safety feature).
-Stu
-Stu
Originally posted by Afrow UKHmmmm, OK good point. How do I get into the abort page's show function if I'm just using a simple abort command? Or would I have to use a custom page abort (does that even exist)? Thanks for the input, I really appreciate it.
You need to do it in the abort page's show/create function if it has one. If you do it before, NSIS just makes it visible again before the page is shown (safety feature).
-Stu
Well when you said Abort page I thought you're using some special InstallOptions Abort page someone has made...
What is the Abort page?? Is it something new in Modern UI?
-Stu
What is the Abort page?? Is it something new in Modern UI?
-Stu
I got that problem too, I can't hide the button with "0"
.But when i used conbine with WinMessage.nsh it works.
.But when i used conbine with WinMessage.nsh it works.