cancelling a prerequisite doesn't cancel the overall install - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

shawn
Posts: 6
Joined: Mon Nov 26, 2007 5:14 am

cancelling a prerequisite doesn't cancel the overall install

I see reports of this problem back in 2006 that say it will be fixed in the next version, but it's happening to me with the latest version (6.0.1). If the user cancels the installation of one of the prerequisites, then the entire install is cancelled, but only when using the Full UI. When using the Basic UI and Progress, canceling a prerequisite does not stop the entire install. And unfortunately, I can't use the Full UI because it allows the user to uncheck and then skip the installation of the prerequisites, which is just a support nightmare waiting to happen.

Is there a work-around for this problem?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This is because when using Full UI for the prerequisites dialog, after the user cancels the installation of the prerequisite he can press only the "Back" and "Cancel" button (the "Cancel" cancels the entire installation).

When using basic UI the user cannot press the "Cancel" button, therefore the entire installation cannot be stopped. This behavior is the same when using full UI for the Prerequisites and the user unchecks the prerequisite and presses the "Finnish" button.

This is actually a feature that allows the end user to not install a prerequisite if he doesn't want to.

If you want the prerequisite to always be installed then you can make it silent so the user will not cancel its installation.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shawn
Posts: 6
Joined: Mon Nov 26, 2007 5:14 am

The solution to my problem was to use the Full UI and check "Force installation of this prerequisite." for all of my prerequisites. The wording of this option is a little confusing and so is the help information for it. I thought it meant that these prerequisites would be installed every time I run the installer. However, what it really means is that the installer won't allow you past the Full UI until these are installed.

As near as I can tell, here's how it works with the Full UI:

The installer determines which of the prerequisites need to be installed based on the defined Install Conditions. It checks the checkbox for each of these. If a prerequisite needs to be installed and "Force installation of this prerequisite." is set for that prerequisite, the checkbox is made read-only.

This is exactly what I needed. Now canceling a prerequisite will cancel the entire installation and the user can't bypass any of the prerequisites.

Return to “Common Problems”