Using | in some global variables - Advanced Installer Community
jusher
Posts: 195
Joined: Thu Dec 22, 2011 12:00 pm

Using | in some global variables

HI,

I have PRODUCT_CODE set to [|ProductCode] in Install Parameters. What does the | do? as opposed to just [ProductCode]

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

Re: Using | in some global variables

Hi John,

The "|" character should be used in PseudoFormatted fields while the properties without that character should be used in Formatted fields.

Properties referenced by PseudoFormatted data types are resolved at build time while properties referenced by Formatted data types are resolved at runtime.

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

Return to “Common Problems”