SprintfMsiLog
InstallShield 2024 » InstallScript Language Reference
Project:
• | Basic MSI |
• | InstallScript MSI |
The SprintfMsiLog function writes a message directly to the Windows Installer log file.
Syntax
SprintfMsiLog ( szFormat [,arg] [,...] );
Parameters
Parameter |
Description |
|||||||||
szFormat |
Specifies a string than can include literal text and must include one format specifier for each argument to be embedded in the string returned by svResult. |
|||||||||
arg |
You can specify up to nine arguments to be included in the message. You must have one argument for each format specifier in the message. The type of each argument must match the type of its respective format specifier. SprintfMsiLog generates a compiler error or fail at run time under the following conditions:
|
Return Values
There are no return values for this function. If the function is successful, the values are written to the Windows Installer log file. If the function fails, the values are not written to the Windows Installer log file.