Preserve Add-In settings across upgrades

Hi,

I've noticed that every time I upgrade my Trados' Add-In, its settings are deleted.

This is quite annoying, because one of the settings is the license code, and I don't want the user to re-enter it every time he upgrades the Add-In.

Is there any way to persist the settings?

Thanks!