Getting error with execute-process

         Execute-Process -Path "$envProgramFilesX86\InstallShield Installation Information\{61DF41B1-9877-4906-80C4-09941A05BD77}\setup.exe" -arguments "-s /f1`"$dirfiles\Uninstall.iss`" /f2`"$envWinDir\Temp\$name.Uninstall.log`" -l0x0009 -removeonly" -IgnoreExitCodes *

I am trying to ignoreexit code as it is uninstalling the software but erroring out with exit code [-2147213312]. when i add ignoreexitcode * its throwing error [-5001].

any suggestions?

Can you post the -5001 error message?

[Uninstallation] [Execute-Process] :: Execution failed with exit code [-5001].

In the log file, what does Execute-Process translate your command to EXACTLY?
What does -l0x0009 do?

Didnt get you, like full command>?

I was expecting something like:

[07-26-2019 14:32:16.776] [Installation] [Execute-Process] [Info] :: [Setup.exe] successfully resolved to fully qualified path [C:\Program Files (x86)\InstallShield Installation Information\{61DF41B1-9877-4906-80C4-09941A05BD77}\Setup.exe].
[07-26-2019 14:32:17.935] [Installation] [Execute-Process] [Info] :: Working Directory is [C:\Windows\ccmcache\9\Files].
[07-26-2019 14:32:17.942] [Installation] [Execute-Process] [Info] :: Executing [C:\Program Files (x86)\InstallShield Installation Information\{61DF41B1-9877-4906-80C4-09941A05BD77}\setup.exe -s /f1"<PathWhereSCCMhasPerms>\Files\Uninstall.iss" /f2"C:\Windows\Temp\<TheAppToRemove>.Uninstall.log" -l0x0009 -removeonly]...
[07-26-2019 14:32:21.078] [Installation] [Execute-Process] [Info] :: Execution completed UNsuccessfully with exit code [-2147213312].

I wanted to see what PSADT was giving the Installshield setup.exe to work with.

I also notice you mix - / for the Installshield setup.exe

Have you tried to run this in a CMD console to see if it still gives you -2147213312

I also found this:

I have changed the iss itworks now, thanks