Summary
Sometimes it will be necessary inside of an InstallScript MSI to get the HWND (handle) of the current running MSI
Synopsis
Sometimes it will be necessary inside of an InstallScript MSI project to get the HWND (handle) of the current running MSI for custom actions.
Discussion
In order to get the HWND (handle) to the current running MSI inside of an InstallScript MSI Project, the system variable ISMSI_HANDLE should be used. ISMSI_HANDLE variable usage should be specific to InstallScript MSI project types and is not supported in Basic MSI projects or InstallScript custom actions.
Additional Information
Related Articles
Logging An InstallScript MSI Project 417Number of Views How to Programattically Determine if a New-Style InstallScript MSI is running Silently 4Number of Views Silently Uninstall an InstallScript MSI Project 7Number of Views The Installscript function MsiDoAction() does not correctly execute the custom action in the UI sequence of a Installscrip… 3Number of Views What Are the Differences Between Basic MSI and InstallScript MSI Project? 8Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago