Hello,
I am incorporating AI as a part of our build system - hence AI is run from the command line at the end of each full build of our software, packaging the output of several VS solutions into one installer. If AI returns an error (i.e. ERRORLEVEL != 0), I am returning an error. However, since we are using a floating license, I do not want to fail a build just because AI was not available at the time when someone runs a build - I just want to give a warning. Hence, I am only giving a warning if the error code is 536805277. I have however now discovered that this error code is even returned when there is a problem with a file, for instance a permission problem or similar. In such cases, I would have wanted to fail the build, but I am not able to distinguish between the two situations based on the common error code.
Is there any way from the command line to distinguish between a License not available issue and a file access issue?
Thanks,
Vidar.
FOLLOW US
Get the latest news in Application Packaging