Code Snippet
Imports System.ComponentModel
Imports System.Configuration.Install
<RunInstaller(True)> Public Class InstallerConfiguration
Inherits Installer
Public Overrides Sub Install(ByVal stateSaver As System.Collections.IDictionary)
MyBase.Install(stateSaver)
If Context.Parameters("MyTextBox") = String.Empty Then
Throw New InstallException("Please enter a value!")
End If
End Sub
End Class