My install needs administrator rights to run. It installs a service under the SYSTEM account.
It also installs another process (.exe) which must run in the logon session of the currently logged-in interactive user. (which may not be the same Administrator as doing the install)
Eg. I have two users. Bill (Standard user) and Ted (administrator).
I have two processes, service.exe and usershell.exe
Bill is logged-in.
Ted runs the install. It refuses to run because it needs admin rights. Ted elevates or "RUN AS" Ted in order to perform the install. Service.exe starts.
Now I need to automatically start usershell.exe, after the install, but running as user Bill who is the currently logged-in interactive user. I do not wish to grant usershell.exe the same Admin rights as Ted who is executing the install.
Is this possible?
FOLLOW US
Get the latest news in Application Packaging