jcuster
11-05-2007, 10:54 AM
The problem is The Zip.Extract does not extract the file.
Ssrce = H:\BCKUP-<ASSETAG>\IE_Favorites
Sdest = Shell.GetFolder(6)
Note: I tried Sdest in many places.
Favfle = Ssrce.."Backup.zip"
--cycle and copy each file , calling callback function named: COPYCB1()
Zip.Extract(Favfle, {"*.*"}, Sdest, true, true, "", ZIP_OVERWRITE_NEWER, COPYCB1);
MDerror = Application.GetLastError()
if MDerror > 0 then
SetupData.WriteToLogFile(MDerror.." Error could not copy from the "..Sdest.."Backup.zip\r\n", true);
end
Zip.GetContents can see the file and Zip.Add created the file.
I don't see anything I'm doing wrong..
Ssrce = H:\BCKUP-<ASSETAG>\IE_Favorites
Sdest = Shell.GetFolder(6)
Note: I tried Sdest in many places.
Favfle = Ssrce.."Backup.zip"
--cycle and copy each file , calling callback function named: COPYCB1()
Zip.Extract(Favfle, {"*.*"}, Sdest, true, true, "", ZIP_OVERWRITE_NEWER, COPYCB1);
MDerror = Application.GetLastError()
if MDerror > 0 then
SetupData.WriteToLogFile(MDerror.." Error could not copy from the "..Sdest.."Backup.zip\r\n", true);
end
Zip.GetContents can see the file and Zip.Add created the file.
I don't see anything I'm doing wrong..