PDA

Click to See Complete Forum and Search --> : Creating a custom installer that displayes a form after installing


steve_rm
Dec 21st, 2006, 02:42 AM
Hello

I have created a custom installer that will display a form after the installation is completed.

There is the code for the installer class

Protected Overrides Sub OnAfterInstall(ByVal savedState As System.Collections.IDictionary)
MyBase.OnAfterInstall(savedState)
Dim myform As New Form1()
myform.Show()
End Sub


I have added the project outputs on both the install and commit nodes in the custom actions.

When the installer finishes installing it will quickly flash the form and then disappear.

Can anyone tell me where I am going wrong.

Thanks in advance,

Steve

randem
Dec 22nd, 2006, 12:21 AM
Can anyone tell me where I am going wrong.
Creating the installer.... :confused: Expecially in VB