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

services #43

Open
kort3x opened this issue Jun 16, 2021 · 1 comment
Open

services #43

kort3x opened this issue Jun 16, 2021 · 1 comment

Comments

@kort3x
Copy link

kort3x commented Jun 16, 2021

I can't get install-msiproduct to work for applications which create a service - e.g. our anti virus solution
It keeps complaining about insufficient permissions (yes I am admin).

I this not working in general or am I missing something?

@heaths
Copy link
Owner

heaths commented Jun 16, 2021

Even if you're an admin you have to install from an elevated environment. Right click on your terminal eg powershell.exe and select Run as Administrator.

If you are running elevated, try installing the MSI using msiexec. If that fails it's your MSI. The cmdlets just call the exact same APIs that msiexec does. Unlike msiexec, though, they don't have the ability to elevate on-demand (that functionality is not exposed via the APIs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants