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

How to prevent a feature from installing in Defaulte mode


2 replies to this topic

suvidha

suvidha
  • Members
  • 72 posts

Posted 28 November 2001 - 06:34

I am using install Shield for Windows Installer 2.0.

The SetupType Dialog box contains only two options "Complete" and "Custom" .

There is a feature in my application that i do do not want to install when the user select SetupType = Complete.
It should be installed only if selected in Custom Setup Dialog box.

Please tell me if it is possible to do this and how?
Can i make a custom action that does this?
Please help...it is urgent!



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 28 November 2001 - 11:22

Increase the InstallLevel of the feature, say to 200.
On the SetupType dialog, go to the behaviour of the Next button and make sure that it doesn't have AddLocal=ALL on it.
I also suggest you change the display text from "Complete" to "Typical".
Note that this has the side effect that if user first selelcts custom, then changes feature selecteion in CustomSetup, then goes back to SetupType and now selects "Typical", the feature selection will not be restored to the default.

suvidha

suvidha
  • Members
  • 72 posts

Posted 28 November 2001 - 18:56

Thanks for the much needed help!

Appreciate it.