Archive: Modify Page directory


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


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.


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?


Use Modern UI (see the examples folder).

Stu


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


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