I am working on a PowerShell script to automate the installation of our TW application, which is and will be running at dozens of customers.
I encountered the following problem:
When installing/updating the IAM database and there's nothing to do, twdeployer just returns a warning (OK) - although it seems that a hotfix is always applied even when applied before.
When installing/updating the APP database and there's nothing to do, twdeployer returns errorlevel1. For this reason I now have to disable error catching for this step in our PowerShell script.
Output of the same steps in a test batch file:
Is there a way to not get errorlevel 1 when everything is just OK and nothing needs to be updated in the database?