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
- :
- Component condition based on feature
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
May 07, 2012
12:58 PM
Component condition based on feature
Feature A: (Required feature)
-File1
-File2
-File3
Feature B:
-File1
I have two features that install a file with the same name. The file in each component is a different file but has the same name. The result is that Feature A's File1 overwrites Feature B's File1. The intended action would be to copy Feature A's File1 only if Feature B wasn't selected for installation. I've tried to use a condition on the component for Feature A's File1 such as "&FeatureB<>3 AND !FeatureB<>2". I thought this would equal false if Feature B was selected in the installer but it's not working. Any help would be much appreciated. Or if anyone has any other thought as to how this should be handled.
-File1
-File2
-File3
Feature B:
-File1
I have two features that install a file with the same name. The file in each component is a different file but has the same name. The result is that Feature A's File1 overwrites Feature B's File1. The intended action would be to copy Feature A's File1 only if Feature B wasn't selected for installation. I've tried to use a condition on the component for Feature A's File1 such as "&FeatureB<>3 AND !FeatureB<>2". I thought this would equal false if Feature B was selected in the installer but it's not working. Any help would be much appreciated. Or if anyone has any other thought as to how this should be handled.
(1) Reply