Vankov
2nd May 2011 10:31 UTC
Modify Page directory
Hello,
I have a program installation with Page directory,but if i have already oldest version installed on a computer I need to modify the Page directory text and others to explain the user that he must select the location(directory) of existing oldest version.It is possible to to edit directory Page or i must create a new page and use "skipping pages" or it is another way to do that?
Regards,
Lubo
jiake
2nd May 2011 10:53 UTC
Fitst, you may "!define MUI_DIRECTORYPAGE_TEXT_TOP" to your custom text to remind that user must choose the directory of older version as the target. Secondly, you must check the path selected by user in the "LEAVE" function of the directory page, for example using IfFileExists command etc. You'd better check some files to ensure they are all existed but not only one file.
Vankov
2nd May 2011 11:33 UTC
Thanks for the reply,but actually i don`t use this interface "!insertmacro MUI_PAGE_DIRECTORY",I use the Page directory.Is there way to edit the page or i must migrate to this macro?
Afrow UK
2nd May 2011 11:39 UTC
Use Modern UI (see the examples folder).
Stu
Vankov
4th May 2011 14:44 UTC
Hello,
Now i use this macro but i need to select directory after check in "Page instfiles".So how to open the current page for directory browse after this check if is needed?I mean that i don`t need pre method,I need to call and show this page in progress of installation.
Regards,
Lubo
Afrow UK
4th May 2011 14:51 UTC
You can't do that unless you have two install files pages but that just gets messy. Why can't you show the directory page before? And you must NOT mix the Page instruction with MUI_PAGE_*.
Stu