I create a setup project in visual studio and want to add custom action to validate serial number. How can I do it?
EDIT 1:
I add Customer Information
dialog in user interface of my setup project, and set ShowSerialNumber
property to True. and want to validate entered user serial number , when user click next button on this dialog.
In VS solution explorer
Right click yoursetup >> View >> USerInterface
Right Click Start >> Add Dialog >> Select TextBox
Now made a Custom Class
And add Install class
file
In Install.cs
public override void Install(IDictionary stateSaver)
{
base.Install(stateSaver);
}