Gogo
Posts: 8
Joined: Fri Aug 27, 2004 9:05 am

Question about desctop shortcuts and Quick Launch Toolbar

Hello, is it possible with Advanced Installer to have dialogue that will ask user to chose making of shortcuts in desktop and windows quick launch toolbar ? And if this is not possible is it planned in near future ?

Thanks in advance !
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hello Gogo,

Advanced Installer does not have that ability, as we are not able to interrogate the user. But you can solve your problem using a Custom Action that modifies the [Application Shortcut Folder], in [DesktopFolder] or [Application Data]\Microsoft\Internet Explorer\Quick Launch.

In order to do this in a custom action you have to set a property you have already created with the path that you want, depending on the user answer. Then you can use the "Directory Set With Formatted" from "New Custom Action" to modify the shortcut folder. Schedule it after CostFinalize. In the "Formatted text" editbox you must enter your property name between square brackets: e.g. [myproperty].

Obviously you custom action must be placed before "Directory Set With Formated" in the tree. But there is another problem: if the user selects a quiet installation, he doesn't want any message to appear, so you must check in your custom action for the value of the UILevel property.

Hope that helps.

Best,

Mihai.
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”