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!
i have tried loads of diff properties here with no joy!
any ideas?
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


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.


Answered 04/12/2007 by: spartacus
Black Belt

Please log in to comment
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