jmdion
Posts: 3
Joined: Tue Nov 20, 2012 4:20 am

[|ProductName] property does not expand (Office Add-In)

Tue Nov 20, 2012 4:33 am

I get literally "[|ProductName]" in the dialogs, in the properties of the .msi file, etc.

The default string for Comments also has [|ProductName] in it and it does the same thing.

Thanks

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: [|ProductName] property does not expand (Office Add-In)

Tue Nov 20, 2012 10:09 am

Hi and welcome to Advanced Installer forum.

I want to let you know that there are fields that support specific types of data. You try to use a PseudoFormatted data type in a field which doesn't support this data type. You can read about these types in the documentation: http://www.advancedinstaller.com/user-g ... atted.html
So you must use [ProductName] instead of [|ProductName].

All the best,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

jmdion
Posts: 3
Joined: Tue Nov 20, 2012 4:20 am

Re: [|ProductName] property does not expand (Office Add-In)

Wed Nov 21, 2012 3:37 am

Unfortunately, [ProductName] also does not expand.

I am using this in the Product Details > Product Name field.

Thanks.

Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: [|ProductName] property does not expand (Office Add-In)

Wed Nov 21, 2012 8:25 am

That is not the right field to use the [ProductName] property. Contrary that is the field where this property takes its argument. For example if you write there "My Application", then every time you will use the [ProductName] property, it will expand to "My Application".

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

jmdion
Posts: 3
Joined: Tue Nov 20, 2012 4:20 am

Re: [|ProductName] property does not expand (Office Add-In)

Wed Nov 21, 2012 1:11 pm

I understand now. I had wrongly assumed that the value for ProductName came from the Visual Studio project.

Thanks for your help.

Return to “Common Problems”