Inno-Setup: how to let the user choose whether to autostart or not?
autostart, inno-setup
Solution
Thanks to TLama and some more googling I did it like this:
[Tasks]
Name: startup; Description: "Automatically start on login"; GroupDescription: "{cm:AdditionalIcons}"
[Icons]
Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: startup
Problem
According to this question I know how to put an application in the autostart folder without user interaction. But how can I let user decide if he wants that or not via checkbox?