ld0614 / LanguageDsc

Initial Release of LanguagePack Resource and early development release of Language Resource.
MIT License
2 stars 1 forks source link

Resource not working if no user is logged on the remote machine #7

Open Francois-Rousseau opened 5 years ago

Francois-Rousseau commented 5 years ago

When I use this resource, there's a problem if no user is logged on the client machine, because the resource is trying to reach HKCU that does not exists.

Verbose log: Cannot find path 'HKCU:\Control Panel\Desktop\MuiCached\' because it does not exist.

Cannot index into a null array.

You cannot call a method on a null-valued expression.

Maybe resource should check if the key exists before trying to reach it?

Thanks