Inno设置页面顺序 [英] Inno setup page order
问题描述
我有一个Inno Setup,可以执行4种安装类型
I have an Inno Setup which can perform 4 types of installation types
- 完全安装
- 服务器安装
- 客户端安装
- 自定义安装
在安装客户端应用程序时,我不想将文件放置在本地计算机上,但是 将客户端与服务器安装连接. 在这种情况下,用户不必选择安装目标,而必须选择已经安装服务器安装的目录. 如果用户先选择安装类型,然后选择安装目录或服务器目录,则对用户的混淆将减少. 有什么方法可以按页面顺序执行切换吗?
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:
我知道这种行为不是直接在inno设置中构建的,也许不希望这样做,但这对用户非常有帮助. 也许有人对此问题有不同的看法,我也将不胜感激
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
推荐答案
由于我没有针对此问题的答案,并且我认为无法更改顺序,因此我在安装程序中禁用了DirPage部分,并创建一个与DirPage相同的页面,但将其放置在安装程序中的其他位置.
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.
以下是禁用DirPage的方法:
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.
这篇关于Inno设置页面顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!