rdbrownii
Posts: 9
Joined: Thu Oct 13, 2016 1:39 pm

Build hangs a Creating EXE file

When I build my installer project everything runs fine until it gets to the 'Creating EXE file' phase. Then it just stops and hangs. It doesn't finish and I can't cancel the build. Advanced Installer won't let me close it while a build is in progress so my only recourse is to end task it. I've had this problem since 22.3. Here's the Output from the build attempt:

Checking builds status
Build required.


[ DefaultBuild ]
Building package:
P:\SOQL Studio\SOQL Studio Setup\Setup Files\SOQLStudio Setup.exe
Prepare build
Detecting MSI incompatible resources
Preparing files
Creating CAB file(s)
Signing CAB file(s)
Preparing binaries
Creating MSI database
Writing Summary Information
Signing MSI
This file was signed with the certificate: Visual Software Systems LLC
Creating EXE file


Please help, I need to get this build out to my customers.

Thanks... Rick
rdbrownii
Posts: 9
Joined: Thu Oct 13, 2016 1:39 pm

Re: Build hangs a Creating EXE file

I figured out why it hangs. My antivirus software flags the EXE as being infected and then moves it to quarantine. I've seen this with v22.3 and now v22.4. My only way forward is to revert back to v22.2 and do the build. What is different about 22.3 and 22.4 that causes the setup.exe that Advanced Installer builds to be flagged as infected?
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: Build hangs a Creating EXE file

Hello Rick,

Nothing major has been added in versions 22.3 and 22.4.

Unfortunately, what we see here is a false-positive detection.

What I would suggest is adding the build folder as an exception in your AV product and then submitting the resulted EXE file for whitelisting at your vendor.

Such cases can not be avoided, considering how fast the detection algorithms are changing nowadays.

Before each release, we run each binary (EXEs,DLLs) + the whole MSI into VirusTotal and if we get any flags, we contact each vendor for whitelisting. Only after the whitelisting is done we go ahead and release the product.

However, this does not mean we didn't get emails about the packages beign flagged one day after the whitelisting. :roll:

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rdbrownii
Posts: 9
Joined: Thu Oct 13, 2016 1:39 pm

Re: Build hangs a Creating EXE file

Thanks Catalin. I will submit this as a false positive and see where that gets me.
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: Build hangs a Creating EXE file

You are always welcome, Rick!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”