aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

Installer stuck on startup

Hi,
I have built an installer which was already executed successfully on different machines.

Currently I have trouble running the installer on a Windows Server 2008 machine.
When Setup.exe is double-clicked, the loading/initialization page of the wizard appears and stays...
Here are the last few entries of the verbose-log:


MSI (c) (78:34) [14:32:49:833]: Doing action: AI_AppSearchEx
Action 14:32:49: AI_AppSearchEx.
Action start 14:32:49: AI_AppSearchEx.
MSI (c) (78:A4) [14:32:49:834]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\MSI344C.tmp, Entrypoint: DoAppSearchEx
Action 14:32:49: AI_AppSearchEx. Searching for installed applications
AI_AppSearchEx: Property: PreReqSearch, Signature: C:\Windows\system32\file.dll
MSI (c) (78!E0) [14:32:49:871]: PROPERTY CHANGE: Adding PreReqSearchAiVerMin property. Its value is '1.0'.
AI_AppSearchEx: Property: PreReqSearch_1, Signature: C:\Windows\system32\file.dll
MSI (c) (78!E0) [14:32:49:872]: PROPERTY CHANGE: Adding PreReqSearch_1AiVerMin property. Its value is '1.0'.
Action 14:32:49: .
:
Action ended 14:32:49: AI_AppSearchEx. Return value 1.
MSI (c) (78:34) [14:32:49:877]: Doing action: AI_RESTORE_AI_SETUPEXEPATH
Action 14:32:49: AI_RESTORE_AI_SETUPEXEPATH.
Action start 14:32:49: AI_RESTORE_AI_SETUPEXEPATH.
Action ended 14:32:49: AI_RESTORE_AI_SETUPEXEPATH. Return value 1.
MSI (c) (78:34) [14:32:49:878]: Doing action: AI_DetectSoftware
Action 14:32:49: AI_DetectSoftware.


Do you have an idea, what might be the reason?
I would be glad for any advice!

Edit: I have already tested the installer on another Windows Server 2008 machine, where everything worked fine.
aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

Re: Installer stuck on startup

What is the installer doing when 'Doing action: AI_DetectSoftware' is written in log?
What kind of detection is it?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer stuck on startup

Hi,

I apologize for the delayed reply.

I'm not sure why that custom action freezes on your machine. It is related to the "Launch Conditions" feature, so it searches if the machine fulfills the requirements configured in the "Launch Conditions" page. Can you please send me your project to support at advancedinstaller dot com, so I can take a look of its settings?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

Re: Installer stuck on startup

Hi,
mail is sent.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer stuck on startup

Hi,

Thank you for sending the project.

I see that you have only the "Run only in an active Internet connection is found" and "Run only if user has administrator privileges" options checked in the "Launch Conditions" page. Can you try to alternatively disable them, rebuild your package and see if any of them causes the hang?

I tested your project, but I couldn't reproduce the problem on my machine.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

Re: Installer stuck on startup

We tried running installer when Internet was disconnected - in that case an error message appeared saying something like "no internet connection found".
Also Setup was started within Administrator windows account + right-clicked and selected "Run as Administrator".
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer stuck on startup

Hi,

In order to get more details about the problem, please extract the attached archive, replace the "SoftwareDetector.dll" file from the location below, then rebuild your project and create a new verbose log of the installation:

Code: Select all

C:\Program Files (x86)\Caphyon\Advanced Installer 14.3\custact\x86
Best regards,
Eusebiu
Attachments
SoftwareDetector.zip
(664.33 KiB) Downloaded 732 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aho
Posts: 58
Joined: Thu Jul 21, 2016 4:38 pm

Re: Installer stuck on startup

Hi,
unfortunately we have very restricted access to the computer of the customer. In the meantime we needed to do a manaual installation (without advanced installer).
Maybe we will have access to the computer in the future. I will then try it.
Thanks so far!
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer stuck on startup

You're welcome.

Just let me know if there is anything else that I can help you with.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MMueller
Posts: 5
Joined: Fri Mar 29, 2019 10:37 am

Re: Installer stuck on startup

We have a similar problem. We use two different builds for our setup and we use multiple instances. The default build has web-installer prerequisites, while the other build has the same prerequisites included in the setup.
The setup built with the default build works fine, but the other build is stucked while searching for installed applications. It has nothing to do with the prerequisites, the problem occurs even if we delete all prerequisites. The verbose log looks like this:

MSI (c) (FC:04) [10:36:27:894]: Doing action: LaunchConditions
Aktion 10:36:27: LaunchConditions. Die Startbedingungen werden überprüft
Aktion gestartet um 10:36:27: LaunchConditions.
Aktion beendet um 10:36:27: LaunchConditions. Rückgabewert 1.
MSI (c) (FC:04) [10:36:27:949]: PROPERTY CHANGE: Adding AI_FOUND_PREREQS property. Its value is 'Visual C++ Redistributable for Visual Studio 2017 x86|SAP Crystal Reports runtime engine for .NET Framework (64-bit)|SAP Crystal Reports runtime engine for .NET Framework (32-bit)|Visual C++ Redistributable for Visual Studio 2017 x86|SAP Crystal Reports runtime engine for .NET Framework (64-bit)|SAP Crystal Reports runtime engine for .NET Framework (32-bit)'.
MSI (c) (FC:04) [10:36:27:952]: Note: 1: 2262 2: AI_PreRequisite 3: -2147287038
MSI (c) (FC:04) [10:36:27:954]: Note: 1: 2262 2: Condition 3: -2147287038
MSI (c) (FC:04) [10:36:27:973]: Destroying RemoteAPI object.
MSI (c) (FC:88) [10:36:27:979]: Custom Action Manager thread ending.
=== Verbose logging stopped: 07.02.2020 10:36:27 ===

Do you have any idea why the second build is stucked?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer stuck on startup

Hi,

I'm not sure why you encounter this problem. Can you reproduce it on multiple clean machines? If so, can you please send me the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so I can investigate them?

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

Return to “Common Problems”