PLT
Posts: 13
Joined: Wed Mar 25, 2009 3:45 pm

Problems with defining shortcut

Hi,

I need to install a shortcut on the user's desktop which is different to the default application install path. I believe the help documentation suggests I create a variable in which I define the literal path (to a network drive). I have tried to do this - as per attached screen shot - but this is ignored by the Advanced Installer when running the installation.

What am I doing wrong? Should I use square brackets around the variable name?

Many thanks in advance.

Peter Tyler
Attachments
shortcut.jpg
shortcut.jpg (170.26 KiB) Viewed 5375 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Problems with defining shortcut

Hi,

Please note that private properties do not pass their properties from the UI sequence (when the dialogs are shown) to the execute sequence (when the actual install runs). Please try using a public property and let me know if the problem persists.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PLT
Posts: 13
Joined: Wed Mar 25, 2009 3:45 pm

Re: Problems with defining shortcut

Hi Cosmin,

Do you mean that I should define the name of the variable in uppercase?

i.e. CODADATABASESHORTCUT

Thanks.

Peter Tyler
PLT
Posts: 13
Joined: Wed Mar 25, 2009 3:45 pm

Re: Problems with defining shortcut

Also, is it possible to define the icon for the shortcut in the MSI file?

Thanks again!

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

Re: Problems with defining shortcut

Hi Peter,
Do you mean that I should define the name of the variable in uppercase?
i.e. CODADATABASESHORTCUT
Yes, public properties don't have lowercase letters in their names.
Also, is it possible to define the icon for the shortcut in the MSI file?
Yes, this can be done through the Edit Shortcut Properties dialog. You can show this dialog by double-clicking the shortcut or by using its "Properties" context menu.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PLT
Posts: 13
Joined: Wed Mar 25, 2009 3:45 pm

Re: Problems with defining shortcut

Thanks Cosmin for your constructive replies.

Peter Tyler
PLT
Posts: 13
Joined: Wed Mar 25, 2009 3:45 pm

Re: Problems with defining shortcut

>>Also, is it possible to define the icon for the shortcut in the MSI file?

Yes, this can be done through the Edit Shortcut Properties dialog. You can show this dialog by double-clicking the shortcut or by using its "Properties" context menu.>>

Hello again Cosmin,

Can you please be more specific about this? I don't see anywhere, in the screen shot I originally posted, to view the properties of the shortcut, double click anything or include any reference to an external icon file. Please look at the screenshot and let me know?

Thanks!

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

Re: Problems with defining shortcut

Hi Peter,

I think you misunderstood how shortcuts are created. Please note that the User Guide contains a tutorial which may help you. A shortcut can be created only in the Files and Folders page. You can use the "New Shortcut To" context menu, the "New Shortcut" toolbar button or the shortcut wizard (the "Wizards" -> "Shortcut" menu).

The "Application Shortcut Folder" field in the Install Parameters page only sets the path for "Application Shortcut Folder" from the "Files and Folders" page.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PLT
Posts: 13
Joined: Wed Mar 25, 2009 3:45 pm

Re: Problems with defining shortcut

OK, thanks, Cosmin. Will check it out.

Peter

Return to “Common Problems”