'Builds' combined with 'Pre-Build Events' - Advanced Installer Community
debian69
Posts: 9
Joined: Mon May 02, 2011 3:57 pm

'Builds' combined with 'Pre-Build Events'

Hi,
in order to create two sepeareated MSI-Packages with nearly the same content, I defined a single aip-File und used the 'Builds'-Feature two design two different builds. Everything is working fine except the defined Pre-Build Events. I want to copy two different files for each build. So I defined four File-Copy-Events, two for each Build.
The problem ist, that Advanced Installer always fires each of the (four) File-Copy-Events, even if I only build one of the Builds. I have to use the check boxes in front of the File Copy Definitions on the Build Events page manually to switch them on or off for every Build, before I start the Build Process.
What do I have to do, to let Advanced Installer control, which Build Event belongs to which Build?

Best regards,
Thorsten
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: 'Builds' combined with 'Pre-Build Events'

Hi Thorsten,

Unfortunately, the "Pre-build" events are not executed for each build separately, they are executed for all the builds (they are actually global events).

However, we have already added this improvement in the next version of Advanced Installer which will be released in a couple of days. It will offer support for "Pre-build" events which can be executed either per-build or globally.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
debian69
Posts: 9
Joined: Mon May 02, 2011 3:57 pm

Re: 'Builds' combined with 'Pre-Build Events'

Cool - thanks!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: 'Builds' combined with 'Pre-Build Events'

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: 'Builds' combined with 'Pre-Build Events'

Hi,

This improvement was added in version 10.5 of Advanced Installer released on September 02, 2013.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”