I am using Visual Studio 2008 to build the MSI installation package. As part of the installation, I have many custom actions. Inside the OnAfterInstall user action, I try to run exe, which is deployed by the installation. The EXE starts normally, but works in the NT AUTHORITY \ SYSTEM security context (i.e., at elevated privileges granted to the Windows Installer process). I really need exe to run in the security context of the current user who started the installation first. Does anyone know how to run exe so that it works in this "abbreviated" context. I really want to avoid having to ask the user for my credentials, if possible.
installer exe security windows-installer
Deh
source share