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:
asked Jun 05 '14 at 18:29
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
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