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

Passing properties to deferred CA


2 replies to this topic

Bernie

Bernie
  • Members
  • 3 posts

Posted 31 May 2001 - 21:42

I am trying to access properties (eg _IsMaintenance or my own property) using Session.Property() inside a deferred CA, but they just coming up blank.  Any ideas?

Thanks in advance.


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 31 May 2001 - 22:29

In general you can not get at properties directly from within a deferred custom action.  Hoever there is a special property  called "CustomActionData"

If you set a property with the same name as your custom action then that value is the CustomActionData for your custom action.


SteveP

SteveP
  • Members
  • 126 posts

Posted 07 June 2001 - 22:26

Depending on the kind of CA you are using, you can often define a command line to go with the action.  Once the values of the properties are written into the install 'script' they will hang around until you actually execute your routine.