Install continuing to main package install while prerequisites are being installed - Advanced Installer Community
WigginsAAE
Posts: 4
Joined: Fri Mar 11, 2022 12:08 pm

Install continuing to main package install while prerequisites are being installed

I have a prerequisite package that need to be installed prior to the main package install. The problem I am experiencing is that even thought I have set it to install before main package, the installation continues on the the main package install screen before the install is complete, and if the user then presses 'Next' to continue the user is presented with a dialog box stating it cannot continue as another installation is in progress.
AI Retry.png
AI Retry.png (8.17 KiB) Viewed 3337 times
The settings for my package are as below
AI Package.png
AI Package.png (23.88 KiB) Viewed 3337 times
I am aware that I have checked the option 'continue if prereq is not installed' but surely if the prereq installation is accepted and started then the installer should wait until it is finished before continuing.

Any help appreciated
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Install continuing to main package install while prerequisites are being installed

Hello,

This scenario might a bit confusing, especially with the message you are receiving.

Although it looks like the message appears because the prerequisite is installing at the same time with the main package, this most likely is not the case.

Could you please try either:

- testing this on a clean VM

- restarting the machine and retesting

and let me know if this is still reproducible?

Now, regarding why your prerequisite is not installing, could you please forward me the following resources:

- a copy of the AIP file

- a download link for the setup

by email at support at advancedinstaller dot com so I can further test and investigate this?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
WigginsAAE
Posts: 4
Joined: Fri Mar 11, 2022 12:08 pm

Re: Install continuing to main package install while prerequisites are being installed

Hello Catalin
Many thanks for your reply.

Maybe I didn't explain my problem clearly enough as there appears to be some confusion...sorry.

Firstly, I do all of my testing on a VM, and each time I restore the VM to a clean snapshot. It is reproducible every time I run it.

Also, there is no problem with the prerequisite install, it always successfully installs.
The problem is that the AI wizard proceeds on to the main install dialogue whilst the prerequisite is still installing. So if the user presses the 'Next' button immediately, the error will occur. If however the user waits for about 15 seconds, before pressing the 'Next' button, the prerequisite install has completed and the main install will continue successfully.

Hopefully this clarifies the problem. If you still need the resources you requested please let me know.

Kind regards
Steve
Liviu
Posts: 1419
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Install continuing to main package install while prerequisites are being installed

Hello Steve,

Yes, please send us the resources requested by my colleague Catalin so that we can further investigate this issue.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”