Überprüfen ob Installation Erfolgreich war

  • VB.NET

    Überprüfen ob Installation Erfolgreich war

    Hallo zusammen
    Nun, der Installationsanstoss samt Installation funktioniert --> Link eines Forumeintrag wo Problematik beschrieben war .
    Ist die Installation aber abgeschlossen und gibt mir keine Rückmeldung ob diese Erfolgreich war oder nicht...

    Gibt es im Process.Start

    VB.NET-Quellcode

    1. Dim info As New System.Diagnostics.ProcessStartInfo
    2. info.Arguments = "/qb INSTANCENAME=" + txtInstanzname.Text _
    3. + " ADDLOCAL=SQL_Engine,SQL_Data_Files,Client_Components,Connectivity" _
    4. + " SECURITYMODE=SQL" _
    5. + " SAPWD=12345" _
    6. + " DISABLENETWORKPROTOCOLS=2" _
    7. + " SQLAUTOSTART=1" _
    8. + " SQLBROWSERAUTOSTART=1" _
    9. + " SQLCOLLATION=Latin1_General_CI_AI" _
    10. + " ASCOLLATION=Latin1_General_CI_AI" _
    11. + " INSTALLSQLDIR=" + txtFolderName.Text _
    12. + " INSTALLSQLDATADIR=" + txtFolderName.Text
    13. MessageBox.Show(info.Arguments)
    14. info.FileName = DirectoryGet + "\apps\sqlserver.EXE"
    15. Process.Start(info)

    Gibt es mittels Process irgendeine Möglichkeit zu überprüfen ob die Installation erfolgreich war und eine dementsprechende MSGBox auszugeben?

    Freundlicher Gruss Neokata