Installshield function prototype6/1/2023 ![]() ![]() ![]() Prototype INT MsiSetProperty(HWND, BYVAL STRING, BYVAL STRING) See the Windows Installer Help for information about a function's usage, parameters, return values, and sequencing restrictions. This section includes the function signatures for the Windows Installer API functions available in InstallScript. Windows Installer API Functions by Category For an example of how to write code for this scenario, refer to Changes in Behavior for Some MSI APIs That Are Called in InstallScript Custom Actions in the “Upgrading Projects from InstallShield 2011 or Earlier” topic. Note:For Windows APIs that require a buffer size and when the size of the value of the buffer size is greater than 1024 characters, a valid buffer size must be specified. In an event-handler function, you can use the global variable ISMSI_HANDLE, which stores the handle to the running. For an InstallScript custom action, the database handle is the HWND argument passed to the custom action. Note:Most Windows Installer API functions take a handle to the currently running database as an argument. InstallScript supports these Windows Installer API functions: You can call Windows Installer API functions from the main script and from within an InstallScript custom action. ![]() InstallShield 2020 » InstallScript Language Reference
0 Comments
Leave a Reply. |