Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating shortcut in startup folder using Inno setup [duplicate]

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

like image 844
Meghla Khan Avatar asked Aug 23 '16 17:08

Meghla Khan


1 Answers

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

For example:

[Icons]
Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\MyProg.exe"; WorkingDir: "{app}"
like image 65
CAD Developer Avatar answered Nov 01 '22 04:11

CAD Developer