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 hard can this be ???


2 replies to this topic

Anthony Hughes

Anthony Hughes
  • Members
  • 30 posts

Posted 14 February 2002 - 09:58

The answer seems to be "very"

All I want to do is have the location for a feature default to the INSTALLDIR of the main application, but to give the user the option of moving it in the custom setup dialog.

I've tried setting properties, I've tried setting directories, I've tried with actions, I've tried with scripts, I've tried moving them all over the sequence and I've tried swearing at it till I'm blue in the face but I cannot get it to work...
has anyone got this to work ?? if so PLEEEASE tell me how!

Cheers
Ant


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 14 February 2002 - 10:15

Add a line to the directory table
Directory:  FEATUREADIRECTORY
Directory_Parent: INSTALLDIR
DefaultDir .

the dot means the directory is initially the same as INSTALLDIR.

Set the Directory_ of FeatureA and the  the Directory_ of the components within FeatureA to FEATUREADIRECTORY.

The custom setup setup will allow FEATUREADIRECTORY to be changed independently of INSTALLDIR.

Hope this helps you.


Anthony Hughes

Anthony Hughes
  • Members
  • 30 posts

Posted 14 February 2002 - 10:17

Halleluja!!!!!

Thank you SO much - it's taken a day and a half to get that working!

Cheers
Ant