Disable buttons via the windows Registry, open regedit and navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Find the keys
  • NoModify
  • NoRemove
  • NoRepair

and set the value to
  • 0 (False) Buttons enabled or
  • 1 (True) Buttons disabled

If you have a 64-bit version of Windows, 32 bits apps may be redirected here:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall