0
Answer

To Run setup to verify Correct Serial Key And Unique Key

I have one form say Validation.cs which ask for Product Key and Unique Key ,

When User Input Unique ID which is in back  Hardware ID check with some code , and than if that match with HardWare Id , It takes  Product key from database
according to HardWare Id Data , and match with User Input , if valid it should continue setup,  if not valid ask for valid Unique Id and Product Key . 
I got run that form at setup and got worked Validation of key and Unique ID but than it doesnt continue to setup just Validation.cs form dialong stays
open  by declaring in Installer Class ...
 Kindly Help Me with this , i am almost at end but than this .... 
Thank you so much for Help Big Grin | :-D i dont know how to do this :(



or i did one more thing if ya can get me solution , I used Custom Action To get Unique Id and Serial Key at the time of Setup during Installation , Now how i validate them in installer class from database rather than validating for everyone manually by if else ...


Thank you :D i am at last but always end up with some problem