PDA

View Full Version : Crash on msp autoupdate



eperrone
08-08-2002, 02:32 PM
Hello,

I am running an autoupdate using msp file and keep getting a crash after download. I am using WInXP I can send the Windows Error report crash log if that would help...

The update is set to minimal UI... Update service 1.12...

Help?

Here is my code from VB:

Dim WithEvents pAgent As DWUpdateServiceLib.Agent

Private Sub Main()
Dim progGUID As String
Set pAgent = New DWUpdateServiceLib.Agent
progGUID = GetProgGUID()

If progGUID <> "" Then
If (pAgent.AutoUpdate(progGUID, False, 0)) Then
Else
MsgBox "No automatic update is available."
End If
Else
If progGUID = "" Then
MsgBox "Invalid Executable", vbCritical
Else
MsgBox "Invalid Executable", vbCritical
End If
End If

End Sub

Chris Woerner
08-08-2002, 05:52 PM
We are happy to help you track this down. At first glance, your code looks fine. We need to first determine if it is the update(MSP) that is crashing or the something with the Update Service. I will send you a private message and we can dig into the issue.