Hi,
I need some help creating a dynamic installer of potential available features.
My application contains a lot of optional features that are in 2x categories (CatA and CatB)
So far I created the Main Feature, Feature A and Feature B.
The available features under A and B will depend on the available sub-feature folders in the feature source folder ( _sourceFeatureA and _sourceFeatureB folder ).
Each sub-folder will contain the components (mostly DLLs) that will constitute a sub-feature under Feature A or B.
All features under A or B will be deployed towards a single folder ( destinationA or destination B)
The user should be able to choose which features to install.
For instance:
- _sourceFeatureA/FeatureA1/a1.dll will create the FeatureA1 subFeature, deploying a1.dll into destinationA folder
- _sourceFeatureB/FeatureB1/b1.dll & bRoot1.dll will create the FeatureB1 subFeature, deploying b1.dll & bRoot1.dll into destinationB folder
If it makes sense….
I have been able to create such architecture but it was all pointing at already known files. I’m not sure how to do it when I don’t have a definition of the sub-feature in advance.
I also read about Synchronized folders but I’m not sure how to automatically create feature out of the discovered folders/files and may be a template feature ??
Thank you for your help