开发者

Hook on Windows Installer messages

I wonder if there is any win32 API regarding the user install software on his machine ?

Is there is any event the windows fire when a user start to install software ?

I need to write an application that listen to this event and cancel the operation for som开发者_运维问答e software.


You don't need an app to disable installs based on MSI setups. See DisableMsi policy:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa369784(v=vs.85).aspx

Setups built with other tools (that build non-MSI setups) can't really be detected because they're just applications that do things to the system, just like any other application, so there isn't really a way to stop them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜