![]() |
How to skip welcome page?
I've tried using an abort as a pre function. It seems to hide the program completely. ANy simple and good way to skip the cancel page?
|
if you mean you don't want it at all, just skip it :-)
#!insertmacro MUI_PAGE_WELCOME if you mean you want to skip it under some conditions, you should provide an example of what you want to do exactly. |
pre-Abort :)
1 Attachment(s)
The best way is not to include page at all, just remove Welcome page macro from your script ;) Abort in the Welcome pre function (not as) works correct, sample attached.
|
Yeah that was pretty dumb of me. I did try not including those pages though. But I had a problem where if I skip/omit the pages prior to the MUI_PAGE_INSTFILES, the program crashes due to some skinning conflict. If I have one page before MUI_PAGE_INSTFILES it is fine. But I can't abort a custom page to get to MUI_PAGE_INSTFILES, it crashes again. If I take out the skinning code that gets set at .onit it works fine too. Any work around to this? I'm going to end up makng a custom page that spawns something that hits okay after like a second or two as a retarded work around. Any other solution would be appreciated.
|
You should probably call the skinning code in .onGUIInit.
MUI uses .onGUIInit itself, but you can declare your own: code: -Stu |
Tried that but the skin comes up like missing chunks. It didn't crash though.
|
What skinning plugin are you using?
-Stu |
| All times are GMT. The time now is 04:35. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.