Deferred Custom Actions.
Hi all,
I'm having troubles with custom actions, I'm trying to change a name on a xml file, by custom action if i use an inmediate one it works fine on installation but fails at repair. If i try to change it to deferred i can not pass more than one property. Is there any way to pass more than one property to the CA
Thanks
I'm having troubles with custom actions, I'm trying to change a name on a xml file, by custom action if i use an inmediate one it works fine on installation but fails at repair. If i try to change it to deferred i can not pass more than one property. Is there any way to pass more than one property to the CA
Thanks
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
nheim
16 years ago
Hi John,
to pass more than one parameter to a deferred CA, you need to concatenate them together in a CustomActionData property.
Use a very seldom char like "¦" as delimiter. Of course, your CA has to split them up after reading them in.
You can find an example in VBS here:
http://www.adminscripteditor.com/scriptlibrary/view.asp?id=523
Regards, Nick
PS: Deleted the other 2 similar posts of yours. Assumed they materialized by accident...
to pass more than one parameter to a deferred CA, you need to concatenate them together in a CustomActionData property.
Use a very seldom char like "¦" as delimiter. Of course, your CA has to split them up after reading them in.
You can find an example in VBS here:
http://www.adminscripteditor.com/scriptlibrary/view.asp?id=523
Regards, Nick
PS: Deleted the other 2 similar posts of yours. Assumed they materialized by accident...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.