Installer hangs when trying to install pre-requisites - Advanced Installer Community
fali
Posts: 22
Joined: Thu Mar 14, 2013 9:28 pm

Installer hangs when trying to install pre-requisites

Hello,

My app needs Windows Mobile Device Center to fully function so it is included as a pre-requisite in the installer, under the Feature-based 'folder'. It's set to download from Microsoft's download link if the user chooses to install the feature. It seems like WMDC causes the installer to hang. When I choose not to install the WMDC feature, my app installs fine (although the WMDC components don't work). When I chose to install WMDC, it gets stuck.

If I install WMDC separately by myself (going to the Microsoft download link), my app functions fine. I checked the download link to make sure it is working and it is. Is there something that I'm missing that is causing it to fail?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installer hangs when trying to install pre-requisites

Hello,

This may happens if this prerequisite is one of those prerequisites which cannot be installed as feature based.
There are some prerequisites which cannot be installed as a Feature-based or Post-install software prerequisite (e.g. SQL Server installation or .Net Framework ) This is happening because these kind of prerequisite attempts to shut down the windows installer service (msiserver). Maybe this is your case too.

In this case, you can try to add the Windows Mobile Device Center as a Pre-Install prerequisite. This way the prerequisite will be launched before the main installation package.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fali
Posts: 22
Joined: Thu Mar 14, 2013 9:28 pm

Re: Installer hangs when trying to install pre-requisites

Hi Dan,

I have an update on this issue. I tried your advice about setting up the pre-requisite as a pre-install setup instead of being feature-based, but this did not resolve my issue. However, I went back and tried an older built installer (built using Advanced Installer 11.3 vs 11.6) and it seemed to work fine. No issue. I was wondering, is there anything that might have changed between these two versions that might have created this installer behavior? I looked through the changelogs from version 11.3 to 11.6 but could not find anything that might be causing the issue. Thank you.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installer hangs when trying to install pre-requisites

Hi,

No, there shouldn't be any changes between 11.3 and 11.6.3 versions of Advanced Installer which can fire this behaviour. By the way, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fali
Posts: 22
Joined: Thu Mar 14, 2013 9:28 pm

Re: Installer hangs when trying to install pre-requisites

Hi Dan,

I have submitted an AIP via email as requested. It is only set up to install WMDC but regardless it displays the same behavior. If you build a .msi and try to install it will hang up and you will need to use Task Manager to kill the process. Thank you, I hope to hear from you soon.
mdsdqk
Posts: 2
Joined: Wed Nov 06, 2019 8:10 am

Re: Installer hangs when trying to install pre-requisites

Hey,

I am facing the same issue with AI 16.7, trying to pre-install Windows Mobile Device Center and it sometimes works but in majority times it just hangs and I have to kill the installer through Task Manager. By any chance did you guys find a solution to this?

Regards,
Sadiq
mdsdqk
Posts: 2
Joined: Wed Nov 06, 2019 8:10 am

Re: Installer hangs when trying to install pre-requisites

Hello,

I have the exact same problem with AI 16.7, I am installing Windows Mobile Device Center (WMDC) as a pre-install pre-requisite, but the behavior is quite random, mostly it doesnt work and at rare events it works. Is there a solution to this?


Regards,
Sadiq
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer hangs when trying to install pre-requisites

Hello Sadiq and welcome to Advanced Installer forums,
but the behavior is quite random, mostly it doesnt work and at rare events it works.
Could you please give me some more details about this? Was this tested on the same machine or on different machines? If this was tested on different machines, this might be hanging because on some machines the ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" feature is not enabled.

Could you please check if this is the case and let me know?

Looking forward to hearing from you.

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

Return to “Common Problems”