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!

FransSaes
Posts: 1
Joined: Mon Nov 03, 2014 12:27 pm

Change the name of a shortcut depending on property

How can I set the name of a shortcut.
I want to name it depending of a property
F.e. Property: MYNAME=NewNameShortCut
Name of the shortcut: [ProductName][MYNAME]
This will result in a name of the product concatenated with the value of property MYNAME
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Change the name of a shortcut depending on property

Hi and welcome to Advanced Installer forums.

I'm afraid that the name of a file/shortcut cannot be changed during the installation. It can be changed only at build time. To change it at build-time, you can write those properties in the "Name" field of the shortcut like this: [|ProductName][|MYNAME]

If you want to change the name of a shortcut during the installation, you can create a custom action that will change the name of the shortcut after it was created on the machine.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”