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!

shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Supporting the property for the desktop shortcut

Hi,

As part of the setup, I am creating the desktop icon(i.e Files and Folders->Application Shortcut Folder->New shortcut to installed file)
If I edit the shortcut name to have [|ProductName], building the product fails with the following error

Code: Select all

Creating MSI database (en)... Invalid MSI Filename string [DesktopControl].

Build finished because an error was encountered.
If you need the sample aip file, please do let me know.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Supporting the property for the desktop shortcut

Hi Rohan,

I'm not sure why you encounter this problem. It may appear if you also use a property to specify the "Product Name" of the application in the "Product Details" page. Can you please send us the AIP file, so we can investigate it and try to find the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Supporting the property for the desktop shortcut

Hi Eusebiu,

I have attached a sample aip file.

Regards,
Rohan
Attachments
AiSample.zip
(132.38 KiB) Downloaded 376 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Supporting the property for the desktop shortcut

Hi Rohan,

I found that the [PROP_PRODUCT_NAME] property that is used in the "Product Name" field from the "Product Details" page is defined in the "Install Parameters" page as you would have multiple builds in the project and this causes the error. To fix the problem you can edit the [PROP_PRODUCT_NAME] property to "use the default value" not a "specific value".

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Supporting the property for the desktop shortcut

Hi Eusebiu,

Okay, Understood the problem.

We want to have the "short name" based on the build.
e.g. Build1 should name it as "abc"
Build2 should name it as "xyz"

How can I achieve this?

Regards,
Rohan
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Supporting the property for the desktop shortcut

Hi Rohan,

You can achieve this using "specific values" for each build as you already tried. But the problem in the AIP file that you sent was that the [PROP_PRODUCT_NAME] property was configured for multiple builds, but the project did not contain multiple builds.

If you have a project that contains multiple builds and the problem still persists, you can try to set the property to "use default values" save it, then set it again to use "specific values" and see if it works.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Supporting the property for the desktop shortcut

Thanks. It worked.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Supporting the property for the desktop shortcut

You're welcome. I'm glad you got this working.

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

Return to “Building Installers”