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!

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: 7853
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”