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

Explain parameter CheckReturnValue #6

Open
banyula opened this issue Dec 23, 2019 · 1 comment
Open

Explain parameter CheckReturnValue #6

banyula opened this issue Dec 23, 2019 · 1 comment

Comments

@banyula
Copy link

banyula commented Dec 23, 2019

Please, provide an explanation of -CheckReturnValue of cmdlet New-InstallerCustomAction

SYNTAX
New-InstallerCustomAction -FileId [-CheckReturnValue] [-RunOnInstall] [-RunOnUninstall] []

@adamdriscoll
Copy link
Member

This will check to see where there was a non-zero exit code returned by PowerShell and fail the installation if that's the case. I'll add this to the documentation.

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