View Single Post
 
Old 01-31-2013, 05:18 PM
OPPB OPPB is offline
Newcomer
 
Join Date: Jan 2013
Posts: 3
Question shows me allways "Windows Installer" after Installation

Hi,
(using VS2010 Prof, win7 64bit)
does anybody know why this code shows me at last a window called "Windows Installer", after the installation finishd.
I never saw it before, and I dont see any codeline wich could be the reason for that.
It doesn't seem to me like an errormessage. The informations inside could be usefull for me, but any other, wich try to use my app, will feel better without that, I guess.

So I'd like to please for answers, thanks a lot

Code:
Dim psi As New ProcessStartInfo
psi.UseShellExecute = true
psi.WorkingDirectory = Environment.CurrentDirectory
psi.FileName = Application.ExecutablePath
'psi.Verb = "runas"

Try

    Process.Start(psi)

Catch ex As Exception

 Finally 
   Application.Exit()
 End Try

Last edited by OPPB; 01-31-2013 at 05:23 PM. Reason: understanding
Reply With Quote