JavaPackager icon indicating copy to clipboard operation
JavaPackager copied to clipboard

Running Application after Install Runs as Wrong User

Open maths22 opened this issue 2 years ago • 0 comments

When I use the run after installing checkbox, it ends up running as the admin user that installed the application rather than the current user that is trying to use the application. I think that this is almost always the wrong result, though I'm sure someone somewhere wants this behavior.

This comes from using runascurrentuser instead of runasoriginaluser here: https://github.com/fvarrui/JavaPackager/blob/e0a52064ba514b3e04c4c96df398ed11e3835042/src/main/resources/windows/iss.vtl#L94

maths22 avatar Oct 31 '23 22:10 maths22