I have a custom page that I created using <infoparameter>. I am showing this page in lieu of the 'Ready to Install' page because I wanted to be able to show the user the installation directory and installation type as a final confirmation. I was able to change the next button text on this page with the following Pre Show Page Action:
<preShowPageActionList> <setInstallerVariable> <name>ui.button(next).text</name> <value>Install</value> </setInstallerVariable> </preShowPageActionList>
However, what happens is that if the user clicks 'Back' the previous page also bears the 'Install' text in the button when it should really read 'Next >'. Is this a bug?
My installer has the following "custom pages":
- an installdir page where the user can enter an installation directory, the 'Next' button text is Next >
- an installation_type page where the user can select an installation type from two available radio buttons: 'Full Installation' and 'Minimal Installation'. The 'Next' button text is Next >
- an install_confirmation page where the user is shown the install directory and installation type, I changed the button text to 'Install' here.
I enabled 'Allow Component' selection so that between pages 2 and 3, the component selection page appears showing the components that are being installed according to the selected installation type.
The problem still occurs after applying the suggested solution. Mainly what happens is that, if I click back from page 3, the component selection page displays 'Install' as the text for the next button instead of Next. However, if I continue to click back again from the component selection page, page 2 displays 'Next' correctly. And, if I click Next from page 2, the component selection page displays 'Next' correctly.
Please sign in to leave a comment.