When building in Visual Studio 2005 I encountered the problem that the downloads of pthreads and howl didn't succeed. They got as far as extracting a file called "[Content]" and then stopping. I added an extra section at the end of util.vbs/UnCompress like this to resolve it: If FSO.FileExists(DestFolder & "[Content]")Then Set MyFile = fso.CreateTextFile(UtilsDir & batname, True) MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & DestFolder & "[Content]" & quote & " -y -o" & quote & DestFolder & quote ) MyFile.Close Set oExec = WshShell.Exec(UtilsDir & batname) Do WScript.Echo OExec.StdOut.ReadLine() Loop While Not OExec.StdOut.atEndOfStream WScript.Sleep(500) FSO.DeleteFile DestFolder & "[Content]",true End If Make sense? Regards, Adrian Smith BT Group
I have never seen this error before, what version of windows is this on? Mike On Jan 9, 2008, at 7:27 AM, <adrian.p.smith@bt.com> <adrian.p.smith@bt.com
wrote:
When building in Visual Studio 2005 I encountered the problem that the downloads of pthreads and howl didn't succeed. They got as far as extracting a file called "[Content]" and then stopping.
I added an extra section at the end of util.vbs/UnCompress like this to resolve it:
If FSO.FileExists(DestFolder & "[Content]")Then Set MyFile = fso.CreateTextFile(UtilsDir & batname, True) MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & DestFolder & "[Content]" & quote & " -y -o" & quote & DestFolder & quote ) MyFile.Close Set oExec = WshShell.Exec(UtilsDir & batname) Do WScript.Echo OExec.StdOut.ReadLine() Loop While Not OExec.StdOut.atEndOfStream WScript.Sleep(500) FSO.DeleteFile DestFolder & "[Content]",true End If
Make sense?
Regards,
Adrian Smith BT Group
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi Mike, Windows XP SP2 (professional). Interestingly, I tried it on a co-workers PC with the same result and also a PC running Windows Server 2003. On my home laptop running XP home, it seems to work OK. Will investigate further and let you know. Regards, Adrian -----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: 09 January 2008 17:59 To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Windows build problem? I have never seen this error before, what version of windows is this on? Mike On Jan 9, 2008, at 7:27 AM, <adrian.p.smith@bt.com> <adrian.p.smith@bt.com
wrote:
When building in Visual Studio 2005 I encountered the problem that the downloads of pthreads and howl didn't succeed. They got as far as extracting a file called "[Content]" and then stopping.
I added an extra section at the end of util.vbs/UnCompress like this to resolve it:
If FSO.FileExists(DestFolder & "[Content]")Then Set MyFile = fso.CreateTextFile(UtilsDir & batname, True) MyFile.WriteLine("@" & quote & UtilsDir & "7za.exe" & quote & " x " & quote & DestFolder & "[Content]" & quote & " -y -o" & quote & DestFolder & quote ) MyFile.Close Set oExec = WshShell.Exec(UtilsDir & batname) Do WScript.Echo OExec.StdOut.ReadLine() Loop While Not OExec.StdOut.atEndOfStream WScript.Sleep(500) FSO.DeleteFile DestFolder & "[Content]",true End If
Make sense?
Regards,
Adrian Smith BT Group
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
adrian.p.smith@bt.com
-
Michael Jerris