0

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 some software.

wonea
  • 4,783
  • 17
  • 86
  • 139
Zain Ali
  • 15,535
  • 14
  • 95
  • 108

1 Answers1

0

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.

PhilDW
  • 20,260
  • 1
  • 18
  • 28