Currently I'm implementing a licensing feature in our software using Babelfor.Net. Everything is working good except one thing - the licenses file must be placed in the same folder as the executing assembly and will then be loaded by the Babel.Licensing.XmlLicenseProvider which inherits the
System.ComponentModel.LicenseProvider.
We are delivering a default, 30 day trial license along with the setup, so users can look around and eventually purchase a license.
The default trial license must then be replaced by the new license - but a normal user does not have access to the Program Files directory, so either the user needs to start the application as an administrator or copy the file by hand - kind of hacky.
Is there a way to place the licenses file in %appdata% or %programdata%? Or maybe the installer could create a junction (symlink) which points to a licenses file in the %appdata% folder?