简体   繁体   English

InnoSetup,将任务转换为单选按钮?

[英]InnoSetup, Convert tasks to Radiobuttons?

I've asked something similar before in this question: InnoSetup, prevent installation if any task is selected 我之前在这个问题中曾问过类似的问题: InnoSetup,如果选择了任何任务,则禁止安装

But this situation is a little bit different because only one of both tasks should be selected, then how I could transform the selection beetwen two tasks to two new selectable Radiobuttons? 但是这种情况有些不同,因为应该只选择两个任务中的一个,然后我如何将两个任务的选择转换为两个新的可选单选按钮?

PS: If that is not the best approach then please suggest me another. PS:如果那不是最好的方法,请给我另一个建议。

An image to explain: 图片说明:

在此处输入图片说明

You are missing the exclusive flag: 您缺少exclusive标志:

[Tasks]
Name: hidden; Description: Hidden mode; GroupDescription: Installation Mode; Flags: exclusive
Name: visible; Description: Visible mode; GroupDescription: Installation Mode; Flags: exclusive

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM