Prevent a user from installing or uninstalling programs

The following Group Policy setting can prevent a user from installing or uninstalling programs locally: Using Gpedit.msc, change the group policy setting accordingly for: Computer Config \ Administrator templates \ Windows components \ Windows installer