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

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1
Answered 04/19/2013 by: jaybee96
Red Belt

Please log in to comment

Answers

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.

Answered 04/19/2013 by: VBScab
Red Belt

Please log in to comment
0

same for ProductCode / ProductName or any WI prpty

Answered 04/19/2013 by: jaybee96
Red Belt

Please log in to comment
0

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

Answered 04/19/2013 by: VBScab
Red Belt

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