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

Components not using right file groups.


1 reply to this topic

SilentCry

SilentCry
  • Members
  • 43 posts

Posted 26 April 2002 - 15:05

Here's my current problem.

I have one install package, that I make 6 different builds with depending on the version I specify at the beginning.

the field is APP_TYPE.

Now, for each build, I have a different 'Main' component for each, which I enbale/disable by checking the APP_TYPE and use

ComponentSetData (MEDIA, "Base System AAA", COMPONENT_FIELD_SELECTED, FALSE, "");

One of my components doesn't include a DAO file group.  However, when installing, the DAO group gets installed.  Also, I have a shortcut that gets created on the desktop for all versions but one. So I associated the shortcut to a File Group that is not a part of this Component.  but again, it gets installed.

It's as if it was ignoring what I've selected within the component.  Any ideas?

SC

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 27 April 2002 - 03:35

Humm, that's an odd one, but have some basic suggestions.

Have you confirmed you're getting a valid result code of zero?  'cause otherwise you have a ComponentError.

Also, have you tried using the simpler ComponentSelectItem function instead?  The call would go something like this:
ComponentSelectItem (MEDIA, "Base System AAA", FALSE);

Finally, what does ComponentIsItemSelected return about this guy?  Does it confirm that your previous action was properly applied?
user posted image