How to generate a license (pilicense.bat file)