janya171
Posts: 3
Joined: Fri Nov 21, 2014 7:40 pm

System DLL Not Found Impossible to charge DLL 'Trial.dll'

Hi, I followed this tutorial http://www.advancedinstaller.com/user-g ... naged.html and succesful create trial what validate on php url in my sql server, but now i am trying to do new one and i get this error:
Image
SO could you please tell me where is the problem?
I have opened VS2013 and addd Advanced templete and edited in Advanced installer.
thanks

PS: also i downlaoded VB .Net demo project for Trial from here but it display same error. :cry:
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: System DLL Not Found Impossible to charge DLL 'Trial.dll

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

This may happen if you haven't installed the setup package built with the attached setup project file (.aip). In order to access the "trial.dll" within your application code you should first install the setup package (configured to use our trial feature) and, then after your application is installed it should locate the installed "trial.dll" within the "Application Folder" location.

For testing purposes, please keep in mind that it is not recommended at all to manually copy and rename the "Trialware.dll" file from the Advanced Installer install location (e.g. "C:\Program Files (x86)\Caphyon\Advanced Installer 11.6.3\stubs\x86\") alongside your application in the VS output location. The DLL trial should be installed by the installation package in order to work properly. This is because when installing the setup package, on target machine are also installed the configuration settings specified by you on "Licensing" page of the installation project.

Also, if you need to test the trial functionality of your installation project on your development computer, then here's how you should proceed:
1. install the setup package built with your .aip (setup project file)
2. copy the installed DLL trial within the installation folder in your VS project output location or locate within your application code the installed DLL trial from the install location

After setup installation if you need to change the configuration setting of the added trial (from "Licensing" page), then you should proceed like this:
1. uninstall the setup package from development machine
2. go to "Licensing" page, select your trial and from its context menu use the "Testing -> Remove trial info" option
3. edit the trial settings
4. rebuild and install again the installation project
5. copy the installed DLL trial within the installation folder in your VS project output location or locate within your application code the installed DLL trial from the install location

Let us know if this helped, otherwise please give us more details about the scenario you are using? Maybe you can iterate a step by step test case which we can follow.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”