Hi,
I have a big problem with serial validation, I made a new project using advance installer, I want to make a serial for this program using my custom code.
I made the following :
1-go to visual studio 2010 --> make a project of type WIX --> C# custom action project --> make a function named
public static ActionResult validateSerial(string str_serial)
{
if (str_serial.ToUpper() == "1111111111")
return ActionResult.Success;
else
return ActionResult.Failure;
}
build the project
2- go to advance installer --> files and folders --> windows volume --> temporary > add files
and choose the dll I have made(Serial.CA.dll)
3-then go to serial validation check on use serial validation and make the template like this <##########>
choose user defined validation --> choose the file (Serial.CA.dll) but my function I had made doesn't appear in the combo box Is this a problem ?
I wrote the function name "validateSerial"
4-go to custom actions --> Rclick on install and choose the 2nd option 'New installed custom action" and choose (Serial.CA.dll) the function name does't appear here too ??? I wrote it by my hand
5-build the project and test it
a message box with the text "There is a problem with windows installer package, a dll required for this install to complete could not be run. Contact your support or pachage vendor".
please I wanna help ASAP
thanks in advance
FOLLOW US
Get the latest news in Application Packaging