X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=www.7-zip.org%2Ffaq.html;h=31bf65efdba6343f8d15d0f4fada94bd883add58;hb=3ac0f56b9be0d1464027f01ce0d00725bcbbd4eb;hp=b5a9009a5060d6213a58213c2e3bbd6f7329a843;hpb=314e42b02213538ed8b65cd18047bbc0c003fbad;p=sevenzip%2F7-Zip.git diff --git a/www.7-zip.org/faq.html b/www.7-zip.org/faq.html index b5a9009..31bf65e 100644 --- a/www.7-zip.org/faq.html +++ b/www.7-zip.org/faq.html @@ -1,138 +1,150 @@ - - - - -Frequently Asked Questions (FAQ) - - - - - -
- -

Frequently Asked Questions (FAQ)

- - - -

User FAQ

- -

Can I use 7-Zip in a commercial organization?

-

Yes, 7-Zip is free software. You can use it on any computer. You don't need to -register or pay for 7-Zip.

- -

Why do the add, delete and update operations not work for some existing archives?

-

The current version of 7-Zip can't execute some operations with .7z archives that have been -created with the "solid" option switched on. You can disable solid mode with -ms=off switch -in command line

- -

What about ACE archive support?

-

Support for ACE archives could be implemented in 7-Zip, if the source code -of that format was available, and the license allowed it. The Unace.dll -library from the authors of the ACE program is not -compatible with the plugin interface of 7-Zip (Unace.dll works with files, but -7-Zip only allows plugins to work with abstract streams). For this reason 7-Zip can't use -Unace.dll without a complex wrapper.

- -

Why doesn't the command line version add files without extensions to an archive?

-

You're probably using a *.* wildcard. 7-Zip doesn't use the operating system's wildcard mask parser, -and consequently treats *.* as any file that has an extension. -To process all files you must use the * wildcard instead or omit the wildcard altogether.

- -

Why can't 7-Zip open some ZIP archives?

-

In 99% of these cases it means that the archive contains incorrect headers. -Other ZIP programs can open some archives with incorrect headers, since these programs -just ignore errors.

-

If you have such archive, please don't call the 7-Zip developers about it. -Instead try to find the program that was used to create the archive and inform the developers -of that program that their software is not ZIP-compatible.

- -

How can I install 7-Zip in silent mode?

- -

Use the "/S" parameter to do a silent installation and the "/D=dir" parameter -to specify the "output directory". These options are case-sensitive. -7-Zip uses the NSIS installer by Nullsoft.

- - -

Developer FAQ

- -

Why are there linking errors when I compile 7-Zip or LZMA SDK with Visual C++ 6.0?

- -

To compile sources you will need Visual C++ 6.0 or a later version. -Some files also require a new Platform SDK from microsoft.com:

- -http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm -or - -http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ - -

If you are using MSVC, specify the SDK directories at the top of the "Include files" and -"Library files" directory lists. These can be found under "Tools / Options / Directories".

-

The latest Platform SDK is not compatible with MSVC6. So you must use -Windows Server 2003 PSDK (February 2003) with MSVC6.

- -

Can I use the EXE or DLL files from 7-Zip in a Commercial Application?

- -

Yes, but you are required to specify in your documentation (1) that -you used parts of the 7-Zip program, (2) that 7-Zip is licensed under the GNU LGPL license and -(3) you must give a link to www.7-zip.org, where the source code can be found.

- -

How can I add support for 7z archives to my application?

- -

One way is to use the 7za.dll (available from sf.net for download). The 7za.dll -works via COM interfaces. It, however, doesn't use standard COM interfaces for -creating objects. You can find a small example in the source code. A full example is -7-Zip itself, since 7-Zip works via this dll also. There are other applications -that use 7za.dll such as WinRAR, PowerArchiver and others.

- -

The other way is to call the command line version: 7za.exe.

- -

Can I use the source code of 7-Zip in a commercial application?

- -

Since 7-Zip is licensed under the GNU LGPL you must follow the rules of that license. -In brief, it means that any LGPL'ed code must remain licensed under the LGPL. For -instance, you can change the code from 7-Zip or write a wrapper for some code -from 7-Zip and compile it into a DLL; but, the source code of that DLL (including -your modifications / additions / wrapper) must be licensed under the LGPL or GPL. -Any other code in your application can be licensed as you wish. -This scheme allows users and developers to change LGPL'ed code and recompile -that DLL. That is the idea of free software. Read more here: -http://www.gnu.org/. - -You can also read about the LZMA SDK, which is available -under a more liberal license.

- -

Copyright (C) 2008 Igor Pavlov.

-
+ + + + +Frequently Asked Questions (FAQ) + + + + + +
+ +

Frequently Asked Questions (FAQ)

+ + + +

User FAQ

+ +

Can I use 7-Zip in a commercial organization?

+

Yes, 7-Zip is free software. You can use it on any computer. You don't need to +register or pay for 7-Zip.

+ +

Why do the add, delete and update operations not work for some existing archives?

+

The current version of 7-Zip can't execute some operations with .7z archives that have been +created with the "solid" option switched on. You can disable solid mode with -ms=off switch +in command line

+ +

What about ACE archive support?

+

Support for ACE archives could be implemented in 7-Zip, if the source code +of that format was available, and the license allowed it. The Unace.dll +library from the authors of the ACE program is not +compatible with the plugin interface of 7-Zip (Unace.dll works with files, but +7-Zip only allows plugins to work with abstract streams). For this reason 7-Zip can't use +Unace.dll without a complex wrapper.

+ +

Why doesn't the command line version add files without extensions to an archive?

+

You're probably using a *.* wildcard. 7-Zip doesn't use the operating system's wildcard mask parser, +and consequently treats *.* as any file that has an extension. +To process all files you must use the * wildcard instead or omit the wildcard altogether.

+ +

Why can't 7-Zip open some ZIP archives?

+

In 99% of these cases it means that the archive contains incorrect headers. +Other ZIP programs can open some archives with incorrect headers, since these programs +just ignore errors.

+

If you have such archive, please don't call the 7-Zip developers about it. +Instead try to find the program that was used to create the archive and inform the developers +of that program that their software is not ZIP-compatible.

+ +

There are also some ZIP archives that were encoded with methods unsupported by 7-Zip. +Some of these unsupported methods: PPMd (WinZip), WAVPack (WinZip), pkAES (PkZip).

+ +

Why can't 7-Zip use big dictionary in 32-bit Windows?

+

32-bit Windows allocates only 2 GB of virtual space per one application. +Also that block of 2 GB can be fragmented (for example, by some DLL file), +so 7-Zip can't allocate one big contiguous block of virtual space. +There are no such limitations in 64-bit Windows. +So you can use any dictionary in Windows x64, if you have required amount of physical RAM.

+ +

How can I install 7-Zip in silent mode?

+ +

Use the "/S" parameter to do a silent installation and the "/D=dir" parameter +to specify the "output directory". These options are case-sensitive. +7-Zip uses the NSIS installer by Nullsoft.

+ + +

Developer FAQ

+ +

Why are there linking errors when I compile 7-Zip or LZMA SDK with Visual C++ 6.0?

+ +

To compile sources you will need Visual C++ 6.0 or a later version. +Some files also require a new Platform SDK from microsoft.com:

+ +http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm +or + +http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ + +

If you are using MSVC, specify the SDK directories at the top of the "Include files" and +"Library files" directory lists. These can be found under "Tools / Options / Directories".

+

The latest Platform SDK is not compatible with MSVC6. So you must use +Windows Server 2003 PSDK (February 2003) with MSVC6.

+ +

Can I use the EXE or DLL files from 7-Zip in a Commercial Application?

+ +

Yes, but you are required to specify in your documentation (1) that +you used parts of the 7-Zip program, (2) that 7-Zip is licensed under the GNU LGPL license and +(3) you must give a link to www.7-zip.org, where the source code can be found.

+ +

How can I add support for 7z archives to my application?

+ +

One way is to use the 7za.dll (available from sf.net for download). The 7za.dll +works via COM interfaces. It, however, doesn't use standard COM interfaces for +creating objects. You can find a small example in the source code. A full example is +7-Zip itself, since 7-Zip works via this dll also. There are other applications +that use 7za.dll such as WinRAR, PowerArchiver and others.

+ +

The other way is to call the command line version: 7za.exe.

+ +

Can I use the source code of 7-Zip in a commercial application?

+ +

Since 7-Zip is licensed under the GNU LGPL you must follow the rules of that license. +In brief, it means that any LGPL'ed code must remain licensed under the LGPL. For +instance, you can change the code from 7-Zip or write a wrapper for some code +from 7-Zip and compile it into a DLL; but, the source code of that DLL (including +your modifications / additions / wrapper) must be licensed under the LGPL or GPL. +Any other code in your application can be licensed as you wish. +This scheme allows users and developers to change LGPL'ed code and recompile +that DLL. That is the idea of free software. Read more here: +http://www.gnu.org/. + +You can also read about the LZMA SDK, which is available +under a more liberal license.

+ +

Copyright (C) 2008 Igor Pavlov.

+