hhale21
Posts: 26
Joined: Thu Apr 01, 2010 10:21 pm

AI build stops working

Out of the blue I can no longer build an install Use AI 7.7. Error below.
Tried doing a repair of the AI install, no luck.

Reusing archives from cache... done.
Creating MSI database... done.
Inserting CAB file(s) into MSI... done.
Writing Summary Information... done.
Adding merge modules... done.
error.
Exception - Reason: File [C:\Program Files\Caphyon\Advanced Installer 7.7\stubs\x86u\ExternalUI.exe] could not be read.

Build finished because an error was encountered.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: AI build stops working

Hello,

This error message can be caused by your installer being opened. Make sure the installer you are building is not running by checking in Task Manager. If you are sure the process is not running yet you are still encountering the issue, a computer reboot might fix it.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
jawadsahil
Posts: 3
Joined: Wed Jun 10, 2015 6:10 am

Re: AI build stops working

Although this thread is one year old, but this will help future visitors.

The ExternalUI.exe is often false recognized as malicious by few antivirus tools, and hence it is prevented from execution or removed. So make sure the file is present at the location. You may add an exception to this file in your antivirus tool.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AI build stops working

Hello and welcome to our forums,

Thank you for your contribution to our forums. Certainly this info will be useful for future users facing with similar situation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Abe
Posts: 1
Joined: Sat Nov 12, 2016 8:05 am

Re: AI build stops working

Thanks jawadsahil for your input about the antivirus may quarantine ExternalUI.exe. This what happened to me. Norton Anti virus quarantined this file and I did not know about it. I could not figure out the problem and why I can no longer build exe. I just restored the file back and now I'm able to build exe. Thanks a million. Abe
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AI build stops working

Hello Abe and welcome to our forums,

Can you please let us know what version of Advanced Installer do you use? Also, can you please make sure you are using the latest updates of the Norton virus definition database?

Thank you for your feedback.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
brad.cote
Posts: 1
Joined: Tue Jan 10, 2017 7:03 pm

Re: AI build stops working

I have found this error if there is a virtual machine running on the build machine that is in the process of performing an install.

In my case, I was testing an installation, and left the 'Finish' dialog open in a VM, then tried to rebuild the installation package on the build machine (the VM host).
Closing the dialog in the VM allowed the build to complete.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AI build stops working

Hello and welcome to our forums,

Thank you for sharing your findings with us. Indeed when you use our test in VM option the "ExternalUI.exe" file is used and the Rebuild operation should be done only after finishing the UI test in VM.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”