hi i have a CA in deferred sys context running in the correct sequence but it does not work properly.
i use session.property("ProductCode") and it returns the product code to my vbs perfectly.
however 2 lines late i use session.property("CommonAppDataFolder") and it returns blank!
weird?
i have tried loads of diff properties here with no joy!
any ideas?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
In the deferred sequence you would only expect to be able to read the following properties directly :

ProductCode, UserSID, and CustomActionData

which explains why your CA is able to read ProductCode but not the CommonAppDataFolder property.

To get around this (if you really must use deferred), you would need to use an indirect method using the CustomActionData property.

This article should hopefully explain.

Regards,

Spartacus
Answered 04/12/2007 by: spartacus
Black Belt

Please log in to comment
0
you need to use the CustomActionData property to get stuff from the deferred sequence.

In order to do this you simply create a CA which has the same name as the property you wish to extract.

Then call session.property("CustomActionData")
Answered 04/17/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity