ironmansoftware / poshtools-docs

PowerShell Tools Documentation
MIT License
20 stars 10 forks source link

Explain parameter CheckReturnValue #6

Open banyula opened 4 years ago

banyula commented 4 years ago

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

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

adamdriscoll commented 4 years ago

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.