/build/static/layout/Breadcrumb_cap_w.png

Pass variable from script to MSI property

Hello,

I am working on a package where I want to do a conditional install of a component. The condition should be based on the outcome of a vbscript in a custom action. In the script I check for AD group membership, if a person is member of group A I want to pass the value TRUE to a property MEMBER_A. Is this possible to return a value to a property? Hope someone has an idea.

Thanks,
Robin

0 Comments   [ + ] Show comments

Answers (2)

Posted by: AngelD 18 years ago
Red Belt
0
In your vbscript add a value with the session.property,
ex. session.property("MEMBER_A") = 1
Posted by: RobinV 18 years ago
Senior Yellow Belt
0
Thanks AngelID, I am going to try, looks like the thing I needed.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ