Hello there,
If the users do not have local administrator access, you may simply disable per-user installations via Group Policy.
DisableUserInstalls is a machine policy that will block per-user installations. There is also an option for "hiding" existing per-user installed applications in favour of the per-computer installed versions.
To configure:
Open gpmc.msc, select the GPO to which you will add the policy.
Navigate Computer Configuration, Policies, Administrative Templates, Windows Components, Windows Installer.
Set the policy "Prohibit User Install" to "Enabled".
[Optional] Set the policy "User Install Behavior" to "Hide User Installs".
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–