]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix GetLibs.vbs registration of the tar and gzip components.
authorMichael Jerris <mike@jerris.com>
Tue, 22 Nov 2005 01:33:38 +0000 (01:33 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 22 Nov 2005 01:33:38 +0000 (01:33 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@72 d0543943-73ff-0310-b7d9-9358b9ac24b2

w32/vsnet/GetLibs.vbs

index a3ffa8807056e1ab8c7e9026cfe65f498d12c37c..3b912d25d8bf9cd72e0b9328d41a03fe3ba243b3 100644 (file)
@@ -117,17 +117,10 @@ Sub GetTarGZObjects(DestFolder)
                Wget "http://www.sofaswitch.org/mikej/XGZip.dll", DestFolder\r
        End If\r
        \r
-       Set oExec = WshShell.Exec("regsvr32 /s " & DestFolder & "XTar.dll")\r
+       WshShell.Run "regsvr32 /s " & DestFolder & "XTar.dll", 6, True\r
        \r
-       Do While oExec.Status = 0\r
-            WScript.Sleep 100\r
-       Loop\r
+       WshShell.Run "regsvr32 /s " & DestFolder & "XGZip.dll", 6, True\r
        \r
-       Set oExec = WshShell.Exec("regsvr32 /s " & DestFolder & "XGZip.dll")\r
-       \r
-       Do While oExec.Status = 0\r
-            WScript.Sleep 100\r
-       Loop\r
 End Sub\r
 \r
 Sub UnTarGZ(TGZfile, DestFolder)\r