begleysm
Posts: 3
Joined: Sat Aug 09, 2025 6:30 pm

Prerequisite doesn't install

I am trying to include/install .NET Desktop Runtime 7.0.20 x64 as a Prerequisite for my GUI (with the installer pre-downloaded and included with the installer. For reference the included file is: https://builds.dotnet.microsoft.com/dot ... in-x64.exe). I have followed the video guide shown here
https://www.advancedinstaller.com/net-f ... stall.html

However, the Prerequisite never installs. You can see here that when I try to launch my GUI it cannot launch because the .NET Desktop Runtime is not installed, so the issues isn't that it is already on the machine.
error.png
error.png (37.43 KiB) Viewed 1258 times
I ran the MSI installer using Msiexec.exe to create a log and it appears as though the Installer thinks that it has detected the .NET Desktop Runtime 7.0.20 x64 is already installed (see like 671 which says MSI (c) (E8!F0) [10:36:52:554]: PROPERTY CHANGE: Adding AI_FOUND_PREREQS property. Its value is '.NET Desktop Runtime 7.0.20 x64'.) even though it is not. I've attached the installer log to this post as mygui_installer.log.

It seems like it might be related to this (solved) problem where the built-in "Exact file size" and "MD5 signature" are off? Thought it looks like the Advanced Installer GUI has changed enough that I can't find where to change the "Exact file size" and "MD5 signature".
viewtopic.php?t=49104
Attachments
mygui_installer.log
(550.19 KiB) Downloaded 53 times
Catalin
Posts: 7606
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisite doesn't install

Hello and welcome to our forums,

If possible, could you please share with me a sample project that reproduces this so I can run some tests on my end and further investigate this?

Most likely, you have misconfigured something in your project that is causing the prerequisite to not be installed.

To ensure a smooth process here, I would advise, if you can, to use our predefined prerequisites (because we offer it as well - it basically comes automatically configured):
Screenshot_53.png
Screenshot_53.png (1.48 KiB) Viewed 1248 times
I'm saying this because it sounds like you manually added it (e.g. downloaded it first and then added it to your project). :D

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
begleysm
Posts: 3
Joined: Sat Aug 09, 2025 6:30 pm

Re: Prerequisite doesn't install

Attached is a minimal project that demonstrates the issue (at least on my machine). It is a brand new project that just has the .NET Desktop Runtime 7.0.20 x64 Predefined Prerequisite checked. I said "Yes" when it asked me if it should download it locally and include it with the installer. When I run the generated installer it does NOT install .NET Desktop Runtime 7.0.20 x64. See attached for AIP file.

Also, on my actual AIP, I did use your pre-configured pre-requisite. I just clicked the box, hit "yes" when it asked if I wanted to download it and proceeded just like in your instructions & video.
prereq.png
prereq.png (105.3 KiB) Viewed 1245 times
Attachments
Your Application.aip
(20.98 KiB) Downloaded 51 times
Catalin
Posts: 7606
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisite doesn't install

Hello,

Thank you for providing the AIP file.

I have tested this scenario using your AIP file and it worked as expected on my end (tested on Windows 11).
Screenshot_54.png
Screenshot_54.png (217.04 KiB) Viewed 1144 times

On what machine are you testing this?

If the prerequisite is not installed, it most likely means that it is alredy installed on that machine. Could you please check if that is the case?

Another thing I can think of would be if you test this on a 32-bit machine, but this is highly unlikely.

By default, the 64-bit prerequisites have 32-bit systems unchecked:
Screenshot_55.png
Screenshot_55.png (3.21 KiB) Viewed 1144 times
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
begleysm
Posts: 3
Joined: Sat Aug 09, 2025 6:30 pm

Re: Prerequisite doesn't install

Thanks for the reply.

64-bit is checked (and 32-bit is not)
1.png
1.png (28.3 KiB) Viewed 1143 times
Also here is a screenshot showing that .NET Desktop Runtime is not installed. It is not on the Add/Remove Programs list and when I try to run an application that requires it, it fails.
2.png
2.png (35.13 KiB) Viewed 1143 times
I created a GIF of the installer (from the minimal demo project) being used showing that it doesn't attempt to install the .NET Desktop Runtime. But I can't upload it here with the 1MB max file size. Here is a link to it though
https://pasteboard.co/V3vCTEeSLqk9.gif

Here is some System Info from my machine
2.png
2.png (35.13 KiB) Viewed 1143 times
Do you have a way that I can look, more precisely, at where the check is being made to see if the Installer thinks that the Pre-Req is already installed? A Registry Key or something?


Thanks,
Sean
Catalin
Posts: 7606
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisite doesn't install

Hello Sean,

The install condition is the following:
Screenshot_56.png
Screenshot_56.png (6.26 KiB) Viewed 1095 times
You can see this under "Prerequisites" page --> your prerequisite --> "Conditions" tab.

The only discrepancy between you and my test, from what I can see, is the version of Advanced Installer you are using.

I just reopened the AIP file on my machine to make the screenshot for your and the notification that the project was created with version 22.0 appeared on my screen.

With that in mind, could you please try to test this with the latest version of Advanced Installer and let me know if that helps (your version is almost 1 year old)?

Download Page

Also, in my tests, I built the AIP file using the latest version.

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

Return to “Common Problems”