This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Cancel Install when Prerequisites are installing
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 08, 2008
02:02 AM
Cancel Install when Prerequisites are installing
I have a setup.exe and I have a couple of prerequisites, which are the first things that gets installed when I start the installation process. The prerequisite is Microsoft .NET Framework 3.5 and Adobe Reader.
I would like to cancel my install when either of the prerequisites are in the process of installing.
However when I click on cancel, I get displayed the message Would you like to cancel the setup after Microsoft.NET Framework 3.5 has finished installing?
The buttons Yes and No are displayed on this dialog.
When I click No, the install continues and nothing happens, when I click Yes the same happens (which is what I expect) but upon clicking No I expect the whole installation to abort.
How can I make the installer to abort install when a Prerequisite is running?
I would like to cancel my install when either of the prerequisites are in the process of installing.
However when I click on cancel, I get displayed the message Would you like to cancel the setup after Microsoft.NET Framework 3.5 has finished installing?
The buttons Yes and No are displayed on this dialog.
When I click No, the install continues and nothing happens, when I click Yes the same happens (which is what I expect) but upon clicking No I expect the whole installation to abort.
How can I make the installer to abort install when a Prerequisite is running?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 08, 2008
10:43 AM
In general the prerequisite engine does not know how to safely abort the installation of a prerequisite so it doesn't try. The only option offered is to wait for the currently executing prerequisite to finish, and then cancel the overall install. Thus Yes means to do this; No means "No, I don't want to cancel."
For prerequisites that are raw MSI files and show progress messages, it's possible for the engine to send the cancel message to the MSI. Of course what the MSI does with it is its own business, so if it doesn't exit immediately the engine must wait, just like in the non-MSI case.
For prerequisites that are raw MSI files and show progress messages, it's possible for the engine to send the cancel message to the MSI. Of course what the MSI does with it is its own business, so if it doesn't exit immediately the engine must wait, just like in the non-MSI case.
![](/skins/images/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)