Adityat593
Posts: 2
Joined: Mon Apr 23, 2018 9:59 am

Prerequisite installation issue

Hi,

I am using professional version of Advanced installer to create an setup file for windows service project.

The windows service Installation working fine and now we have to add some prerequisite as well with our setup.

The following Prerequisite we need to add:

1. .Net framework 4.5
2. Mozilla Firefox 59.0.2

And our setup will support both x86 and x64 environment. We have added following Url to download Prerequisite:


.Net framework 4.5

"http://download.microsoft.com/download/ ... 86_x64.exe"


Mozilla Firefox 59.0.2

64 bit

"https://download-installer.cdn.mozilla. ... US/Firefox Setup 59.0.2.exe"

32 bit

"https://download-installer.cdn.mozilla. ... US/Firefox Setup 59.0.exe"

But, When we are trying to install the same utility in windows 7 machine the .net Framework and Mozilla Firefox create some issue and we get a popup box Error 1001 and installation aborted.

Also, some time we get the file is corrupted issue as well.

We are using Advanced Installer 14.7

Let me know if you need any additional information about this issue.
Attachments
error.png
error.png (709.2 KiB) Viewed 9754 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisite installation issue

Hello and welcome to our forums,

I cannot say why this error occurs. Could you send us by email to support at advancedinstaller dot com the following resources:
1. the AIP (setup project file)
2. a verbose log of the installation which thrown the related error
3. a download link to your built setup package and a test case we can follow to replicate the error

so we can fully test and investigate this on our side?

If you cannot share with us your project file, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TheRocket
Posts: 45
Joined: Thu Jul 26, 2012 6:55 pm

Re: Prerequisite installation issue

I was able to reproduce the issue in some way:

With version 14.4, add a custom pre-install prerequisite, ".net framework 4.7.2".
Install based on conditions:
Registry Value with specified content.
Registry key to check is "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Release”.
Install prerequisite if all conditions are false.

I've made a mistake in the version check. I did "greater than" value 461808 for the registry key.
This causes advanced installer to find that the pre-requisite is not installed, tries to download and install the pre-requisites, prerequisites says "I'm already installed", and advanced installer returns error 1001 when trying to continue afterwards.

To fix my issue, I and to check for "greater than" value 461807, as we don't have choices of "Greater than or equal to".

So it seems like when Advanced installer sees the prerequisites conditions are not met after running the pre-requisites, it fails with error 1001.

Hope this can help some of you!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisite installation issue

Hello,

Thank you for sharing with us your findings. I am sure they will be used by other customers too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”