AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
7Zip Self Extracting Zip4/11/2021
In order to cause your self-extractor to place files in a location that can be expressed by using an environment variable, you would need to first extract the files to some set folder that you would designate (such as C:Target ).
7Zip Self Extracting Zip Zip File ThatYou would also need to include some sort of script, such as a.bat file, in your Zip file that moves the folder you created to your desired location.You may also submit a ticket to Technical Support for help with making this work in a self-extractor.7Zip Self Extracting Zip Mac OS XMany, many users have it installed on Windows and it is available for Mac OS X as well. The reason to use 7zip in the first place is that its compression mechanism, LZMA, is far more effective at compressing than say Info-Zip. ![]() Thus a self-extracting archive is platform specific but the good news it doesnt require the target platform to have 7zip installed. The code at the beginning is called a stub when it exists on its own. Ive harvested this file from a number of platforms, renamed it so I could recognize the platform it came from, and then put it on my Linux host. So, for example, you can create a self-extracting archive for Windows on Linux. The way to create such an archive from the command line is the following. This is why I build my sfx-archives on Linux, not on Windows. To finish this off, those.sfx files should be placed in cp 7z.sfx usrlibp7zip The argument for 7za -sfx is NOT a path, its the filename of sfx modules in usrlib. So go to a Mac OS X host that has 7zip installed (or a derivative thereof). ![]() ConMacOSX64.sfx. Transfer to your designated host (possibly not OS X). During installation the 7zCon.sfx is installed at location usrlibexecp7zip. It extracts its contents without having to have 7Zip installed. What is is with the config.txt file in your example Im not familiar with the syntax or that file, nor its purpose. What leads you to believe that 7Zip will pay any special attention to this file Why you do use cat command to create the archive and not the command as mentioned in this posting. The workflow is after unzipping it will try to execute a program in the unzipped file. It really beats me why you are asking a question about that particular plugin on this blog, rather than asking the question to the author. To find out more, including how to control cookies, see here.
0 Comments
Read More
Leave a Reply. |