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

Condition builder for Feature


3 replies to this topic

Kiril

Kiril
  • Members
  • 39 posts

Posted 05 July 2001 - 06:27

Hi All
I have Java module in my Insallation, and I want show it in Custom Setup dialog if Java_runtime 1.3 installed on machine. I have CustomAction Check_Java_Installed that set JAVA_VER_OK property to 1. Now I want create condition for my Java feature.
I set installlevel for the feature to 0 (hide feature),and add condition in condition builder:
Level         Condition
100           JAVA_VER_OK = 1
It is not working. But if choose in condition builder AdminUser for example it is work.
My question is: Can I add properties to the Condition builder combo box or I MUST use only already existing properties?

Thanks

P.S. InstallSheild version 1.10


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 July 2001 - 07:01

Feature conditions are evaluated during CostFinalize, so your custom action that sets JAVA_VER_OK must be inserted in the sequences before the costing actions, e.g. after AppSearch. (Maybe you can do it without CA and use AppSearch?)

Kiril

Kiril
  • Members
  • 39 posts

Posted 05 July 2001 - 08:09

Hi Stefan,

I can't use appSearch becouse I use Merge Module Custom Action.
But when I've moved Custom Action before CostFinalize it's Start working.

Thank you very much!!!!!