We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

DeadlyDonger
Posts: 19
Joined: Wed Jan 07, 2015 6:44 pm

How to Check if there is already a shortcut?

In my installer, if the program i'm installing's shortcut already exists (in the current user's desktop), the installer only checks the Public Desktop and therefore adds an additional shortcut to Public Desktop, the end result being two identical shortcuts to for the program being displayed on your PC, one in your user name Desktop and the other in Public Desktop. Is there a way to easily check:

If there is already a program's shortcut, don't add it. If not add it?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to Check if there is already a shortcut?

Hello,

You can add searches for the shortcuts from the Search page then you can follow the "Condition the creation of the shortcut" section from the How do I create a shortcut only if a specific feature is installed? article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”