I'm considering switching from ZIPs to self-extracting archives for the app downloads. This wouldn't be an installer, just a standard self extractor created by 7-zip. Run the EXE, it asks where to extract to, you click OK. I think this will be easier for the less-technical end users. And it shouldn't impact any users on limited rights machines as it isn't an installer.
Any thoughts?



I see o problems with it.
***********************************
Deuce {The Core} - {P.A. Dev Blog}
"Portable Software: Just the beginning.
Deuce
Portable Software: Just the beginning.
I think that it would be okay in the long run, but I'm just not sure about switching it over. Not sure why, but I'm just not sure.
-Justin
I like ZIP files the best.
It might be interesting to have a real installer for the Suite that lets you decide what file structure you want (portableAppName/, Data/ and Apps/, etc.) along with the standard ZIP file.
~nm35 {blog} {personal space}
Yeah, I think I'd rather stick with the .zip files. Novices are scared away by zip utilities, yes, but in my experience they're also scared away by folder navigation. So even if you made a more user-friendly install process, they'll still likely have trouble getting at the application.
Frankly, the portable applications just aren't well suited for computer novices. Don't try to force them to be.
I'm doing a self-extracting archive of Portable VLC for the current release to try it out. It's a 7-zip self extractor, so you can open it up directly in 7-zip like you would a .7z file if you're so inclined.
Sometimes, the impossible can become possible, if you're awesome!
I like being able to open the file directly from the download link in Firefox. EXE files can't be opened that way, while ZIPs can.
How about you provide ZIPs and EXEs?
~nm35 {blog} {personal space}
You beat me to it, nm35. I was about to say the same thing.
Although I'm not sure it would be wise for John to provide two archives for the same application, though. I wasn't even going to suggest that. He's already said OpenOffice.org alone takes forever to upload. Now he has to go through that twice?
That's double the uploading. And it takes too long as it is. Plus the self extractors wind up being much smaller than zips can be. And for the geeks among us (well, all of us), there's 7-zip which can open em right up as if they were ZIPs.
Sometimes, the impossible can become possible, if you're awesome!
I see your point. Keep it as EXEs then.
~nm35 {blog} {personal space}
Just make sure that if you do a portable zip program that you put it in a self-extractor!
eh?
If John releases a Portable 7zip or Portable WinRAR program, he should release it in a self-extracting archive. Too often I've been stymied by foreign computers that don't have any archiver programs installed to unzip something, and it would be embarrasing if that something ever ended up being the WinRAR installer.
I'd think he would. It would be kind of stupid to release a compression program inside of a compressed archive that you need the compression program to open...
The only problem, from a downloaders point of view is control.
With a zip file you can see the file list, sizes, folder structure before you extract.
With a zip program a user is most likely familar with it so has control over it i.e. where to extract to, folder structure etc
With an exe, a user just runs it and hopes for the best, hopes that there is no nasty virus etc.
I know thare are advantages to self extracting files but I recon portableapps.com should have mass appeal and stick with zips. imho.
you could do what NSIS plugins do. Have a zip with an extracter and the files inside.
----
R McCue
"If you're not part of the solution, you're part of the precipitate."
You'd be amazed how many people don't know what to do with a ZIP when they download it.
And the virus issue is really a non-issue. You're scanning everything you download. A ZIP would have EXEs in it and has to be scanned either before or after extracting... before you use it. Scanning a self extracting archive with any major antivirus program scans both the archive and all the files in it.
The one issue is seeing the directory structure. And you can actually use 7-zip to open the EXE up like an archive if desired. Anything that supports 7z should be able to do that as well.
The other big benefit, besides not needing to know how to unzip, is that switching from ZIP to 7z self-extractor allows me to cut the download size of Portable OpenOffice.org from 86MB to 62.8MB.
Sometimes, the impossible can become possible, if you're awesome!
Go for it!
Yours
Steve Lamerton
Developer Profile Sync & PortaLog
(or however it's spelt)
Finally I might be able to download.
Has anyone noticed that Download Statusbar, when used with AVG command line scanner, opens the file, then scans it?
Stupid huh.
----
R McCue
"If you're not part of the solution, you're part of the precipitate."
With a zip file you can see the file list, sizes, folder structure before you extract.
With a zip program a user is most likely familar with it so has control over it i.e. where to extract to, folder structure etc
This is also true for self extracting archives.
...if you use 7-zip or another ZIP app that can open SFX archives.
~nm35 {blog} {personal space}
Alot of them can, cause alot of them actually use 7zip with a fancy interface (WinRAR).
I use WinRAR.
----
R McCue
"If you're not part of the solution, you're part of the precipitate."
WinRAR may support 7-Zip (last time I checked it didn't), but either way, this is false. WinRAR uses a proprietary format (RAR) by default, not 7z.
To the best of my knowledge.
----
R McCue
"If you're not part of the solution, you're part of the precipitate."
Maybe so, but it's still not just "7-Zip with a fancy interface." It's a completely different product, and like I said, its default format is the proprietary RAR.
I use 7-zip to create the self extractors and then resource hacker to swap the icons with the onces I've extracted from the original programs.
Glad you like the look of them. That's part of the goal. Even though they're open source and free, I'm trying to make them look as professional as possible for users.
Sometimes, the impossible can become possible, if you're awesome!
If I try doing that with an Inno Setup installer, I'd get a CRC error when trying to run the modified executable. Thankfully, the latest versions of IS support changing the icon.
If your problem is that you want to extract a .zip file instead of a .zip (not download problems) then just download the .exe and rename it to .zip!
If you only want 1 download, then only make the .zip avalible and put a note about how to make a self-extracting version (see ".exe IS .zip" above)
I must say, you're a little late to the party. In any case, what you're saying makes absolutely no sense.
Once someone downloaded the ZIP version, why would they then go through an extra step to make a self extractor out of it before finally unzipping it? Once you have to ZIP open, you might as well just extract it to its final location and get it over with.
-
"You’ve always been the peacemaker, haven’t you, Bruce? You see injustice and suddenly you become blind to everything else. And for what? To save one innocent? You missed the bigger picture, Bruce. You always have."
Zip is the standard compression format. It's sad.
Vintage!
I think Zip is still preferred for its speed. Deflate is one of the fastest compression algorithms around, even with its maximum settings, while still giving a decent compression ratio. I don't find that 7-Zip compression (which takes way longer than deflate, even at its lowest setting) gains me much--unless you're talking about downloads for dial-up users, saving a few extra KB (or MB, depending on the size of the data set to be compressed) isn't that big a deal, especially with the size of drives today.
-
< Fatzilla Eatingeverythingwhale 1.5.0.6 >
the browser that eats absolutely everything
Gzip is quite fast for its compression ability (rivals 7z LZMA most of the time with binaries). Bzip2 isn't as good as 7z PPMd with text, but is faster. If I have a large file on my old computer, I use one of those over zip. Zip's speed is no excuse for its horrible compression ability.
www.maximumcompression.com is good site for comparing compression formats. WinRK seems to be number one, but it's propietary.
Vintage!
Very rarely do I need to upload an archive file on the internet, and the ones I do are tiny to begin with (a few hundred KB, maybe a meg at most). There's no sense in using a slower compression format just to shave off a few extra KB. Additionally, I have a 120 GB HD in my machine, so I don't have need of super-compact archives for backups, either. Hence, I use Zip--usually at its lowest compression setting--because it's the fastest.
Besides, more and more file formats (case in point: PNG) are compressed these days, and lots of developers are UPXing their executables now, as well. Archive compression is becoming less and less effective. What we need is a compression format that can further compress files that are already compressed. Such an algorithm doesn't exist yet. Try compressing a PNG with 7-Zip. Doesn't work well, does it? PNG is compressed with deflate, which is admittedly far inferior to LZMA. If 7-Zip can't get those smaller, what hope does it have in compressing real-world applications that contain lots of already-compressed files?
-
< ExplosivePrincess 1.5 Atomic Bomb Edition >
warning: keep explosiveprincess away from children
Compression is still very relavent for distribution. The OpenOffice.org 2.0.3 files, after being UPXed (all EXE/DLL) and 7-zipped (all JARs, max level), are still 174mb. When compressed into a 7-zip self extractor, it's only 64.5mb. Quite a big difference. And very handy for distribution. Incidentally, a ZIP of the same files weighs in at 88.4mb.
Sometimes, the impossible can become possible, if you're awesome!
Wow.
I'd like to know how that's possible. If you compress a 7zipped archive with LZMA, it's obviously not going to make a dent in the file's size (you can't apply the same compression algorithm to the same file twice and expect to see a change with the second pass). UPXed executables don't generally compress well, either, regardless of compression type. There must have some other highly compressible files in there besides the binaries.
Anyway, I just realized something. There's really nothing wrong with the deflate algorithm; it's just that the Zip format (which uses deflate) lacks solid compression. You'd be amazed how much difference solid compression can make, even with an inferior algorithm.
-
< ExplosivePrincess 1.5 Atomic Bomb Edition >
warning: keep explosiveprincess away from children
A UPXed EXE or DLL still need to be able to run. And include all of it's external hooks, etc so that other EXEs and DLLs can utilize it. A 7-zipped EXE doesn't need to worry about that... it just needs to be packaged. soffice.exe, for example, doesn't UPX well... it ends up about the same size (2.22MB). You can zip it down to 618KB. You can 7-zip it down to 293KB.
Sometimes, the impossible can become possible, if you're awesome!
UPXed executables don't generally compress well, either, regardless of compression type. There must have some other highly compressible files in there besides the binaries.
The image files, and some others. I don't have OOo with me, so I can't say for sure which files are compressed a lot.
Vintage!
You mean the images aren't already in a compressed format? Shame on the OOo developers! :lol:
-
< ExplosivePrincess 1.5 Atomic Bomb Edition >
warning: keep explosiveprincess away from children
They are in a compressed format. But they can be compressed even more. Mostly gifs in there, IIRC.
Vintage!
Hmm. That's surprising. I just took 161KB worth of PNGs and did a test run through 7-zip using the Ultra compression level; only shaved off about 5KB. And PNG only uses deflate. Compression may work to some extent on already-compressed files, but it's guaranteed to work much better if you give it uncompressed ones.
-
< ExplosivePrincess 1.5 Atomic Bomb Edition >
warning: keep explosiveprincess away from children
I had an archive full of wave files, but I converted them to mp3 (128kbps, IIRC), and got a smaller archive size. And only getting 5kb from 161kb of PNGs isn't surprising. There is a lot of space being taken up by image files in OOo.
Vintage!
You can't really compare archived mp3s to archived WAVs. Not only is mp3 a compressed format, but it discards information in the encoding process to get the file even smaller. Otherwise you'd never be able to have a 128kbps mp3.
What I meant with "archiving uncompressed files is better than archiving compressed ones" is in the situation where you compress one lossless format into another. It generally doesn't gain you as much as if you were using the identical uncompressed version. Obviously, though, that's not always an option--as is the case of OO.org.
Anyway, this is a stupid argument and we should stop before the thread ends up with three or four pages. Two is bad enough. :lol:
-
< ExplosivePrincess 1.5 Atomic Bomb Edition >
warning: keep explosiveprincess away from children
We just got sidetracked with OOo.
Vintage!