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

Conditional Installation


2 replies to this topic

Tamosai

Tamosai
  • Members
  • 13 posts

Posted 04 October 2001 - 13:20

Hi There,

I need to install conditionally a component.

After testing in the script if it should be installed, which code will install this particular component?

Thanks in advance for the suggestions,
Tamosai


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 October 2001 - 19:22

Use the ComponentSelectItem function.

Tamosai

Tamosai
  • Members
  • 13 posts

Posted 08 October 2001 - 07:56

Hi Stefan,

The function you suggested solved the problem.

Just to share the information with others that might need this in the future, the command I used was:

   if szSetupTypewd =  "word97" then;
       ComponentSelectItem( MEDIA, "DOT file", TRUE );

Vielen Dank Stefan,
Tamosai