License Key Validation Using Custom Actions - Advanced Installer Community

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!

renukabitla
Posts: 7
Joined: Mon Oct 17, 2011 2:12 pm

License Key Validation Using Custom Actions

Hi

I want to validate the license key with the .net exe or dll to which i want to pass the PIDKEY as argument.
If the PIDKEY matches the license key then it will return 0 else 1 and the installation should proceed accordingly.
This i want to do with Custom Actions
Kindly help me out to achieve this.
I have attached the Program.cs file.

Thanks
Attachments
Program.txt
(729 Bytes) Downloaded 190 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: License Key Validation Using Custom Actions

For this you can use only a C++ DLL, as the one I mentioned in the following post:
http://www.advancedinstaller.com/forums ... =2&t=19836

You can download the sample from our article and modify it so it fits your requirements.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”