Creating shortcut in startup folder using Inno setup [duplicate]
Asked Answered
A

1

6

I'm developing a java application that i want to run on startup. I used launch4j to create .exe file and Inno setup to generate installer. Is there any way to create a shortcut in the startup folder using Inno setup ??

Agnosticism answered 23/8, 2016 at 17:59 Comment(0)
A
14

In [Icons] section you can use constants {userstartup} or {commonstartup}.

For example:

[Icons]
Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\MyProg.exe"; WorkingDir: "{app}"
Arris answered 24/8, 2016 at 11:36 Comment(1)
The "start up" folder is deprecated, use registry Run entry instead. See Start application with parameters on windows start.Monophonic

© 2022 - 2024 — McMap. All rights reserved.