V4.0.6 Ignore exit codes when uninstalling App

Hello,

I am uninstalling an application and i would like to ignore the exit code “20”.
Is it possible in this version ?

Thank you

It would depend on which function you use to run your uninstallation but both Start-ADTProcess and Start-ADTMsiProcess supports the arguments -IgnoreExitCodes and -SuccessExitCodes according to the documentation.

I am using the function “Uninstall-ADTApplication”.
Maybe I should use “Start-ADTProcess” to uninstall an EXE file. I will take a look.
Thank you

This will be possible in 4.1.0, Uninstall-ADTApplication has the extra parameters needed for this.