SdLoadString

InstallShield 2014 » InstallScript Language Reference

The SdLoadString function returns the string value associated with the specified resource ID. The InstallScript engine first looks for the resource in _isuser.dll, if that file exists. If the resource is not found, the InstallScript engine looks in _isres.dll.

Syntax

SdLoadString (nID);

Parameters

SdLoadString Parameters

Parameter

Description

nID

Specifies the identifier of a string resource in _isuser.dll or _isres.dll. Some valid values of nID can be found in the InstallShield Program Files Folder\Script\Ifx\Include subfolder's Ifx.h file. The default OnMaintUIBefore event handler function code uses the following identifiers with their corresponding string values:

IFX_MAINTUI_MSG—Do you want to completely remove the selected application and all of its components?
IFX_ONMAINTUI_CAPTION—Confirm Uninstall

Return Values

SdLoadString Return Values

Return Value

Description

non-null string value

The string value successfully retrieved by SdLoadString.

null string value ("")

Indicates that SdLoadString failed.

See Also