I can't figure out how to avoid errors in my log file which are generated by the HTTP.Download() function if it's run in a silent mode. When the function is run in a silent mode, i don't pass CallbackFunction parameter (nil value), but it still generates the following errors:
[01/31/2008 17:14:30] Error Script: On Pre Install, Line 2593 (1406)
[01/31/2008 17:14:30] Error Script: On Pre Install, Line 2593 (1402)
[01/31/2008 17:14:30] Error Script: On Pre Install, Line 2593 (1405)
[01/31/2008 17:14:30] Error Script: On Pre Install, Line 2593 (1404)
All 4 errors are dialog-related where download info can not be displayed in a dialog. Here is my function call in a silent mode:
HTTP.Download(szFileSource, szFileDest, MODE_BINARY, gHTTPTimeout, gHTTPPort, nil, nil, nil);
Why those errors are generated even though CallbackFunction is nil? The download itself works fine.
[01/31/2008 17:14:30] Error Script: On Pre Install, Line 2593 (1406)
[01/31/2008 17:14:30] Error Script: On Pre Install, Line 2593 (1402)
[01/31/2008 17:14:30] Error Script: On Pre Install, Line 2593 (1405)
[01/31/2008 17:14:30] Error Script: On Pre Install, Line 2593 (1404)
All 4 errors are dialog-related where download info can not be displayed in a dialog. Here is my function call in a silent mode:
HTTP.Download(szFileSource, szFileDest, MODE_BINARY, gHTTPTimeout, gHTTPPort, nil, nil, nil);
Why those errors are generated even though CallbackFunction is nil? The download itself works fine.
Comment