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!

ewanb
Posts: 28
Joined: Mon Jun 05, 2006 1:53 pm
Location: Glasgow

Using Application Shortcut Folder in merge module

Hi,

I have a merge module that installs an exe and I want to create a shortcut to the exe in the application shortcut folder but can't seem to do it.

If I use the shortcut wizard the "Create shortcut in the application's group in the Program's menu" is not there in a merge module project, is this intentional?

The "Application Shortcut Folder" is not present in the Files and Folders tree so I can't create the shortcut manually.

I then tried to create a shortcut from the actual installer project but of course it can't see the exe inside the merge module so I can't select the target for the shortcut.

Is there a way to do this? Ideally inside the merge module because I'd like to keep the logic bundled together.

Thanks for your help,
Ewan
ewanb
Posts: 28
Joined: Mon Jun 05, 2006 1:53 pm
Location: Glasgow

After some further reading I solved my own problem by making the shortcut folder configurable and setting it to the [SHORTCUTDIR] property. Works like a charm.

Thanks for a great product,
Ewan
miked
Posts: 18
Joined: Mon Jun 05, 2006 6:50 pm
Location: Maine, USA
Contact: Website

ewanb wrote:...I solved my own problem by making the shortcut folder configurable and setting it to the [SHORTCUTDIR] property...
In the "Files and Folders" page? How did you do that?

How can you tell what the "Application Shortcut Folder" is set to, and how can you change it?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
ewanb wrote:
...I solved my own problem by making the shortcut folder configurable and setting it to the [SHORTCUTDIR] property...

In the "Files and Folders" page? How did you do that?

How can you tell what the "Application Shortcut Folder" is set to, and how can you change it?
Here's how you can do this:
In the merge module project create a new regular folder under the "Application Folder" from "Files and Folders" page. Configure this folder like this:
- Right click on it and choose "Configurable->Directory_Parent...". In the "Edit Substitution Parameter" add new parameter. Set "Key Directory" as type for this parameter.
- Right click on it and choose "Configurable->DefaultDir..". In the "Edit Substitution Parameter" add new parameter. Set "Text" as type for this parameter and in the "Default Value" field type "."
Create your shortcut in this folder.

Now add this merge module in the "Merge Module" page from your main package. Right click on it and choose configure. Choose "Application Shortcut Folder" ([SHORTCUTDIR] property) as value for the first parameter.

Hope this helps you.
Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
miked
Posts: 18
Joined: Mon Jun 05, 2006 6:50 pm
Location: Maine, USA
Contact: Website

Thanks for the reply. Sorry, my bad. I'm new to the product - we're a "professional" level install and aren't creating Merge Modules, only incorporating them so far. :oops:

Return to “Common Problems”