mcandre
Posts: 7
Joined: Fri Sep 14, 2012 10:36 pm

Convert AdvancedInstaller BATs into EXEs

I enjoy using the AdvancedInstaller command line BAT files to automatically build MSIs for software via Makefiles, it's really easy. But I sometimes have trouble doing this in other kinds of terminals, such as Git Bash / MinGW / MSYS / Cygwin. These terminals don't work with BAT files, so I can't call AdvancedInstaller from within them. I have to constantly switch terminals, because some only recognize .SH scripts and some only recognize BAT scripts.

However, all of these alternative terminals recognize EXEs. If the AdvancedInstaller BAT scripts were released as EXEs, running the AdvancedInstaller command line (e.g. via make) from MinGW would become possible. Would Advanced Installer consider releasing the command line programs this way?
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Convert AdvancedInstaller BATs into EXEs

Hi,

Please note BAT files are not our proprietary format, this is a file format from Windows. We just implemented a set of commands that you can call from any BAT file,
so each user can integrate them in the desired build environment.

If your other terminals accept EXEs you can try to call CMD.exe and set as command line parameter for it the path to your batch file. I haven't tested this though.

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

Return to “Feature Requests”