Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inno Setup - Create shortcut in "Send to" context menu

How can I create a link to my program in the "Send to" folder using Inno Setup, so that it is shown in the "Send to" context menu in Windows Explorer?

There is already a directory constant for the "Send to" folder, but how can I create a link there?

like image 596
User95 Avatar asked Mar 12 '23 03:03

User95


1 Answers

As any other shortcut, using an entry in the [Icons] section:

[Icons]
Name: "{usersendto}\My Prog"; Filename: "{app}\MyProg.exe" 

The {sendto} constant has been renamed to {usersendto} in Inno Setup 5.6.1.

like image 152
Martin Prikryl Avatar answered Mar 20 '23 13:03

Martin Prikryl