Hi,
I have some custom text boxes as part of my deployment installation
program(this is .NET setup project) and I would like to know how to validate
these text boxes so that if they are left blank then a message pops up.
One can add dialog of type "Textboxes" and set the properties such as
"EditLabel", "EditProperty", "EditValue", "EditVisible" for each textbox. But
i just want to have a simple validation that the text box should not be empty.
Let me know if there is anything i can do to make sure it works. I have
invested considerable time in .NET setup project and i dont want to move to
other tech like WIX etc.
Thanks,
Phil Wilson - 31 Oct 2006 22:29 GMT
If you want to validate textboxes in Visual Studio dialogs, the bad news is
that VS supplies no hooks (like custom actions) on buttons in the UI
sequence. That's why this article exists, for example, to validate a serial
number:
http://support.microsoft.com/kb/253683/en-us
So either way you have to invest more time, either on Orca and changing the
MSI file to do your validation, or moving to another tool (I guess I
shouldn't mention Wix).

Signature
Phil Wilson
[Microsoft MVP - Windows Installer]
> Hi,
>
[quoted text clipped - 15 lines]
>
> Thanks,