Skip to content
⌘ NSIS Forum Archive

PageEx

5 posts

soylentyellow#

PageEx

Any reason why this would stop a script from compiling

!insertmacro MUI_PAGE_COMPONENTS
PageEx custom
PageCallbacks PreIntouch ShowIntouch Intouch
PageExEnd
Page custom ShowIPAddress IPAddress
Page custom ShowAutomaticLogin AutomaticLogin
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

Are custom pages simply not able to have 3 functions? is that only for internal page types?


If I want something to take place immediately when a user reaches this one custom page what is an approach I can take? Just working with "Page Custom" wasnt going anywhere.

Should I resort to using PageEx to add my function to the leave-function of the internal page type that is right before my custom page?

-Soy
Red Wine#
Are custom pages simply not able to have 3 functions? is that only for internal page types?
Right, just 2 callbacks, show (create) the custom page, and leave.
Afrow UK#
With custom pages, Pre is simply before you call the InstallOptions plugin and Show would be between InitDialog and Show plugin functions.

-Stu
soylentyellow#
Doh, looks like I got it working just how I want it now, not sure why it was eluding me before.

Thanks
soylentyellow#
yup, works like I charm, the frustrating thing is I thought I tried it this way but I must have done soemthing different this time.

It checks for something on the computer and if the requirement is already met it doesnt show the custom page for it 🙂