MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Compressed files in CABINET in Transform Fails[Next]: A Windows Installer _Streams table key longer than 62 bytes corrupts the database
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->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


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Compressed files in CABINET in Transform Fails[Next]: A Windows Installer _Streams table key longer than 62 bytes corrupts the database


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday May 28 2022 at 3:11pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.