Trying to install a program without admin permissions
I'm trying to install a program without admin permissions just as a test to see if its possible, so far I've found a few examples of it.
cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" "%1""
and
set __COMPAT_LAYER=RunAsInvoker
Start (programname).exe
The second one requires the installer or program to be in a separate folder to run it, but with the first one you drag a program onto the batch file using the desktop.
I'm currently trying to install the program Bluestacks 3 (https://www.bluestacks.com/) but it requires two step admin permissions, does anyone know a way to get passed the second layer?
Also, I've attached the two methods in a zip file for anybody to try out.
Thanks, Tyler.