I am having a function in Install script for license validation. If i enter a wrong license key it is showing the error message, but if i enter a valid license key the installation stops immediately.
The function for license validation is below:
MsiGetProperty(hMSI, "USERLICENSE", szMyProp, nBuffer);
if(szMyProp ="078E-3476-83F9-7395") then
nresult = EzDefineDialog("CustomerInformation","","",1920);
MessageBox("The License is not valid",INFORMATION);
Can anyone tell me what needs to be changed to solve this issue?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)