MartinFH
Posts: 19
Joined: Thu Sep 20, 2007 1:32 pm

Shortcuts in Merge Module

Hello,

i want to add shortcuts to some of my mergemodules.

So - i know how to add shortcuts ... but my problem is
when i define some shortcuts i must know where i have
to place them.

Would it be possible to add a shortcut to the Shortcut
Folder of the Main Installation? (Like Adding Files to the
Applikation Folder).

Greetings Martin
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi Martin,
Would it be possible to add a shortcut to the Shortcut
Folder of the Main Installation?
Yes, this can be done by creating a folder in the "Start Menu" -> "Programs" directory in the "Files and Folders" page of the merge module project.

Note that this folder must have the same name as the Application Shortcut Folder created by the main installation package (usually it's the name of your application specified in the "Product Name" field in the "Install Parameters" page).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MartinFH
Posts: 19
Joined: Thu Sep 20, 2007 1:32 pm

Hey Cosmin,

thanks for your answer.

But i don't think, that this the solution i need :).

What would be if i don't know the shortcut folder of the software? Isn't there any chance to create this?

Thanks

Martin
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Here are the steps to accomplish what you need:
- in the Merge Module project you go to the "Files and Folders" page and create a new folder under "Application Folder"
- in the new folder you add the shortcuts you need
- you double-click the folder and in the "Edit Folder" dialog you check the "Install folder content into the parent folder" option
- you right-click the folder and select the "Configurable" -> "Directory_Parent" menu
- you use the "Add" button and the "New Parameter" option
- in the "Edit Configuration Parameter" dialog you set these values:

Code: Select all

Name: ShortcutDir
Type: Key Directory
Default Value: APPDIR
Attributes: Non nullable (this option is checked)
- you build the merge module
- when you add it in the main project, in the "Configure Merge Module" dialog you select the "ShortcutDir" parameter and click the "..." button (the one in the "Parameters" section)
- in the "Choose installation folder" dialog you select "Application Shortcut Folder"

Now, everything placed in the folder created under "Application Folder" in the Merge Module will be installed in "Application Shortcut Folder"

You can read more about configurable merge modules here:
http://www.advancedinstaller.com/user-g ... dules.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”