antidotcb
Posts: 34
Joined: Mon May 17, 2010 8:10 am

Return codes of advancedinstaller.com cmdtool

Hi there,

where i can get information about result codes, that returned by advancedinstaller.com utility running command line command.

For example, when project fails to load using advancedinstaller.com /build *.aip command, %errorresult% is -1.
But when no path variable is defined that is required by project, advancedinstaller.com return %errorresult% equal to 536805277.
I want to know more information about different values of errorresults to provide more information to automation team.

Thanks in advance.

Best regards,
Daniil Bilyk
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Return codes of advancedinstaller.com cmdtool

Hi Daniil and welcome to Advanced Installer forums,

Unfortunately we don't have any reference to the CLI return codes. However, the codes should be categorized to either Error or Success.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
antidotcb
Posts: 34
Joined: Mon May 17, 2010 8:10 am

Re: Return codes of advancedinstaller.com cmdtool

The exit code 0 is the only SUCCESS result?
Or maybe there are others?

Is this correct behaviour to proceed with?

Code: Select all

advancedinstaller.com /build project.aip
IF NOT %ERRORLEVEL% EQU 0 GOTO :FAIL
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Return codes of advancedinstaller.com cmdtool

There are no other success return codes except 0.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”