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

FeatureSetTarget does not work ??


1 reply to this topic

Christof

Christof
  • Members
  • 56 posts

Posted 29 October 2001 - 16:52

Hi,
I'm using a standard project. Having many components and Features. Some features have to be installed on a net path or in a user defined directory.

So I do the following:
In the component view I defined a "standard" destination. (e.g. [INSTALLDIR]BIN)
In Setup design I selected the component for my feature.
If install it everything is ok. But if the user selected a "non standard" path (e.g. x:\bin where x: is a net path)
I have to set the path to my feature
FeatureSetTarget ( MEDIA , "BIN" , szMyNetPAth); where szMyNetPath contains X:\bin.
BUT my files now still will be installed to INSTALLDIR\BIN ???
Any idea?
Must I still use ComponentSetTarget to set the component destination ?


Christof

Christof
  • Members
  • 56 posts

Posted 31 October 2001 - 08:59

Hmm,
I think I found the solution. I must use ComponentSetTarget to set a new destination. If using FeatureSetTarget, but having a different destination at the Component definition folder, always the defined path will be taken. But why do I need the function FeatureSetTarget ??
Since the first time using ISD7 I didn't understand the new Feature Level. The old 6.x Component - File configuration works great, I really can't understand this new 'Feature'....
How Do you think ??

Greetings
Christof