We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

penahuse
Posts: 1
Joined: Wed Apr 08, 2020 6:47 am

Python code converted to .exe - How to create trial?

Hi,

theres a way to licensing(trial) a python code converted to .exe? i saw the examples at https://www.advancedinstaller.com/user- ... using.html, but i do not know how to implement this on python code. The truth is i have no clue how to do that.

Anyone can help me?

Thank you!

ps: english is not my first language.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Python code converted to .exe - How to create trial?

Hello and welcome to Advanced Installer forums,

We do not have any sample about how to integrate python apps with our trial DLL (this is a Windows native dll), but basically all you should do is to call from your app code our trial.dll functions:

1. call the "ReadSettingsRetStr" function when your application initializes to initialize our trial module too
2. call the "DisplayRegistrationStr" function when you need to display the registration dialog

Basically, what you need here is a way of calling a C++ DLL functions from a Python application.

Hope this helps somehow.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”