I'm trying to create a shortcut on the desktop with a target exe name and path run the exe in.
[Icons]
Name: "{autodesktop}\\{#MyAppName}"; Filename: {#MainExeName}.exe; WorkingDir: {app}
It does create a shortcut on the desktop but the target gets set as
C:\Users\david\Desktop\FB3.exe
when I just want "FB.exe" and that it run from the specified directory (which is set correctly). I dont userstand why the target has the desktop in the path. If I remove the
{autodesktop}\\ part no shortcut is created on the desktop. Am I doing something wrong?