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!

thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

9.3 build fails with no changes

I regularly run into the problem of builds failing, usually one of the Control Table errors. It fails in both the GUI and command-line. Then, after shutting down all applications and restarting the computer it will build. This happens even if no changes have been made to the installer project. And caching is not enabled.

Is there a possible issue with my project.xml because it was authoring using 8.x something?

Any solution to make builds more reliable?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: 9.3 build fails with no changes

Hello,

I'm not sure why you are encountering this behavior. Can you please give us more details about the related error? Also, can you reproduce the behavior on multiple clean machines? If so, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

9.6.1 build fails with no changes

I constantly have build failures when the AI project has not been changed. The failure in the GUI reports different information than the command-line. And that information is not useful (to me) to diagnose the problem.

Yesterday 12 consecutive builds failed between the two, then it was successful. I rebooted once in the middle of those failures.
GUI Failure
GUI Failure
GUIfailure.jpg (65.25 KiB) Viewed 5401 times
Command-line Failure
Command-line Failure
CLfailure.jpg (30.61 KiB) Viewed 5401 times
These failures have happened randomly but consistently since 8.7.1. through 9.6.1. It may likely be something about the .aip project file but I have no ideas on what that might be. All files used by AI are pre-staged prior to attempting an installer build. Caching has been disabled.

I will be handing-off the build process to our QA people soon and would like to resolve this issue so they don't have to fight it.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: 9.3 build fails with no changes

Hi,

As my colleagues said, to debug this we need to first reproduce it which it should not be a problem if you send us the project file causing the problems for you.
We don't need the sources used in it, just the project. Do you have any restrictions in the company for sending it?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Re: 9.3 build fails with no changes

The Solution:

With the help of the AI Tech folks we determined that my project was built long enough ago that the old installer had introduced several dialog Init conditions when I used the right-click "Show Only If ..." option. The Custom Actions were being run with conditions like:

Code: Select all

AI_INSTALL AND InstallMode=InstallModeCustom
AI_INSTALL AND InstallMode=InstallModeComplete
By removing the "duplicate" conditions and simplifying it the duplicate Custom Actions are not run and builds work reliably.

Thanks folks!

Return to “Common Problems”