开发者

Inno Setup: Set default value for desktop icon-check box to true

开发者 https://www.devze.com 2022-12-26 06:43 出处:网络
I am struggling with g开发者_JAVA百科etting Inno Setup to set the check box to true whether a desktop icon should be created. The documentation has not been any helpful concerning this issue as well a

I am struggling with g开发者_JAVA百科etting Inno Setup to set the check box to true whether a desktop icon should be created. The documentation has not been any helpful concerning this issue as well as Googlism and Stackoverflow.

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

My thought was a value like "checked" for "Flags" but the documentation told me, that Flags isn't responsible for this.


They are checked by default, remove the Flags: unchecked.


At startup Setup will look in the registry to see if the same application is already installed, and if so, it will use the task settings of the previous installation as the default settings presented to the user in the wizard.

To prevent that behavior use UsePreviousTasks=no.

Documented here.

0

精彩评论

暂无评论...
验证码 换一张
取 消