This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Custom Action of type Error - specifying placeholder in Error Message text
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jul 17, 2018
04:37 PM
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.
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.
(1) Reply
Jul 27, 2018
01:57 PM
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.