OSDN Git Service

274250640dbfc8f7292f5f0ccd469e582279144f
[sevenzip/7-Zip.git] / www.7-zip.org / faq.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML><HEAD>
3 <META http-equiv="CONTENT-TYPE" content="TEXT/HTML; CHARSET=UTF-8">
4 <LINK href="/style.css" rel="stylesheet" type="text/css">
5 <TITLE>Frequently Asked Questions (FAQ)</TITLE>
6 <META name="keywords" content="7z, lzma, 7-zip, faq">
7 </HEAD>
8 <BODY>
9 <TABLE cellspacing=10 cellpadding=10 border=0 width="100%"><TR>
10 <TD class="MenuColumn" valign="top">
11 <TABLE cellpadding=2 cellspacing=0 border=0 width="100%">
12 <TR><TD><IMG width=110 height=63 src="/7ziplogo.png" alt="7-Zip" border=0></TD></TR>
13 <TR><TD><HR></TD></TR></TABLE>
14 <TABLE cellpadding="2" cellspacing="0" border="0">
15 <TR><TD><A href="./" class="MenuLink">Home</A></TD></TR>
16 <TR><TD><A href="7z.html" class="MenuLink">7z Format</A></TD></TR>
17 <TR><TD><A href="sdk.html" class="MenuLink">LZMA SDK</A></TD></TR>
18 <TR><TD><A href="download.html" class="MenuLink">Download</A></TD></TR>
19 <TR><TD><A href="register.html" class="MenuLink">Donate</A></TD></TR>
20 <TR><TD><SPAN class="MenuCurrent">FAQ</SPAN></TD></TR>
21 <TR><TD><A href="support.html" class="MenuLink">Support</A></TD></TR>
22 <TR><TD><A href="links.html" class="MenuLink">Links</A></TD></TR>
23 </TABLE>
24 <TABLE cellpadding=2 cellspacing=0 border=0 width="100%">
25 <TR><TD><HR></TD></TR>
26 <TR><TD><A href="http://sourceforge.net"><IMG src="http://sourceforge.net/sflogo.php?group_id=14481" width=88 height=31 border=0 alt="SourceForge Logo"></A></TD></TR>
27 <TR><TD><A href="http://sourceforge.net/projects/sevenzip/">7-Zip on SF.net</A></TD></TR>
28 <TR><TD><A href="http://sourceforge.net/forum/forum.php?forum_id=45797">Forum</A></TD></TR>
29 <TR><TD><HR></TD></TR>
30 </TABLE>
31 <P>
32 <B>English</B><BR>
33 <A href="http://7-zip.hit.bg/">Bulgarian</A><BR>
34 <A href="http://7z.sparanoid.com/">Chinese Simpl.</A><BR>
35 <A href="http://www.spiroo.be/7zip/">French</A><BR>
36 <A href="http://sevenzip.sourceforge.jp/">Japanese</A><BR>
37 <A href="http://7zip.rnbastos.com/">Portuguese Brazil</A><BR>
38 <A href="http://7-zip.org.ua/ru/">Russian</A><BR>
39 <A href="http://www.7-zip.si/">Slovenian</A><BR>
40 <A href="http://7-zip.org.ua/">Ukrainian</A><BR>
41 </P>
42
43 </TD>
44 <TD valign="top">
45
46 <H1>Frequently Asked Questions (FAQ)</H1>
47
48 <UL>
49   <LI><A href="#user_faq">User FAQ</A></LI>
50   <LI><A href="#developer_faq">Developer FAQ</A></LI>
51 </UL>
52
53 <H2><a name="user_faq"></a>User FAQ</H2>
54
55 <H4>Can I use 7-Zip in a commercial organization?</H4>
56 <P>Yes, 7-Zip is free software. You can use it on any computer. You don't need to 
57 register or pay for 7-Zip.</P>
58
59 <H4>Why do the add, delete and update operations not work for some existing archives?</H4>
60 <P>The current version of 7-Zip can't execute some operations with .7z archives that have been 
61 created with the "solid" option switched on. You can disable solid mode with -ms=off switch 
62 in command line</P>
63
64 <H4>What about ACE archive support?</H4>
65 <P>Support for ACE archives could be implemented in 7-Zip, if the source code 
66 of that format was available, and the license allowed it. The Unace.dll 
67 library from the authors of the ACE program is not 
68 compatible with the plugin interface of 7-Zip (Unace.dll works with files, but 
69 7-Zip only allows plugins to work with abstract streams). For this reason 7-Zip can't use 
70 Unace.dll without a complex wrapper.</P>
71
72 <H4>Why doesn't the command line version add files without extensions to an archive?</H4>
73 <P>You're probably using a *.* wildcard. 7-Zip doesn't use the operating system's wildcard mask parser, 
74 and consequently treats *.* as any file that has an extension. 
75 To process all files you must use the * wildcard instead or omit the wildcard altogether.</P>
76
77 <H4>Why can't 7-Zip open some ZIP archives?</H4>
78 <P>In 99% of these cases it means that the archive contains incorrect headers.
79 Other ZIP programs can open some archives with incorrect headers, since these programs 
80 just ignore errors.</P>
81 <P>If you have such archive, please don't call the 7-Zip developers about it.
82 Instead try to find the program that was used to create the archive and inform the developers 
83 of that program that their software is not ZIP-compatible.</P>
84
85 <P>There are also some ZIP archives that were encoded with methods unsupported by 7-Zip. 
86 Some of these unsupported methods: PPMd (WinZip), WAVPack (WinZip), pkAES (PkZip).</P>
87
88 <H4>Why can't 7-Zip use big dictionary in 32-bit Windows?</H4>
89 <P>32-bit Windows allocates only 2 GB of virtual space per one application. 
90 Also that block of 2 GB can be fragmented (for example, by some DLL file), 
91 so 7-Zip can't allocate one big contiguous block of virtual space.
92 There are no such limitations in 64-bit Windows. 
93 So you can use any dictionary in Windows x64, if you have required amount of physical RAM.</P>
94
95 <H4>How can I install 7-Zip in silent mode?</H4>
96
97 <P>Use the "/S" parameter to do a silent installation and the "/D=dir" parameter 
98 to specify the "output directory". These options are case-sensitive. 
99 7-Zip uses the NSIS installer by Nullsoft.</P>
100
101
102 <H2><a name="developer_faq"></a>Developer FAQ</H2>
103
104 <H4>Why are there linking errors when I compile 7-Zip or LZMA SDK with Visual C++ 6.0?</H4>
105
106 <P>To compile sources you will need Visual C++ 6.0 or a later version. 
107 Some files also require a new Platform SDK from microsoft.com:</P>
108 <A href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm"><B>
109 http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm</B></A>
110 or
111 <A href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/"><B>
112 http://www.microsoft.com/msdownload/platformsdk/sdkupdate/</B></A>
113
114 <P>If you are using MSVC, specify the SDK directories at the top of the "Include files" and 
115 "Library files" directory lists. These can be found under "Tools / Options / Directories".</P>
116 <P>The latest Platform SDK is not compatible with MSVC6. So you must use
117 Windows Server 2003 PSDK (February 2003) with MSVC6.</P>
118
119 <H4>Can I use the EXE or DLL files from 7-Zip in a Commercial Application?</H4>
120
121 <P>Yes, but you are required to specify in your documentation (1) that  
122 you used parts of the 7-Zip program, (2) that 7-Zip is licensed under the GNU LGPL license and 
123 (3) you must give a link to www.7-zip.org, where the source code can be found.</P>
124
125 <H4>How can I add support for 7z archives to my application?</H4>
126
127 <P>One way is to use the 7za.dll (available from sf.net for download). The 7za.dll 
128 works via COM interfaces. It, however, doesn't use standard COM interfaces for 
129 creating objects. You can find a small example in the source code. A full example is 
130 7-Zip itself, since 7-Zip works via this dll also. There are other applications 
131 that use 7za.dll such as WinRAR, PowerArchiver and others.</P>
132
133 <P>The other way is to call the command line version: 7za.exe.</P>
134
135 <H4>Can I use the source code of 7-Zip in a commercial application?</H4>
136
137 <P>Since 7-Zip is licensed under the GNU LGPL you must follow the rules of that license. 
138 In brief, it means that any LGPL'ed code must remain licensed under the LGPL. For 
139 instance, you can change the code from 7-Zip or write a wrapper for some code
140 from 7-Zip and compile it into a DLL; but, the source code of that DLL (including 
141 your modifications / additions / wrapper) must be licensed under the LGPL or GPL.
142 Any other code in your application can be licensed as you wish.
143 This scheme allows users and developers to change LGPL'ed code and recompile
144 that DLL. That is the idea of free software. Read more here: 
145 <A href="http://www.gnu.org/">http://www.gnu.org/</A>.
146
147 You can also read about the <A href="sdk.html">LZMA SDK</A>, which is available 
148 under a more liberal license.</P>
149
150 <HR><P><SMALL>Copyright (C) 2008 Igor Pavlov.</SMALL></P>
151 </TD></TR></TABLE></BODY></HTML>