cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting the HWND (Handle) of the Running MSI in InstallScript

Getting the HWND (Handle) of the Running MSI in InstallScript

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

Reference:



Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jul 18, 2018 12:24 AM
Updated by: