After further head scratching, I'm guessing you know the local license # and username and want to determine if they match.. if so, set some other values. If so, then here's some ideas:
 Code:
$SerialNo = '123' ; read from registry, maybe?
; get the user associated to this serial number
$RegUser = ReadProfileString('software.ini', $SerialNo, 'RegisteredUser')

; See if they match
If $RegUser = @USERID
  $Drive = ReadProfileString('software.ini', $SerialNo, 'Drive')
  $LicenseValid = 'Yes'
EndIf
The ini file would be something like:
 Code:
; Each section is a serial number
[123]
RegisteredUser=AGarcia
Drive=D:
Glenn
_________________________
Actually I am a Rocket Scientist! \:D