Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Unchecking feature


1 reply to this topic

Alamelu

Alamelu
  • Members
  • 11 posts

Posted 09 August 2005 - 19:11

In InstallScript MSI project

I have 3 Features (Fea1, Fea2, Fea3) where Fea1 and Fea2 are dependant on Fea3 whereas Fea3 is not dependant on any other feature.
When i select Fea1 or Fea2, Fea3 also gets selected.
but
1) how do i uncheck Fea3 when Fea1 and Fea2 are not selected.
2) if Fea3 was selected as a result of selecting Fea1 or Fea2 then,when Fea1 and Fea2 are deselected Fea3 should also be deselcted.
3) If the user explicitly selects Fea3 then deselecting Fea1 and Fea2 should not deselect Fea3.

Can anyone help on this?
Thanks.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 August 2005 - 09:29

You can select and deselect features with the FeatureSelectItem() function. However you cannot visually do what you describe in the standard feature selection dialogs. You would have to build a custom dialog for that purpose.