{"action":"created","issue":{"url":"https://api.github.com/repos/dnauck/Portable.Licensing/issues/29","labels_url":"https://api.github.com/repos/dnauck/Portable.Licensing/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/dnauck/Portable.Licensing/issues/29/comments","events_url":"https://api.github.com/repos/dnauck/Portable.Licensing/issues/29/events","html_url":"https://github.com/dnauck/Portable.Licensing/issues/29","id":118524606,"number":29,"title":"How to generate license from an installer","user":{"login":"sinairv","id":1077764,"avatar_url":"https://avatars.githubusercontent.com/u/1077764?v=3","gravatar_id":"","url":"https://api.github.com/users/sinairv","html_url":"https://github.com/sinairv","followers_url":"https://api.github.com/users/sinairv/followers","following_url":"https://api.github.com/users/sinairv/following{/other_user}","gists_url":"https://api.github.com/users/sinairv/gists{/gist_id}","starred_url":"https://api.github.com/users/sinairv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinairv/subscriptions","organizations_url":"https://api.github.com/users/sinairv/orgs","repos_url":"https://api.github.com/users/sinairv/repos","events_url":"https://api.github.com/users/sinairv/events{/privacy}","received_events_url":"https://api.github.com/users/sinairv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dnauck/Portable.Licensing/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-24T03:28:00Z","updated_at":"2015-12-07T08:15:05Z","closed_at":null,"body":"Hi,\r\nFirst thanks for this great and easy to use library.\r\n\r\nThe application I'm trying to release does not have any websites, and the trial edition is supposed to expire in 30 days after installation. \r\n\r\nSo I guess the Windows installer is supposed to generate the license file (any alternatives?). To do that I suppose I need to create a console application that generates the license and run it after installation is over. However that program will contain private key and pass phrase embedded into it, which is something I'm trying to avoid. Is there any advice or best practices on how to generate a license as part of Windows installer for apps that don't have a Web API? "},"comment":{"url":"https://api.github.com/repos/dnauck/Portable.Licensing/issues/comments/162445187","html_url":"https://github.com/dnauck/Portable.Licensing/issues/29#issuecomment-162445187","issue_url":"https://api.github.com/repos/dnauck/Portable.Licensing/issues/29","id":162445187,"user":{"login":"dnauck","id":97584,"avatar_url":"https://avatars.githubusercontent.com/u/97584?v=3","gravatar_id":"","url":"https://api.github.com/users/dnauck","html_url":"https://github.com/dnauck","followers_url":"https://api.github.com/users/dnauck/followers","following_url":"https://api.github.com/users/dnauck/following{/other_user}","gists_url":"https://api.github.com/users/dnauck/gists{/gist_id}","starred_url":"https://api.github.com/users/dnauck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnauck/subscriptions","organizations_url":"https://api.github.com/users/dnauck/orgs","repos_url":"https://api.github.com/users/dnauck/repos","events_url":"https://api.github.com/users/dnauck/events{/privacy}","received_events_url":"https://api.github.com/users/dnauck/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T08:15:05Z","updated_at":"2015-12-07T08:15:05Z","body":"Generating the License file on the client is not an option, because it would require to have also your private key on the client.\r\n\r\nYou could:\r\n\r\n- you have a small website/service that accepts name and email address and creates a 30-day trial license and send it to the client (download, email, etc.) This would also help to check that the same person (by name / email) is not generating every 30 days a new trial license.\r\n- you automatically generate the setup for your product on your server every days and also generate a 30 day trial license with it. But the use could download then every few days a new build with a new 30-day license"}}