rho
Posts: 69
Joined: Tue May 12, 2009 1:22 pm

Pre Build not executed on CLI version

Hi,

can you confirm, that with AI 9.6.1 prebuild tasks are not executed anymore when run from the command line? When run in window mode, the preBuild tasks are executed.
rho
Posts: 69
Joined: Tue May 12, 2009 1:22 pm

Re: Pre Build not executed on CLI version

this is how it looks in AI 9.6.1

Code: Select all

22:27:56  set new installer version ...
22:27:58  done
22:27:58  start build ...
22:27:58  Checking builds status... done.

22:27:58  Build required.
22:27:59  

22:27:59  [ DefaultBuild ]
22:27:59  

22:27:59  Building package (de): xxxxx.msi

22:30:02  Creating CAB file(s)... done.

22:30:06  Creating MSI database... done.

22:30:06  Inserting CAB file(s) into MSI... done.

22:30:06  Writing Summary Information... done.

22:30:09  Build time: 2 min 9 sec.
22:30:09  

22:30:09  
22:30:09  Copying file <source_file> to <destination_file>... Failed to launch application with retCode: 1. 

22:30:09  Total build time: 2 min 9 sec.

22:30:09  Build finished successfully.done

that's the same build on AI 9.3

Code: Select all

22:27:43  set new installer version ...
22:27:45  done
22:27:45  start build ...
22:27:46  Checking builds status... done.

22:27:46  Build required.
22:27:46  

22:27:46  [ DefaultBuild ]
22:27:47  update for x.xml... done.

22:27:47  Update for y.xml... done.

22:27:47  

22:27:47  Building package (de): xxxxx.msi 

22:29:52  Creating CAB file(s)... done.

22:29:55  Creating MSI database... done.

22:29:56  Inserting CAB file(s) into MSI... done.

22:29:56  Writing Summary Information... done.

22:29:58  Copying file <source_file> to <destination_file>... Failed to launch application with retCode: 1. 

22:29:58  Build time: 2 min 12 sec.
22:29:58  

22:29:58  
22:29:59  Total build time: 2 min 12 sec.

note that the part with

22:27:47 update for x.xml... done.
22:27:47 Update for y.xml... done.

is missing in 9.6.1
rho
Posts: 69
Joined: Tue May 12, 2009 1:22 pm

Re: Pre Build not executed on CLI version

the prebuild tasks are not executed on 9.5 either. On 9.4 it works.
I'm using an enterprise license.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Pre Build not executed on CLI version

Hello,

Indeed, I can confirm the issue is caused by a bug in Advanced Installer CLI. Thank you for bringing it to our attention and for helping us make Advanced Installer a better product.
It's already on our TODO list and the development team will include the fix as soon as possible.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Pre Build not executed on CLI version

Hello,

This was fixed in version 9.8 of Advanced Installer released on December 20, 2012.

All the best,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”