Hi having some problems:
Running a script from Kholm / works perfect, thanks
OS W2k
Kix 4.0.2.0
code:
$Index = 0
$Key = EnumKey($RootKey, $Index)
While @Error = 0
$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
$RC = WriteProfileString("$WSInfoFile", "ProgramInfo", "$Num", "$Value")
$Num = $Num + 1
EndIf
$Index = $Index + 1
$Key = EnumKey($RootKey, $Index)
Loop
Return
The output looks like this
[ProgramInfo]
1. Ms office
2 and so on
*
I would like the out put like this
[
code:
--------------------------------------------------------------------------------
[ProgramInfo]
Ms Office,=Microsoft Office 2000 Resource Kit Tools and Utilities
--------------------------------------------------------------------------------
Regards
\erik