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

property lifecycle?


2 replies to this topic

spj

spj
  • Members
  • 34 posts

Posted 01 September 2003 - 00:13

Hi there,

I set a property Pa in a CA. Session.Property("Pa")="aaa".
And get this Pa in another CA which is added in OK event of setupcompletesuccess dialog. but i got empty. MsgBox Session.Property("Pa").

why? what's the lifecycle of a property?





Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 01 September 2003 - 09:29

A property only exists in one sequence. So if you set it in the InstallUISequence, it is not available in the InstallExecuteSequence.
However, if the property has an ALLCAPS name, it is passed from the InstallUISequence to the InstallExecuteSequence.


spj

spj
  • Members
  • 34 posts

Posted 02 September 2003 - 18:12

good. Thanks.