If I use:
[setup]
Password=mypass
The password page is after the welcome page and the license page.
How to move the password page before the welcome page? (at first).
If I use:
[setup]
Password=mypass
The password page is after the welcome page and the license page.
How to move the password page before the welcome page? (at first).
You cannot change order of the standard pages. Nor you can create a custom page before the "welcome" page.
Your options are:
Ask for the password using a separate custom form.
You can use the same code as @vicsar's answer to the Password protected uninstallation using Inno Setup. Which actually uses a code from the Require an uninstallation password article on the ISXKB.
Just replace the
InitializeUninstall
with theInitializeSetup
:Disable the "welcome" page and create a custom welcome-like page after the "password" page.