Inno setup

Includes part of the source script

2026-05-03

Written by: xiaobin

The setup script wizard is basically the same as Wise.

Flags

Flags: checkedonce

If the UsePreviousTasks=no, this flag is effectively disabled.

Flags:unchecked

src

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: checkedonce
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent unchecked

Ref