ExtractDLLEx plug-in: Difference between revisions
mNo edit summary |
|||
Line 109: | Line 109: | ||
: Copyright 2002 by Tim Kosse (tim.kosse@gmx.de) | : Copyright 2002 by Tim Kosse (tim.kosse@gmx.de) | ||
Intodit is a wiki program that aollws individuals to connect and share information and ideas with each other. Intodit got its name from combining the two words, into and edit. This is a very new program, which is conistently going through restruction to become the best it can possibly be. When exploring this site, I noticed a few things prevented me from liking this application. First, the display of the information is very hard to understand. The page tends to jump around from what Intodit is, and then what Web 2.0 is, and conistently going back and forth with information that does not relate to Intodit. And for the lesson plans, I was not very impressed because it did not show the different templates or previews for the lesson plans. It was hard for me to get a visual of what kind of lesson plan template I'd expect when I added my own lesson plans to Intodit. Second, I felt like Intodit did not have enough information about the program itself. The majority of the explaination was given in the first two sections of the tutorial. Again, the information would jump back and forth from Intodit and then Web 2.0. Third, the program is very new, which aollws there to be many glitches when using the system. Some glitches include language barriers which prevents one from connecting with another individual from the other side of the world. These are a few things I picked up on when I viewed this website. Although this is a fairly new website, I think overtime it has the potential of becoming a great application. As of right now, I find it hard to use since there is not enough information about it. | |||
Revision as of 02:29, 16 May 2013
Author: mumpitzstuff (talk, contrib) |
Links
Extractdllex.zip (135 KB)
Extractdllex.zip (135 KB) (Mirror #1)
What is this?
ExtractDLLEx is a extension DLL for NSIS. It can decompress one or more files from a LZMA container file which was created with compressfile.exe before. It is especially useful in combination with NSISdl so that you don't have to download large files uncompressed.
Usage
- Decompression (within NSIS script):
- Push path and name of compressed file and then path and name of temporary destination file on top of the stack.
- Call the function "extract" with CallInstDLL
- On Success, the string "success" is on top of the stack, else an error message.
- The decompressed files are created in the same directory like the script executable NSIS script file.
- The second filename is only used for temporary file access!
- Compression (outside NSIS script or using !system):
- Call CompressFile.exe with the name of the compressed file and the uncompressed files as parameters. You can use relative paths of the actual directory. The usage of wildcards like * and ? is also supported!
- Use always / and not \ in your paths!
- Don't use / in front of relative paths.
- ../ is not supported in relative paths.
- CompressFile needs the lzma.exe file!
Example
Compression
CompressFile.exe test.7z test.* te?t.exe test1/test2/test.txt
Decompression (NSIS script)
Push "test.7z" Push "update.tmp" ExtractDllEx::extract ;get the result Pop $0 StrCmp $0 success SUCCESS MessageBox MB_OK|MB_ICONSTOP "$0" SUCCESS:
Process Overview
1. Batch file compresses files:
CompressFile.exe test.7z test.* test/test.txt
2. The process begins:
test.exe test.dat test/test.txt \ | / \ | / \ | / \ | / CompressFile.exe \ | / pack.tmp (hardcoded in CompressFile) | | test.7z -------------------------------------------------------- test.7z | | update.tmp (temporary file!) ExtractDLLEx.dll / | \ / | \ / | \ / | \ / | \ test.exe test.dat test/test.txt
3. NSIS script unpacks files:
Push "test.7z" Push "update.tmp" ExtractDllEx::extract ;get the result Pop $0 StrCmp $0 success SUCCESS MessageBox MB_OK|MB_ICONSTOP "$0" SUCCESS:
Changes from Original Version
- LZMA compression with CRC check.
- File container support.
- Wildcard support.
- Relative path support.
- Smaller DLL file size.
Known limitations
Zlib and LZMA compression are included. The included plugin supports only LZMA because of the better compression and smaller filesize.
Bug: CompressFile.exe does not support using a space in the result filename. It will report as a success, but the resulting file is only 4 bytes, and will fail to decompress later. If you want to use a space in the resulting compressed file name, simply rename the file after CompressFile.exe generated it. Decompressing files with spaces works just fine.
Credits
- Modified by
- Copyright 2004 by Achim Winkler (achim@lkcc.org)
- Created by
- Copyright 2002 by Tim Kosse (tim.kosse@gmx.de)
Intodit is a wiki program that aollws individuals to connect and share information and ideas with each other. Intodit got its name from combining the two words, into and edit. This is a very new program, which is conistently going through restruction to become the best it can possibly be. When exploring this site, I noticed a few things prevented me from liking this application. First, the display of the information is very hard to understand. The page tends to jump around from what Intodit is, and then what Web 2.0 is, and conistently going back and forth with information that does not relate to Intodit. And for the lesson plans, I was not very impressed because it did not show the different templates or previews for the lesson plans. It was hard for me to get a visual of what kind of lesson plan template I'd expect when I added my own lesson plans to Intodit. Second, I felt like Intodit did not have enough information about the program itself. The majority of the explaination was given in the first two sections of the tutorial. Again, the information would jump back and forth from Intodit and then Web 2.0. Third, the program is very new, which aollws there to be many glitches when using the system. Some glitches include language barriers which prevents one from connecting with another individual from the other side of the world. These are a few things I picked up on when I viewed this website. Although this is a fairly new website, I think overtime it has the potential of becoming a great application. As of right now, I find it hard to use since there is not enough information about it.