/build/static/layout/Breadcrumb_cap_w.png

Reading INSTALLDIR Property from MSI with Powershell/VBS

Hey all,

I know how to read the properties from an MSI with VBS, and after some googling it only seems possible with Powershell through a quite complicated script.

Now I've googled quite a bit and there's been some clues, but I have no idea how to do it.

How can I read the property with VBS and then "feed" that value (let's call it $installdir) to an existing Powershell script?

Thanks in advance,

Celahir


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
Posted by: jaybee96 10 years ago
Red Belt
1

Comments:
Posted by: anonymous_9363 10 years ago
Red Belt
0

>it only seems possible with Powershell
Piffle. The WI object model is open to any scripting language. The SDK contains a number of sample scripts which you can use to get started.

Posted by: jaybee96 10 years ago
Red Belt
0

same for ProductCode / ProductName or any WI prpty

Posted by: anonymous_9363 10 years ago
Red Belt
0

I feel a class script coming on...ha, ha, ha!

 
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