login about faq

I've created a self-extracting zip file of a SQL database export. Now when I uncompress the file I can watch the file uncompress and when it's all done (it's a 16GB file), it gets deleted! Does anyone have any idea how to stop this? Here's the log file:

command line: -log chilkat_log.txt
Created by version 14.5.0
Nov 24 2012
<?xml version="1.0" encoding="utf-8" ?>
    <SetupExe />
    <UnzipDir />
    <DefaultDir />
    <IconFile />

Log opened from internal point 2
Showing main dialog...
Password verified...
Current working directory: C:\Work\NextGen\201303_reload\test_of_exe
unzipDir = [C:\Work\NextGen\201303_reload\test_of_exe]
Check/create extract dir: [C:\Work\NextGen\201303_reload\test_of_exe]
Final unzip dir: [C:\Work\NextGen\201303_reload\test_of_exe]...
Setting CWD [C:\Work\NextGen\201303_reload\test_of_exe]
cleanup is requested...
Unzip complete...
processing undo list...
processing undo list...
Initialization finished.
Log opened from internal point 1
Closing log from WinMain.
exitCode = 0

asked Jun 05 '14 at 18:29

khemmerl's gravatar image


Damn, the subject should have read:

File is deleted immediately AFTER being unzipped

(Jun 05 '14 at 18:31) khemmerl

Does the file get deleted if you disable you antivirus software? It might be a false positive.

Also it appears that you are using an old version of the library (November 2012), so you should update to the latest version and see if the problem persists.


answered Jun 06 '14 at 08:55

jpbro's gravatar image

jpbro ♦

You mention updating the library but when I hit the Chilkat download page (http://www.chilkatsoft.com/chilkatsfx.asp), it contains the same version of the software I'm already using (9-Nov-2012). I'm not sure what to do there.

For anti-virus, I have Microsoft System Center Endpoint protection. Unfortunately, I cannot disable this as security is controlled at corporate administrator level.

As mentioned, the unzip takes abouit 10 minutes and you can watch the file unzip all the way to 16GB and then POOF, it's gone. This is one of the weirdest things I've ever seen.


(Jun 06 '14 at 10:05) khemmerl

Apparently, when the self-extracting EXE was created, "cleanup" was turned on. You can see from the log:

cleanup is requested...
Unzip complete...
processing undo list...
processing undo list...

The auto-cleanup makes sense when you want the self-extracting EXE to extract, run some sort of setup/install program, and then delete the extracted files. In your case, cleanup was requested, but there is no setup/install program. Determine how the SFX was originally created, looking for the cleanup option (which could be in the XML config, if used).


answered Jun 06 '14 at 10:21

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jun 05 '14 at 18:29

Seen: 1,424 times

Last updated: Jun 06 '14 at 10:21

powered by OSQA