cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Christoph
Level 8

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.
Labels (1)
0 Kudos
(2) Replies
DebbieL
Level 17

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.
0 Kudos
Christoph
Level 8

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...!
0 Kudos