we use inno setup to create installer. We use this in our script:
[Icons]
Name: {commondesktop}\{#Brand}; Filename: {app}\{#Brand}.exe; Tasks: MYAPP; WorkingDir: {app}
to create a desktop. it worked fine. But now, we want to only create the desktop shortcut if it's not already there. i guess somehow i have to use the if statement, but seems like "if" is not recognized in the [Icons] section. is there a way to do it? Thanks James