I made a small project in order to keep it simple and I've attached it.
The project code only implements the functions in the following guide:
https://www.advancedinstaller.com/user- ... using.html
and just tries to invoke
Code: Select all
int main()
{
std::cout << "Hello World!\n";
int ret = DisplayRegistrationDlg(kLibraryKey, NULL);
std::cout << "Goodbye World!\n";
if (ret == -1)
exit(0);
}
Then I've built it, created the installer and installed everything. If I run the program, what I get is
Code: Select all
C:\Program Files\Begué\LicenseTest> .\LicenseTest.exe
Hello World!
Missing Trial DLL
Goodbye World!
Can you please guide me?