I am trying to get the model of a PC, which will determine if and how the package will be installed.
I am using GetOutStreamFromSection() and takeFirstStringContaining() to determine what model the PC is, but it is not working.
I then wanted to try the example from the Winst-manual, but cant get that working either - what am i doing wrong??
http://download.uib.de/opsi_stable/doc/ ... s-prodprop
This is my code:
Code: Alles auswählen
[Actions]
Set $list$ = GetOutStreamFromSection ('DosInAnIcon_netuse')
[DosInAnIcon_netuse]
net use
But i get this error when trying to run the script:
Code: Alles auswählen
Section Actions (Command in line 28):
$list$ = GetOutStreamFromSection ('DosInAnIcon_netuse')
getOutStreamFromSection ('DosInAnIcon_netuse') illegal String expression