Advanced Installer project cannot install Microsoft Redist 2013 - Advanced Installer Community
bogdan.condur
Posts: 10
Joined: Thu Aug 25, 2022 3:24 pm

Advanced Installer project cannot install Microsoft Redist 2013

Hello,

One of your colleagues received a new laptop and she tried to install our application created with Advanced Installer. The new laptop is a Windows 11 version 24H2, Windows Feature Experience Pack 1000.26100.66.0

Our application has a bunch of prerequisites, one of them being the Microsoft Visual C++ 2013 Redistributable.
On this new laptop, the application does not want to install the redistributable. The other Redists 2015-2019, are installing just fine.
No one else has encountered this issue before, it's an isolated case. We would like to understand why this is happening, because there's a chance it can happen to our clients as well.

I would attach the log of the installer (where I cannot see anything suspicious) but the file is too large for this website (3mb).

Do you have any idea what could cause this issue?
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Advanced Installer project cannot install Microsoft Redist 2013

Hello Bogdan,

I'm afraid I am not aware of anything related to VC++ Redistributable 2013 and Windows 11 24H2.

Are you using the predefined packages from Advanced Installer?
Screenshot_14.png
Screenshot_14.png (4.37 KiB) Viewed 3868 times
If so, could you please let me know which bitness (32 or 64) so I can run some tests on my end to see if I can reproduce the issue?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bogdan.condur
Posts: 10
Joined: Thu Aug 25, 2022 3:24 pm

Re: Advanced Installer project cannot install Microsoft Redist 2013

Hi Catalin,

We are using the official .exes from Microsoft, downloaded from here https://www.microsoft.com/en-us/downloa ... x?id=40784 The prerequisites are added under "Feature-based" with "/quiet /norestart" as the command lines.

I've also forgot to mention that we're using AI version 19.1. If I look over the 'Launch conditions' Supported Operation Systems versions, for Windows 11 only 21H2 x64 (Preview) is available. Could this be part of the issue?
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Advanced Installer project cannot install Microsoft Redist 2013

Hello Bogdan,
I've also forgot to mention that we're using AI version 19.1. If I look over the 'Launch conditions' Supported Operation Systems versions, for Windows 11 only 21H2 x64 (Preview) is available. Could this be part of the issue?
No, this shouldn't affect the installation of the prerequisite.

Since you've added it manually, I'm thinking the install conditions are at fault here.
Screenshot_16.png
Screenshot_16.png (35.18 KiB) Viewed 3752 times

The above is the condition we use if you add the prerequisite from our predefined list.

This condition is evaluated twice with the prerequisite:

- once before the prereq is installed - here the condition must be false (meaning the prereq is not already installed)

- once after the prereq is installed - here the condition must be true (meaning the prereq was installed correctly)

In your case, could you please let me know what condition have you used? It should be the same as in my screenshot to ensure correctness.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bogdan.condur
Posts: 10
Joined: Thu Aug 25, 2022 3:24 pm

Re: Advanced Installer project cannot install Microsoft Redist 2013

Hello Catalin,

The Install conditions is set to: 'Always install prerequisite'. I thought that this option would ensure the installation is done for sure, but it seems this is not the case afterall?
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Advanced Installer project cannot install Microsoft Redist 2013

Hello Bogdan,

This is really strange.

You are right, that should be the case - the prerequisite being installed.

I have tried testing this behavior, but can't quite reproduce it.

If possible, could you please create a sample project that reproduces this and forward me the project file (AIP), so I can run some tests on my end? The AIP file should basically contain only the prerequisite, no additional files.

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

Return to “Common Problems”