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 to execute CustomAction repeats


2 replies to this topic

raghu

raghu
  • Full Members
  • 33 posts

Posted 25 August 2006 - 10:23

Hello Every one,

I have one problem with my installer. There is a one custom

action, this custom action execution must repeats 4 times . Means

same action will execute again and again so which condition I have

to apply for this problem.

Thanks in Adavance
Raghu.

DanielV

DanielV
  • Full Members
  • 2 posts

Posted 19 December 2006 - 12:16

I am not sure why you want to call some 4 times, but let's support it is sensible.

One way would be to create 4 hidden features, each of them calls the custom action. Maybe the feature uses the *condition* to trigger its install.

Another way would be to have a custom action that queries the 4 properties (set to the *condition*) and calls 'your' custom action (probably turned to an internal function of some sort).

Hope this helps or generate a better idea.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 December 2006 - 10:11

Create four copies of your custom action and insert them in the appropriate locations of your sequence.