This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- build using IA command line, what is the return value of ERRORLEVEL
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 20, 2008
01:13 AM
build using IA command line, what is the return value of ERRORLEVEL
Hi all,
I am using a bat file to build my project, call "build.exe myproject.iap_xml".
what is the value of ERRORLEVEL will this command line return?
Or, how can I notice that the build is successful or failed?
thanks.
I am using a bat file to build my project, call "build.exe myproject.iap_xml".
what is the value of ERRORLEVEL will this command line return?
Or, how can I notice that the build is successful or failed?
thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 20, 2008
08:39 AM
Please see the help topic Build Tools > Exit Codes.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 20, 2008
10:09 PM
RobertDickau wrote:
Please see the help topic Build Tools > Exit Codes.
thanks Robert,
I have read that help file and try to catch the exit code in a batch file by using ERRORLEVEL.
build.exe myProject.iap_xml
echo.%ERRORLEVEL%
I saw from my command window, the exit code return by IA should be 0 (the last line from IA "EXITING: 0"), but the batch file echo return 4862 for the ERRORLEVEL.
Is there any mistake I took here? thanks.
