Shotcut to a folder - Advanced Installer Community

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!

Koen
Posts: 21
Joined: Thu May 06, 2010 7:49 am

Shotcut to a folder

Hi,

I'm using the following syntax to create shortcuts. All of the shortcuts to .exe files work great. But I also want a shortcut to a folder. I'm using the parameters below, but this shortcut doesn't even show up in the start menu shortcut list along with the others.

-name "Samples folder"'
-desc "Samples folder"'
-target "APPDIR\Samples"'
-dir SHORTCUTDIR'


Best regards,

Koen
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Shotcut to a folder

Hi Koen,

A shortcut for a folder is not created in the exact way as the one for a simple file because the folder is stored in a different way in the MSI
package. What you need is an "External Shortcut", simply place as target for it the identifier of the folder between square parentheses, like this:

Code: Select all

[My_Folder_Dir]
The identifier of the folder can be retrieved from its Properties dialog.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Koen
Posts: 21
Joined: Thu May 06, 2010 7:49 am

Re: Shotcut to a folder

Thank you. The problem is solved.

Return to “Common Problems”