Hi,
We have our custom setup.exe program which launches the series of individial MSIs in synchronous manner. Scheme and command use to launch msi is :
msiexcehandle = CreateProcess("msiexec.exe /i product.msi /qr")
WaitForSingleObject(msiexechandle, INFINITE)
We want to do following :
When user pressess the Stop button in setup.exe program then we would like to stop the installation completely. We can control the installation of any product msi which is yet to be started, but we did not find a way to send some event to already running installation (which is already launched using CreateProcess). We want to send Cancel event from the setup.exe to msiexec.exe's created Progress dialog.
Please suggest some technique to perform this action.