Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

In Windows I can create self-extracting archives, which end in exe instead of rar, and then you don't need to have an unarchiver available to extract them. How can I create a self-extracting archive for Mac?

I need to distribute for download a large (100 mb when compressed) archive from a server to many mac users. I'd rather use a better compression like RAR or LZMA, but I need to be sure that it can be opened by everyone without needing to install anything.

share|improve this question

3 Answers 3

up vote 21 down vote accepted

OSX contains an unarchiver so you don't need the equivalent of a .exe so you can extract on any machine and not be stuck as you are on a Mac when you receive a Windows self-extracting archive

To archive select the files in Finder. Command-click or right-click and choose compress from the menu - you will get Archive.zip. To unzip just double click on the .zip file

The tool that does the unarchiving is Archive Utility.app and understands various compression schemes from Wikipaedia including bzip2 which can be better than zip - but you need to compress using a command line tool bzip2

share|improve this answer
    
I think he wants to create them. He doesn't want to know how to create/decompress an archive. He's looking for an equivalent for Mac OS. –  timbooo Jul 28 '11 at 12:54
8  
@timboo And the point is that there's no need for self-extracting archives on a Mac, because a Mac can extract archives out of the box. Self-extracting archives were a necessary evil over a decade ago on Windows, since Windows didn't have any built-in archive utility. Those times are long gone, there's basically no advantage for these technological dinosaurs anymore. –  deceze Jul 28 '11 at 14:35
1  
my comment is that you don't need an equivalent for OSX - zip/unzip is built in –  Mark Jul 28 '11 at 14:35
1  
Mark, @deceze Well, I know that it's not usual. However he asked it, Stuffit Deluxe can provide that functionality and the OP seems to be happy with the answer. So what is this discussion here about? –  timbooo Jul 28 '11 at 15:45
    
@Mark, you're wrong, because I want to compress to a 7z archive, and that I don't think Mac supports out the box, so I need a self-extractor. –  Shimmy Oct 1 at 0:07

Also 7zX (Freeware) has the ability to create self-extracting archives. But I didn't know if the is a possibility to run or execute some code after extraction.

share|improve this answer

According to the StuffIt for Mac comparison page and an ehow howto, the Deluxe version can create self-extracting archives.

enter image description here

share|improve this answer
5  
There's no reason to do this, nor to purchase a more expensive version to get this functionality. This is a marketing gimmick aimed more at switchers who have always needed extra software to handle archives. –  Bryson Aug 3 '11 at 19:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.