soylentyellow
21st February 2007 22:28 UTC
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
21st February 2007 22:35 UTC
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
22nd February 2007 00:01 UTC
With custom pages, Pre is simply before you call the InstallOptions plugin and Show would be between InitDialog and Show plugin functions.
-Stu
soylentyellow
23rd February 2007 19:36 UTC
Doh, looks like I got it working just how I want it now, not sure why it was eluding me before.
Thanks
soylentyellow
23rd February 2007 19:49 UTC
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 :)