Will someone use LZMA soon?Submitted by CeremCem on July 14, 2008 - 6:41pm
Hi, I'm using Slax, but sometimes I need Windows, so I also use (or create) portable apps . Slax uses modules, which are simply compressed files with LZMA algorithm. The modules are used without extraction, directly reading is supported. I don't know how to read directly but if someone interests, I guess it won't be such a hard job... PortableApps' approach is nearly the same as Slax have. The readonly files are under App/ directory and whole changes go to Data/ directory. If someone compile ExamplePortable.exe with a capability of reading archives which are compressed with lzma algorithm; the applications would be half to one fifth of their current sizes. For example I downloaded both Windows and Linux binaries of SDCC compiler, which are nearly same sizes about 40 MiB, but I could use it directly from its compressed form, which is about 7 MiB on Slax... Please somebody use that technology! ( categories: )
|

See 7-Zip Portable.
See 7-Zip Portable.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Most of the official portable
Most of the official portable applications here are UPX-ed, and some of them may be using LZMA compression. I know the launchers and installers do, but most of the apps themselves use NRV2E, cause there aren't quite so many compatibility problems.
There's no place like 127.0.0.1
The NSIS installers generally
The NSIS installers generally use LZMA. Whether the binaries included are packed is up to the distributor.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Oh...
You mean kinda like those JAR themes in FF.
But of course there is technically no way to do that in NSIS without several hundred WinAPI calls and perhaps even some linux kernel calls.
Somebody give me a portable video editor... Please!
If ya wanna see my email, go to digitxpsemail.tk (at least for now!)
My dad saved over $850 a month, by switching to Geico! :P
I didn't mean installers
Hi,
First of all, I didn't mean the installers...
I mean, ExamplePortable.exe would read a compressed file without extracting it, and whole readonly data will be compressed with LZMA algorithm. So, we will have;
App.lzma Data\ Other\ ExamplePortable.exe
Only thing we should do for our existing portable applications is to compress the App\ directory with lzma by 7z, and replace the MyApplicationPortable.exe with a new one which could read lzma archives directly (without extraction).
I am not interested in what or how the installers do...
Problems:
Somebody give me a portable video editor... Please!
If ya wanna see my email, go to digitxpsemail.tk (at least for now!)
My dad saved over $850 a month, by switching to Geico! :P
Where recompilation comes in
So, to make App\ directory *really* readonly, if we have to recompile the code, we will do what we need to do. Also, I think in this scenario, NSIS wouldn't be the model but Slax (Linux) will be; because Slax is currently using this method.
Actually
most (if not all) apps here are done without recompiling.
NSIS is what we use to make the apps portable.
Oh, and if it is possible do you happen to know where the code is that Slax uses to read out of compressed files?
Somebody give me a portable video editor... Please!
If ya wanna see my email, go to digitxpsemail.tk (at least for now!)
My dad saved over $850 a month, by switching to Geico! :P