Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

Visual Patch Exit Testing

$
0
0
We are having trouble with 2 things with Visual Patch 3.8.1.0:

1. Application.Exit(number) – when we set the number to non-zero and test %errorlevel% from a MS-DOS prompt, it is always set to 0. Is this supported? When a script exits with a non-zero value, how do you test the exit code?

2. Patch exiting with error – In general, how do we know if the patch program completed successfully. We do a set of checks in our action scripts before the patch program runs during the On Startup phase. Then the visual patch program runs. It may encounter a number of issues and not complete successfully. How do we check for this? Do we check the process return code (ie. %errorlevel%) for non-zero and if so, we were not able to get that to work (ie. it is always 0).

I'm hoping these are very simple problems and we are just doing something wrong.



Viewing all articles
Browse latest Browse all 2105

Trending Articles