Page 1 of 1

Compressing problem

Posted: Sat Dec 13, 2008 12:34 pm
by alemrantareq
Hi everybody,
I'm using windows XP, I want to compress my rev app with exe compressor. I've tried with many compressors, but after compressing, the app doesnt work anymore. Does anybody know about any compressor by which I can compress my app ? :D

Posted: Sat Dec 13, 2008 3:16 pm
by Klaus
I use Revolutions de-/compress routines all the time and never had problems! Rev uses the G-Zip format, if I remember right.

See "compress" and "decompress" in the docs.

Posted: Sat Dec 13, 2008 3:30 pm
by SparkOut
The question isn't clear, but I rather think Tareq is trying to use something like this http://upx.sourceforge.net/ to make the executable file of a standalone smaller, rather than using Rev to zip and unzip files.

I have no idea whether any of these sorts of things will work with a Rev executable. It seems the principle is to run the compressed exe which expands itself on the fly into memory and executes itself from there. There is a file "compressor.exe" which is supposed to do this job for which there are warnings about Symbos Trojan, so some malware versions exist apparently.

I've got a suspicion that Rev won't like working with any such compressor anyway, but no experience of trying it.

To reduce the file size for distribution, I use 7-zip to make a self-extracting file, but on extraction the regular sized Rev standalone is fine by me.

Posted: Mon Dec 15, 2008 10:59 am
by alemrantareq
Hi SparkOut,
Thanks for your reply. You've got exactly what I need.

There are some self-extracting softs which pack files into a stand-alone file, extract them to the temp/custom directory and then launch an executable.

But the exe compressors are quite different. They only compress the exe files; not extract them to another directory.

I found two benefits of these kind of softs; i) The compressed file takes less space and ii) The resources of the compressed file cant be modified by the hex editors (also changes the resources).

So, I actually need the exe compressors so that none can see or modify my rev app resources.

I've tried with upx which you've provided, but after compressing like the other compressors, the app works nomore.