Hi,
I figured that I could find the process by name (MSIEXEC) (GetProcessByName) and just kill it. Since the msiexec is doing nothing at the time (just waiting for the custom action's return value), I think it would be safe to do. As long as the custom action is called at the early stages of the process when nothing is actually installed yet ...
I don't recommend this. If you don't want dialogs to be displayed during installation then you can run your package in "Basic UI". Run your package with the following command line:
Or you can use the "Exe Bootstrapped" ("Media" page). Type in the "MSI Command Line": /qb
Regards,
Gigi
__________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com