Dim oISM
Set oISM = CreateObject("ISWiAutomation.ISWiProject")
ismPath = "i:\src\install\iswi\exarchive.ism"
oISM.OpenProject ismPath
MsgBox "Old PRODUCTBUILD number: " & oISM.PRODUCTBUILD
Set oISM = Nothing
When I get to the MsgBox line, I get an error "438" stating "Object doesn't support this property or method". If I use a the ISWiProperties (collection object) just to view all the properties, I can read my property.
I have also tried using the ISWIProperties to access properties ie:
Dim pProperty
pProperty = oISM.ISWIProperties.Item("PRODUCTBUILD")
with the same results. If I use the above method to get a Windows Installer property (ProductVersion), I get an error "9" - Item could not be found.
Any ideas?
Thanks in advance for all help.
D. Ruben