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 ??

Meghla Khan
  • 83
  • 2
  • 9

1 Answers1

12

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

For example:

[Icons]
Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\MyProg.exe"; WorkingDir: "{app}"
AndyUK
  • 3,933
  • 7
  • 42
  • 44
CAD Developer
  • 1,532
  • 2
  • 21
  • 27