Community Forums
Results 1 to 2 of 2

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

  1. #1
    Join Date
    Aug 2015
    Posts
    60

    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.

  2. #2
    Join Date
    Jun 2017
    Posts
    70

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

    Quote Originally Posted by agshah View Post
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •