我无法找到添加“高级”选项复选框的方法,该复选框将使用Inno Setup显示我的安装程序的其他选项。这是我脚本中的一个例子,以及我希望实现的目标:
[Components]
Name: "Type"; Description: If you wish to install the beta version, select
Advanced, otherwise select next.; Flags:*Not sure which flag to use*
Name: :"Type\Advanced" ; Description: "Install the beta version of plugin"
Name: "Install file A" ; Flags: *Not too sure which flag to use in this case*
Name: "Install file B *this is the advanced option i wish to show only if the advanced box is checked*" ; Flags: *Not too sure which flag to use in this case*
[Files]
Source: "..\..\VB\A\*" DestDir: "{app}\My Program; Flags: ignoreversion recursesubdirs createallsubdirs; Components: Install file A;
Source: "..\..\VB\B\*" Destdir: "{app}\My Program; Flags: ignoreversion recursesubdirs createallsubdirs; Components: Install file B