cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
agshah
Level 7

Custom Action of type Error - specifying placeholder in Error Message text

Hi all,
I created a custom action of type Error.
In this custom action for 'Error Message' I am specifying a property. e.g. [MYERR_MSG]

MYERR_MSG is a translatable property set to a string in string editor whose value is : %P is already installed.

When the custom action gets execute the error message displayed is "%P is already installed."
%P does not get replaced by product name. How do I get it to be replaced by product name at runtime.

thanks.
Labels (1)
0 Kudos
(1) Reply
Jenifer
Flexera Alumni

agshah wrote:
Hi all,
I created a custom action of type Error.
In this custom action for 'Error Message' I am specifying a property. e.g. [MYERR_MSG]

MYERR_MSG is a translatable property set to a string in string editor whose value is : %P is already installed.

When the custom action gets execute the error message displayed is "%P is already installed."
%P does not get replaced by product name. How do I get it to be replaced by product name at runtime.

thanks.



Hi

To set error message ,try setting it like [PRODUCTNAME] is already installed" instead %P format. Installshield might not know %P format & all.
0 Kudos