Inno setup Inno Setup custom install中预先检查或未检查的组件
我只需要1个自定义安装类型和3个组件:Inno setup Inno Setup custom install中预先检查或未检查的组件,inno-setup,Inno Setup,我只需要1个自定义安装类型和3个组件: 第一个是必需的,因此已检查且为只读 第二个选项是可选的,但属于默认选项的一部分,因此是可检查和可写的 第三个选项是可选的,因此未选中且可写 如果我没有显式地指定类型,那么默认情况下我无法检查组件 如果我指定了一个,我不会将最后一个组件作为默认组件取消选中 我尝试了两种类型,但它没有任何意义,因为它只是一个自定义安装。 你知道如何用一个单一的类型获得预期的行为吗 [Types] Name: "standard"; Descriptio
- 第一个是必需的,因此已检查且为只读
- 第二个选项是可选的,但属于默认选项的一部分,因此是可检查和可写的
- 第三个选项是可选的,因此未选中且可写
[Types]
Name: "standard"; Description: "Standard installation";
Name: "custom"; Description: "Custom installation"; Flags: iscustom
[Components]
Name: "first"; Description: "First Component"; Types: standard custom; Flags: fixed
Name: "second"; Description: "Second Component"; Types: standard custom;
Name: "third"; Description: "Third Component"; Types: custom;
这应该做到:
[Types]
Name: "custom"; Description: "Dummy custom installation"; Flags: iscustom
[Components]
Name: "first"; Description: "First Fixed Component"; Types: custom; Flags: fixed
Name: "second"; Description: "Second Checked Component"; Types: custom
Name: "third"; Description: "Third Unchecked Component"
的确如此!