Start application at the end of setup

  • Thread starter Thread starter Vittorio Pavesi
  • Start date Start date
V

Vittorio Pavesi

Hello,
anyone know how to launch the application as soon as the installation
package finish.
Thanks

Vittorio
 
you can investigate and modify this code to your liking...the url from ms is
below.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdeployment.asp

Private Sub Installer_AfterInstall(ByVal sender As Object, _
ByVal e As System.Configuration.Install.InstallEventArgs) _
Handles MyBase.AfterInstall
' get fullpath
Dim thisApplication As String = Path.Combine(Path.GetDirectoryName( _
System.Reflection.Assembly.GetExecutingAssembly().Location), _
"myApp.exe")
' run application
' start the thisApplication using process.start
End Sub
 
Back
Top