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

Using system search to set dest. for feature


1 reply to this topic

Amarjeet

Amarjeet
  • Full Members
  • 77 posts

Posted 02 January 2012 - 10:52

Hi,

I am using Installshield 2012 and my project type is basic MSI.

I have a feature which has got five components. all components have same destination path.

From system search i got the path required to install above 5 files. I need to set this path as destination for feature.

I tried to write property name i have got from system search in destination. But its not working.

Perhaps what is correct syntax for setting system search result property as destination path ?

Regards,

Amarjeet

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 January 2012 - 14:53

Use a custom action of type "set a property" to set the destination property of the components to the value of the system search property. Use the name of the serach property also as a condition to make sure the action is executed only if the search property isn't empty.
Insert this custom action in both, the InstallUI and the InstallExecute sequence, before CostInitialize.