\
Troubleshooting
Bugs, Features and Issues (NON-MAKEMSI)
ConfigurableItem Object Completely Broken
BUG: ConfigurableItem Object Completely Broken |
Microsoft have confirmed its a bug and am looking at it, hopefully some
future version fixes it (I tested version "3.1.4000.2435").
From dbareis@newsgroup.nospam Sat Jun 17 14:37:56 2006
Newsgroups: microsoft.public.platformsdk.msi
Subject: Can't READ any values in ConfigurableItem object without trapping WSH
From: Dennis Bareis <dbareis@newsgroup.nospam>
Date: Sat, 17 Jun 2006 14:37:56 +1000
Hi,
This looks like a bug in Windows Installer to me but perhaps I'm wrong.
As far as I can see no setup is required to retrieve the properties...
Can anyone see anything wrong with the following (or have some example code that works):
on error goto 0
oMerge.OpenModule MergeModuleFullName, 0
for each oMergeProperty in oMerge.ConfigurableItems
wscript.echo "++++++++++++++++++"
SomeText = oMergeProperty.Name 'This line causes WSH to trap (all properties I've tried fail)
next