Inno Setup shortcut desktop via code

Asked

Viewed 1,042 times

1

I would like to create a shortcut on the desktop via code by the Inno setup I need to disable the option to create an "exe" in the main folder and gets disabled to by shortcut on the desktop and need to via code.

1 answer

2

Good morning,

Using the Inno setup I create desktop icon, following as an example the code below. In my case where it says "Systec Smart" is the name I want it to be.

[Icons]
;cria no menu iniciar
Name: "{userdesktop}\Systec Smart"; Filename: "{app}\Systec\SystecSmart\{#MyAppExeName}"; IconFilename: "{app}\Systec\SystecSmart\{#MyAppExeName}";         Parameters: "SystecSmart.exe"; Comment: "Systec Smart"

I hope I’ve helped!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.