In my program I have multiple features like:
- FeatureA
- FeatureB
- FeatureC
- FeatureD
I would like to install .Net Core Runtime only if "FeatureA" and "FeatureB" have been selected.
So, I've added the .Net Core Runtime as a prerequisite 'Feature-based' which is 'Not Displayed' in the Feature Tree.
In the 'Installation Behaviour', I've set 'Not Installed', 'Install if:'
Code: Select all
(ADDLOCAL >< "FeatureA") OR (ADDLOCAL >< "FeatureB")But it doesn't work.
I've tried also with:
Code: Select all
(ADDLOCAL >< FeatureA) OR (ADDLOCAL >< FeatureB)If I select only "FeatureA" and if my condition is
Code: Select all
ADDLOCAL = FeatureAIf I select only "FeatureA" and if my condition is
Code: Select all
ADDLOCAL = "FeatureA"If I select only "FeatureC" and if my condition is
Code: Select all
(ADDLOCAL = FeatureA) OR (ADDLOCAL = FeatureB)It looks like a type issue. In the logfile created in %TMP% folder, if I search for 'ADDLOCAL', I can notice that in opposition to the other arguments in the command line, values of 'ADDLOCAL' are without double quote.
Any advice would be greatly appreciated.
FOLLOW US
Get the latest news in Application Packaging