Conditioned shortcuts in Start Menu's subfolder - Advanced Installer Community
contichris
Posts: 6
Joined: Tue Jan 17, 2023 8:31 am

Conditioned shortcuts in Start Menu's subfolder

Hi,
i am using AI 16.6.1 and created an Enterprise project.
In my project I wanted to create shortcuts in a subfolder of the Start Menu if the user wants them. For this I used the ShortcutsDlg but the shortcuts always get created no matter the checkbox is selected or not. Even if I condition the folder (component) "myApp" in "Start Menu\Programs" depending on the property AI_STARTMENU_SH the shortcuts always will be created.
Is there a way how I can create shortcuts in a Start Menu's subfolder depending on the users decision?

Regards
Chris
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Conditioned shortcuts in Start Menu's subfolder

Hello Chris,

In order to conditionally install a shortcut, please refer to the following article:

How to create a shortcut only if a specific feature is installed?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”