Does Advanced Installer create a log? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

JavCam
Posts: 1
Joined: Tue Jan 13, 2009 12:15 am

Does Advanced Installer create a log?

Hi. I am working on a script that will automate the process of building 6 installers (using the command line), and it needs to be able to run unattended. Does Advanced Installer create a log somewhere when building installer projects? I need to be able to see what errors were encountered during the build process. I can get an error code from the executable (advancedinstaller.com), but there doesn't seem to be a lookup table for these numbers. Thanks for your help!
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: Does Advanced Installer create a log?

Hi,

The AI command line executable ("AdvancedInstaller.com") writes all error messages to the standard output. Thus, you can redirect the standard output (and optionally, standard error) to a file, if required:

Code: Select all

AdvancedInstaller.com /build project.aip > output.log

Code: Select all

AdvancedInstaller.com /build project.aip > output.log 2>&1
Use ">>" instead of ">" for appending to an existing file, instead of overwriting it.

Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”