External handler for msiexec MsiSetExternalUI

后端 未结 3 572
陌清茗
陌清茗 2020-12-02 03:11

Good morning,

I am looking to achieve an external handler for msiexec, but not stopping msiexec from acting any different. I would like to be able to intercept all m

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 03:38

    Thank you Bogdan and Stein, I wasnt aware of the different types of installer utilising different cache folders.

    I have come up with a semi solution and redirecting and attaching via the external UI. I decided to set only certain flags

    ExternalUINoDialog = FatalExit | Error | Warning | User | CommonData | Progress from Interop in the msiexec
    

    This allows standard behaviour in the dialog from the user input as well. I also the set the internal UI dependent on the switches received from the arguments.

    I have noticed a few random and isolated case such as Microsoft wonderful way as using :

    MsiExec.exe -Embedding /V
    

    Does anyone have any ideas of what the switch embedding? I have tried searching, but the main searches always come back with virus issues and msiexec?

    If anyone knows of documentation on MSDN? I have looked at msiexec /? but no mention of -embedding?

提交回复
热议问题