Ken Gartner
06-07-2005, 07:43 AM
Environment: TU 2.0.1.0, windows XP
When I run the following code, I do get a zip file created, but none of the files have any path information shown when I open the file using WinZip.
local BackupArchive = "..\\upgrade\\backups\\beta2tobeta3.zip";
StatusDlg.Show();
Zip.Add(BackupArchive, backup_file_list, true);
local error = Application.GetLastError();
if (error ~= 0) then
Dialog.Message("Error during backup of upgrade files", "The Email CONTROL! upgrade cannot continue because the following error occurred: ".._tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
StatusDlg.Hide();
g_ScriptErrorDetected = true;
Application.ExitScript();
end
The items in the backup list are full filenames of the form:
"C:\temp\ecdebeta2\ECDE_5.0\templates\..\..\ECDE_5. 0\docs\WebHelp\RoboHHRE.lng"
Since the IncludeFolderNames option does not seem to work in this case and there are no errors reported, does anyone have any suggestions how I can get the path information included in this zip archive using the Zip plugin?
Thanks.
-Ken
When I run the following code, I do get a zip file created, but none of the files have any path information shown when I open the file using WinZip.
local BackupArchive = "..\\upgrade\\backups\\beta2tobeta3.zip";
StatusDlg.Show();
Zip.Add(BackupArchive, backup_file_list, true);
local error = Application.GetLastError();
if (error ~= 0) then
Dialog.Message("Error during backup of upgrade files", "The Email CONTROL! upgrade cannot continue because the following error occurred: ".._tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
StatusDlg.Hide();
g_ScriptErrorDetected = true;
Application.ExitScript();
end
The items in the backup list are full filenames of the form:
"C:\temp\ecdebeta2\ECDE_5.0\templates\..\..\ECDE_5. 0\docs\WebHelp\RoboHHRE.lng"
Since the IncludeFolderNames option does not seem to work in this case and there are no errors reported, does anyone have any suggestions how I can get the path information included in this zip archive using the Zip plugin?
Thanks.
-Ken