SdProductName

InstallShield 2014 » InstallScript Language Reference

The SdProductName function sets the value of the system variable IFX_PRODUCT_DISPLAY_NAME, which makes your product name available to all instances of the %P place holder. The %P place holder is found in static text fields in some Sd dialogs. In addition, some Sd dialog functions, such as SdFinish, allow you to include %P in strings passed as parameters to functions.

Syntax

SdProductName ( szProductName );

Parameters

SdProductName Parameters

Parameter

Description

szProductName

Specifies the name of the product that is being installed. This name replaces the product name placeholder (%P) wherever it appears in appropriate static fields in Sd dialogs.

Caution: If you want to include an ampersand (&) in your product name, you must use two ampersands (&&) to display the name properly in end user dialogs. For example, to display “New & Improved Product”, you should enter the product name as New && Improved Product.

Return Values

This function does not return a value.

Additional Information

Rather than call SdProductName, for example,

SdProductName( "My Product Name" );

you can simply assign the desired value to IFX_PRODUCT_DISPLAY_NAME, for example,

IFX_PRODUCT_DISPLAY_NAME = "My Product Name";

See Also