WISE - Adding Condition To install a feature

HI .....

Using WISE 6.2, I have created a property "checkexe" in system search to look for "ABC.exe" file, if it finds ABC.exe does not install the feature2. I added condition for the feature2 by going to the Feature> Add Contidion entered: NOT checkexe.
To make sure my system search works alright, I added property [checkexe] on welcome dialog. I get the right path if ABC.exe exists but still the feature get installed. I think the condition: NOT checkexe is not set alright. could someone help to set the condition.

I also need to make sure the feature is not uninstalled, if is not installed by this MSI.

Thanks.



Make the property uppercase, CHECKEXE.

re. not being uninstalled, Installer handles that automatically, however (1) basing on components, not features, and (2) finding those components by their guid, not by readable name. Detailed log file tells if other consumers of the components were found, and what it's going to do.



Make the property uppercase, CHECKEXE.

re. not being uninstalled, Installer handles that automatically, however (1) basing on components, not features, and (2) finding those components by their guid, not by readable name. Detailed log file tells if other consumers of the components were found, and what it's going to do.



Thanks for the reply.
1) The property is already set uppercase (CHECKEXE).
2) I have 10 merge modules in Feature2. Other software is using these MMs. So, i am checking abc.exe to know if the other software is installed already. If it does, i do not want to install these 10 MMs. is this the best way to deploy the MSI.

Thank you so much for your quick reply.



Also, why NOT CHECKEXE is not working. does it need a quote or anything else is missing.
Thanks



#1 - please post detailed log of the installation.

#2 - when you say "if the software is installed already" - if that software is comprised from the same merge modules, or more exactly, if the software installs the same components (by guid) as in the merge modules, then you don't need to do anything, Installer will notice and won't install them again.

If not, then do the following. In Installation Expert go to Features, and click "add condition" on the right. Specify your condition.



> Also, why NOT CHECKEXE is not working

When you add everything that you install (files, merge modules, registry keys, etc), make sure you add them to the condition, like on the 2nd picture above.

Share this

Related Posts

There was an error in this gadget