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

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!

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

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

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: 4971
Joined: Wed Nov 14, 2012 2:04 pm

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

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)

Unfortunately, [ProductName] also does not expand.

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

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

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

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)

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”