Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

how to Validate the user input?


1 reply to this topic

hanas

hanas
  • Members
  • 2 posts

Posted 18 December 2003 - 10:28

Hi all,

I am creating a msi file for Visual Basic project. In this msi project, Under the user interface option i am adding the "Customer Information" wizard. But i want to restrict the user to proceed only if he enter a valid serial number. How can i check the user data? And allow him to continue if it is a valid seriral number or i want to display an error message. This is my first project with Visual studio installer. So if anyone can explain it in details then it will be very helpful forme. Please help me in this i am totally stuck on this. Please help me

Thanks in advance

Hanas

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 19 December 2003 - 01:05

You can use a DLL to verify the license key entered, and then use the return value from the DLL to set a windows installer property. This property can then be used as a condition to open the next dialog in the sequence.
Regards
-Stein Åsmul