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

Import into Azure Run Books #80

Open
samkarnati opened this issue Jul 24, 2019 · 2 comments
Open

Import into Azure Run Books #80

samkarnati opened this issue Jul 24, 2019 · 2 comments

Comments

@samkarnati
Copy link

Hello,

First of all, thanks for providing this in the Powershell gallery. I really appreciate it.

I was able to import into Azure Automation using Powershell gallery. But, when i try to use in Azure Run books(powershell) to install a particular version, i get the following error.

"The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The term 'msiexec' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

Any help is really appreciated.

Thanks
Sam

@aaronpowell
Copy link
Owner

I've never tried this in Azure Run Books...

The problem you're hitting is that the tool for installing an MSI, msiexec doesn't exist on the target machine.

Given PowerShell has a built-in unzip API it might be possible to move to that rather than using msiexec. If you wanted to send a PR for that I'd be appreciative. 😊

@samkarnati
Copy link
Author

Thanks aaron for the response. Really appreciate it.

When ever i get a chance, i will send a PR.

-Sam

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