OSDN Git Service

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