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.
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 ofrunasoriginaluser
here: https://github.com/fvarrui/JavaPackager/blob/e0a52064ba514b3e04c4c96df398ed11e3835042/src/main/resources/windows/iss.vtl#L94