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

Session Property


3 replies to this topic

Jann

Jann
  • Members
  • 35 posts

Posted 14 December 2001 - 16:08

Is there a way to get a property using VB.  I know you can for vbs and c.

Thanks


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 December 2001 - 19:56

If you create an EXED in VB and call it as a custom action you could pass in the property on the command line.

dotMSI

dotMSI
  • Members
  • 2 posts

Posted 13 February 2002 - 13:26

What about passing a property to and from a VBS CA (Script in CA)?  If so - how?  

It would be better to have a single resource (the CA), than compile extra files into the package.


Jann

Jann
  • Members
  • 35 posts

Posted 13 February 2002 - 13:30

to set a property from vbs do:
Session.Property("MYPROPERTY") = variable

to get a property:

variable = Session.Property("MYPROPERTY")