3
votes

I have an Inno Setup which can perform 4 types of installation types

  • Full install
  • Server install
  • Client install
  • Custom install

When installing the client App i don't want to place files on the local machine but connect the client with the server installation. The user has in this case not to chose a destination for the installation but has to chose a directory where a server installation is already installed. It would be less confusing for the user if he would first select the installation type and then the installation directory or the server directory. Is there any way to perform a switch in the page order ?

I am thinking about something like this: enter image description here

i am aware that this behavior is something that isn't directly build in inno setup and maybe not wished but it would be very helpfull for the user. Maybe somebody has a different approach on this problem, i would appreciate that too

1

1 Answers

1
votes

Since i haven't got an answer for this problem and i don't think that it is possible to change the order ,i disabled the DirPage in the Setup section and created a Page that does the same as the DirPage but put it at a different position in the Setup.

Here is how to disable the DirPage:

[Setup]
...
DisableDirPage=yes

I still would be happy if anyone has a more elegant solution, but so far it seems to be the only one.