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

Can i change condition from installscript?


6 replies to this topic

Silverlay

Silverlay
  • Members
  • 68 posts

Posted 14 December 2004 - 19:18

Can i change condition from installscript?
Bonum initium est dimidium facti

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 15 December 2004 - 16:03

Which condition? You can set properties that you can use in a condition.

Silverlay

Silverlay
  • Members
  • 68 posts

Posted 16 December 2004 - 19:40

No i want to change Some button on some dialog condition ...
Bonum initium est dimidium facti

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 December 2004 - 09:16

How do you want to change this button? You can use dialog conditions to show, hide, enable, or disable buttons, for example based on the value of a property. I'm not sure how InstallScript comes into play here. Are you calling a InstallScript custom action from some button on this dialog?

Silverlay

Silverlay
  • Members
  • 68 posts

Posted 18 December 2004 - 10:21

No i want to call some action and then if action result is
1 - do one thing
2 - second thing
3 - third thing
on button condition

Bonum initium est dimidium facti

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 December 2004 - 09:10

You could have 3 DoAction control events on the button, with different conditions. Or you have one event taht calls a InstallScript function which in turn will do 3 different things depending on the "result"

Silverlay

Silverlay
  • Members
  • 68 posts

Posted 23 December 2004 - 12:39

thanx
Bonum initium est dimidium facti