Seite 1 von 1

getRegistryKeyList

Verfasst: 19 Jan 2014, 01:01
von SisterOfMercy
How does it work?

Code: Alles auswählen

Set $list$ = getRegistryKeyList64("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render")
Set $list$ = getRegistryKeyList64("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render")
Both give the same error:

Code: Alles auswählen

[2] [Jan 17 22:35:10:626] [w7-custom] Syntax Error in Section: Actions (Command in line 23): $list$ = getRegistryKeyList64("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render") -> getRegistryKeyList64("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render") illegal String expression
The only example I could find in the forums has the same syntax.

Re: getRegistryKeyList

Verfasst: 28 Jan 2014, 18:24
von d.oertel
Hi,

examples are here:
http://download.uib.de/opsi_stable/doc/ ... y-registry

and for nearly everything about opsi-winst/opsi-script in the product opsi-winst-test.

But I see no error in your example. Are you sure that use a opsi-winst >= 4.11.3.6 ?

regards
d.oertel