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

Need to pass an argument to the other custom actio


3 replies to this topic

reddy611

reddy611
  • Full Members
  • 117 posts

Posted 11 October 2006 - 08:46

Hi All,

I am using installshiled 10.50 prfessional - admin studio[basic MSI project]. i have created one custom action(written in vbscript), this return value of this custom action need to pass an argument to the other custom action.

Please can anyone help me how to do that?

Thanks in advance.
Regards,
Prathap

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 11 October 2006 - 13:03

Can you simply write it to the registry and then read it back from the other custom action?
Regards
-Stein Åsmul

daktmacfan

daktmacfan
  • Members
  • 12 posts

Posted 17 October 2006 - 15:27

Writing to the registry would probably be the BEST way, but another, would be to write the value from your first VBScript CA to the property table and then get this property from the property table in the 2nd CA.

eg:
CODE

'setting a property in the property table
Session.Property("SOMEPROP") = SomeVar


Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 17 October 2006 - 22:15

If you do the latter, you should add the property to the SecureCustomProperty list just in case.
Regards
-Stein Åsmul