Inno setup page order

▼魔方 西西 提交于 2020-04-11 05:39:29

问题


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:


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.



来源:https://stackoverflow.com/questions/26422285/inno-setup-page-order

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!