Other links
Radia - General Discussions
Create package to specified device model
Hi,
I would like to create package for only specific type of device using ZSTOP000.
It;s working only when I enter one type of device
WORDPOS(EDMGETV(SMINFO,SYSPROD),'VMware')=0
but when I tried to add multiple models it's not working
WORDPOS(EDMGETV(SMINFO,SYSPROD),'VMware 8560w 9470m')=0
Any advice?
Previous 6件のコメント
WORDPOS uses the entire value of the first parameter when searching the second. For instance, my SMINFO.SYSPROD reads HP Compaq 6000 Pro MT PC so it would search for that complete string inside the second parameter which you specified 'VMware' and there would be no match. You could reverse the strings and user WORDPOS('VMWARE', UPPER(EDMGETV(SMINFO,SYSPROD)))=0 which would then allow installation on all machines where SMINFO.SYSPROD contains the word VMware. You can also use ZCONFIG.HWMODEL in place of SMINFO.SYSPROD.
If there are multiple versions of VMware and you want to limit it to one you would have to expand your search string. Say I wanted to limit mine to 6000 Pro versus any other 6000 model I would use WORDPOS('6000 PRO',UPPER(EDMGETV(SMINFO,SYSPROD)))=0.
Use the Agent Explorer to open the SMINFO.EDM object on the client (in <ClientInstallDirectory>\Lib\RADSETUP on my machine) to check what the actual value being sent during resolution, then make sure that value in in the second parameter.
e.g. if the SYSPROD value is 'HP Compaq Elite 8300 SFF" then you would need to have that in the second parameter - i.e. WORDPOS(EDMGETV(SMINFO,SYSPROD),'HP Compaq Elite 8300 SFF')=0
Having multiple model types means having each of the entries concatenated EXACTLY as they appear in SMINFO...
e.g. WORDPOS(EDMGETV(SMINFO,SYSPROD),'HP Compaq Elite 8300 SFF Dell Optiplex 760')=0
Be mindful of the length of the ZSTOP attribute though...
Participate
Ask, Discuss, Answer





