1

Using Visual Studio Installer Project I can launch a post install option using the script given here: Run exe after msi installation?

The question is does the launched program run in elevated privileged mode or revert to the unprivileged user mode?

I have successfully used the script and the program launches fine but I am unsure if it is running as a normal user.

To add the script I add this under Deployment Project Properties

PostBuildEvent: cscript.exe "$(ProjectDir)EnableLaunchApplication.js" "$(BuiltOuputPath)"

It launches fine. I just don't know how to tell what user is running it (admin or standard)

Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164
Bob
  • 31
  • 4

0 Answers0