|
#1
|
|||
|
|||
|
Ziping the files
Hi
I am able to zip the files using zip.add method. but when i used callback function it is not firing at all. Please help me . Nagesh |
|
#2
|
||||
|
||||
|
Please post your script so that we can see what you have tried so far.
|
|
#3
|
|||
|
|||
|
Quote:
or any suggestin how to resolve this isssue Nagesh Zip.Add(_zipPath, tblFiles, true, "", 5, ZipCallback, true) function ZipCallback(Message, Percent, Mode) if(screen_globals.Cancelled) then return false; end Dialog.Message("", "zipping"); if (Mode==ZIP_STATUS_MAJOR) then -- Update the major status (the whole zip file's status) DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 01, {Text="zipping"}); DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, Percent); else -- Update the minor status (the status of the current file being zipped) DlgStaticText.SetProperties(CTRL_STATICTEXT_LABEL_ 02, {Text="zipped"}); DlgProgressBar.SetPos(CTRL_PROGRESS_BAR_01, Percent); end error = Application.GetLastError(); Dialog.Message("", _tblErrorMessages[error]); return true; end |
|
#4
|
||||
|
||||
|
Hi Nagesh,
Try putting the call to Zip.Add() after your function. Since you are defining ZipCallback after the call to Zip.Add(), ZipCallback does not exist at the time you call Zip.Add().
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#5
|
|||
|
|||
|
Thanks
Nagesh |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to find software? | NigelLacey | Visual Patch 2.0 | 4 | 10-11-2005 11:35 AM |
| method to index/compare user's files for update? | intel352 | Setup Factory 6.0 | 0 | 01-15-2003 04:08 PM |
| INFO: Why Files are Renamed in the DATA Folder | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-24-2002 04:36 PM |
| HOWTO: "Hide" Externally Referenced Files | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-23-2002 04:19 PM |
| HOWTO: Remove Files that were Installed by a Patch or Alternate Source | Support | Setup Factory 6.0 Knowledge Base | 0 | 09-24-2002 10:49 AM |
All times are GMT -6. The time now is 05:08 AM.






Linear Mode

