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: setup started via setup.exe or foo.msi?
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
‎Feb 16, 2009
07:34 AM
setup started via setup.exe or foo.msi?
All,
our installer package contains a setup.exe and a foo.msi file.
I added also some prerequisites via the prerequisites editor at the installproject.
Does anyone has an idea if it is possible to block the user from installing via the msi file(eg. give an error message when this happens)? :confused:
If one installs our software via the msi, the prerequisites, bundled in the setup.exe, will not be installed causing the installer to fail later on.
our installer package contains a setup.exe and a foo.msi file.
I added also some prerequisites via the prerequisites editor at the installproject.
Does anyone has an idea if it is possible to block the user from installing via the msi file(eg. give an error message when this happens)? :confused:
If one installs our software via the msi, the prerequisites, bundled in the setup.exe, will not be installed causing the installer to fail later on.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2009
08:11 AM
Perhaps try adding the error type of custom action to your project. This custom action would evaluate the same conditions that were configured for a prerequisite on the Conditions tab in the InstallShield Prerequisite Editor. The custom action would verify whether the setup prerequisite is still needed; if it is needed, the type 19 error custom action would display an error message and end the installation.
You could have a separate error custom action for each prerequisite in your project.
You could have a separate error custom action for each prerequisite in your project.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2009
10:21 AM
Debbie,
indeed... this is what I had in mind as 'Plan B'.
I hoped that there was a straightforward way to do this but... it seems that this is the way to go then.
Thanks...!
indeed... this is what I had in mind as 'Plan B'.
I hoped that there was a straightforward way to do this but... it seems that this is the way to go then.
Thanks...!
![](/skins/images/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)