AI_VerifyPrereq appears to fail during Installation

Having trouble running Advanced Installer? Got a bug to report? Post it all here.
Post Reply
tscheuerman
Posts: 38
Joined: Thu Feb 11, 2016 11:39 pm

AI_VerifyPrereq appears to fail during Installation

Post by tscheuerman » Thu Oct 22, 2020 1:33 am

Hello,

Advanced Installer Version: 17.5
OS: Windows 10 64 bit

When I attempt to run my Advanced Installer executable (as an Administrator) on a Windows 10 64 bit machine, the installation process fails during the Prerequisite Check phase. I've attached a copy of the Installation Log.

The 2 prerequisites are:
- Install .NET 4.8 if not installed. The machine that I am running the installer on currently has .NET 4.8 installed.
- Install Crystal Report Runtime if not installed. The machine that I am running the installer on does NOT have the Crystal Report Runtime installed.

When I review the log, I see the following when I search for "error":

Start at line #929

CustomAction AI_VerifyPrereq returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:18:03: AI_VerifyPrereq. Return value 3.
Action ended 17:18:03: INSTALL. Return value 3.

Please advise as on how to resolve this issue.

Thanks in advance,
Todd
Attachments
AucStrat740 Installation Log.txt
Installer Installation Log
(115.68 KiB) Downloaded 4 times

Catalin
Posts: 3394
Joined: Wed Jun 13, 2018 7:49 am

Re: AI_VerifyPrereq appears to fail during Installation

Post by Catalin » Fri Oct 23, 2020 3:49 pm

Hello Todd,

Unfortunately, the log file does not provide enough information for me to say why this is happening.

In order for me to further investigate this, could you please forward me the following resources:

- a copy of your .AIP file

- a download link for the setup

by e-mail at support at advancedinstaller dot com?

Additionally, are you able to reproduce this on any machine (e.g. a clean VM), or is it specific to your developer machine?

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

tscheuerman
Posts: 38
Joined: Thu Feb 11, 2016 11:39 pm

Re: AI_VerifyPrereq appears to fail during Installation

Post by tscheuerman » Fri Oct 23, 2020 4:01 pm

Hello Catalin,

I was able to resolve the issue by changing my prerequisite conditions. Previously I was checking for the existence of a registry entry. I changed to check for a product code; this resolved the issue. Seems strange that checking for the registry entry didn't work.

Thanks,
Todd

Catalin
Posts: 3394
Joined: Wed Jun 13, 2018 7:49 am

Re: AI_VerifyPrereq appears to fail during Installation

Post by Catalin » Fri Oct 23, 2020 4:18 pm

Hello Todd,

Thank you for your followup on this.

I am glad to hear everything is working as expected now.
Seems strange that checking for the registry entry didn't work.
I'd assume that most likely this is a permissions issue. When the check for the prerequisite is done, is the setup elevated?

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

Post Reply