Try this UDF:
code:
Function GetUninstallInfo()
dim $Index, $Key, $RC, $Value, $RootKey
dim $progs[0]
$Index = 0

$RootKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"

$Key = EnumKey($RootKey, $Index)
While @Error = 0
ReDim PRESERVE $progs[$Index]
$RC = EnumValue($RootKey + $Key, 1)
If @Error = 0
$Value = ReadValue($RootKey + $Key, "DisplayName")
If $Value = ""
$Value = ReadValue($RootKey + $Key, "QuietDisplayName")
If $Value = ""
$Value = $Key
EndIf
EndIf
Else
$Value = $Key
EndIf
$progs[$Index] = $Value
$Index = $Index + 1
$Key = EnumKey($RootKey, $Index)
Loop
$GetUninstallInfo = $progs
EndFunction

$array = GetUninstallInfo()
$i=0
for each $item in $array
? "$i: $item"
$i = $i +1
next

Copy/Paste this into "Word", then Copy/Paste from "Word" to your text editor in order to preserve formatting.

[ 24 May 2002, 16:58: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/