Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Application after Install Runs as Wrong User #369

Open
maths22 opened this issue Oct 31, 2023 · 0 comments
Open

Running Application after Install Runs as Wrong User #369

maths22 opened this issue Oct 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@maths22
Copy link
Contributor

maths22 commented Oct 31, 2023

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:

Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent runascurrentuser

@fvarrui fvarrui added the enhancement New feature or request label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants