Auto naming of SOTI device via a .ini file

I am trying to use soti script that will take the embeded serial number of a Motorola device and use this number to look up a custom asset number in an ini file. Then write this asset number back into the devices registry as the DeviceName in the soti registry stack. The format for the ini file is:-10184522501228=CITY7600AThe code i am using is:- ;read registry for Serial Number set MySerial=REG://HKEY_LOCAL_MACHINE\Software\MSP\IdentityAttributes?VN=serial showmessagebox %MySerial% ;Lookup in INI set MyAsset=INI://\temp\CityMC7...Read more