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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With