How to interact with silent installation of msi? (Progress data and cancel it)

For some reason, we deliver the product with our own graphical installation interface, which means that we will start the msi installation without interference.

Using the MSI API "MsiInstallProduct", I can install the product quietly, but I have no idea how I can get progress data on this installation and how I can cancel it.

Does anyone have any idea?

+5
source share
3 answers

Here is an example project that seems to be doing what you mean: http://www.codeproject.com/KB/cs/msiinterop.aspx

+5

UPDATE. Wise, , . , . , , Wise Package Studio, , . , .

Wise - .


, MSI API, , MSI msiexec.exe.

MSI (, , , ..). , . , , , :

, :

msiexec.exe /I "Test.msi" /QB-!

msiexec , msi builder Wise: http://www2.wise.com/filelib/WICLB.exe ( ).

enter image description here

+6

, MsiSetExternalUI MsiSetExternalUIRecord MsiInstallProduct ( , MSI). , Windows . , . MSI 4.5 , DLL- , .

+3