Try this, its basically what you originally posted and should give you a big performance boost (referencing objects through nested properties and collections can be painfully slow sometimes)

break on

$installer = CreateObject("WindowsInstaller.Installer")

$components = $installer.components

for $i = 0 to $components.count
 ? $components.item($i)
next

exit 1


-Shawn

[ 21 March 2002, 04:19: Message edited by: Shawn ]