From efd43d11313612badd4cb4544d364ecf50d13e6a Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 22 Nov 2005 01:33:38 +0000 Subject: [PATCH] Fix GetLibs.vbs registration of the tar and gzip components. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@72 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- w32/vsnet/GetLibs.vbs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/w32/vsnet/GetLibs.vbs b/w32/vsnet/GetLibs.vbs index a3ffa88070..3b912d25d8 100644 --- a/w32/vsnet/GetLibs.vbs +++ b/w32/vsnet/GetLibs.vbs @@ -117,17 +117,10 @@ Sub GetTarGZObjects(DestFolder) Wget "http://www.sofaswitch.org/mikej/XGZip.dll", DestFolder End If - Set oExec = WshShell.Exec("regsvr32 /s " & DestFolder & "XTar.dll") + WshShell.Run "regsvr32 /s " & DestFolder & "XTar.dll", 6, True - Do While oExec.Status = 0 - WScript.Sleep 100 - Loop + WshShell.Run "regsvr32 /s " & DestFolder & "XGZip.dll", 6, True - Set oExec = WshShell.Exec("regsvr32 /s " & DestFolder & "XGZip.dll") - - Do While oExec.Status = 0 - WScript.Sleep 100 - Loop End Sub Sub UnTarGZ(TGZfile, DestFolder)