Cannot cancel main installation in an installation suite - Advanced Installer Community
ekc
Posts: 3
Joined: Fri Jan 23, 2015 2:59 pm

Cannot cancel main installation in an installation suite

Hi,

I have put together an installation suite following the example provided in "Creating Installation Suites" at http://www.advancedinstaller.com/user-g ... tions.html and I have been able to achieve the desired functionality thus far, with the exception of not being able to cancel the main installation, despite clicking the exit (x) button in the upper right corner of the template and choosing "yes" in the CancelDlg. I have the separate .exe installers added as Feature-based prerequisites, and even after choosing to cancel the installation via CancelDlg during one of the prerequisite installations, the subsequent Feature-based pre-requisites continue to install, thereby making it impossible to stop the entire installation suite once it begins. What am I doing wrong, or what can I do to stop this? I will email my .aip project file and verbose logging from an attempted canceled installation to support.

Thanks,
Ellis
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Cannot cancel main installation in an installation suite

Hi Ellis and welcome to Advanced Installer forums,

This may happens if the Continue with main installation even if the prerequisite is not installed option is enabled in the Properties tab of the prerequisites. Can you please disable this option and see if the behaviour still persist?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ekc
Posts: 3
Joined: Fri Jan 23, 2015 2:59 pm

Re: Cannot cancel main installation in an installation suite

Hi Dan,

Thanks for replying. I disabled this option and the behavior still persists.

Thanks,
Ellis
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Cannot cancel main installation in an installation suite

Hi Ellis,

I've tested your scenario but I cannot replicate it.
In order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ekc
Posts: 3
Joined: Fri Jan 23, 2015 2:59 pm

Re: Cannot cancel main installation in an installation suite

Hi Dan,

I sent an email to support containing the .aip project file and an installation log along with my first post, but I sent it again and attached the most recent version of the project file for you to review.

Thanks,
Ellis
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Cannot cancel main installation in an installation suite

Hi Ellis,

The Continue with main installation even if the prerequisite is not installed option requires valid install conditions for the prerequisites.

However, even if you have properly install conditions for each prerequisite, and you will cancel the installation of one of the prerequisites, the installer will continue with the other prerequisites.

After all the prerequisites have been launched for installation, the installer will check if the prerequisites have been properly installed.
If one of the prerequisite has not been properly installed, it will rollback.

I have added an improvement on our TODO list, so that the conditions be verified right after the prerequisite has been launched for installation not at the end when all the prerequisites have been launched to install. I have added your email address in our notifications system so you will be notified when this improvement will be available in Advanced Installer.

Thank you for bringing it to our attention.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”