<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[计算机  &gt; 软件  &gt; 嵌入式软件  - FF87论坛!]]></title>
<link><![CDATA[list.php?mode=a&area_id=1-15_5_10]]></link>
<description><![CDATA[该标签仍可细分：]]></description>
<copyright>(c) 2012, 162100.com. All rights reserved.</copyright>
<generator>162100.com</generator>
<image>
  <url><![CDATA[inc/css/a/area_logo_1-15.gif]]></url>
  <title><![CDATA[计算机  &gt; 软件  &gt; 嵌入式软件  - FF87论坛!]]></title>
  <link><![CDATA[list.php?mode=a&area_id=1-15_5_10]]></link>
</image>
<item>
  <title><![CDATA[5000个ICO图标]]></title>
  <description><![CDATA[5000个ICO图标：<a href="http://pan.baidu.com/s/1i3uBoCP" target="_blank">点击下载</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>复制下载:&nbsp;&nbsp; <a href="http://pan.baidu.com/s/1i3uBoCP">http://pan.baidu.com/s/1i3uBoCP</a>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1699]]></link>
  <author><![CDATA[hy58]]></author>
  <pubDate><![CDATA[Sat, 03 Oct 2015 08:57:59 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[让Photoshop支持ico格式输出插件]]></title>
  <description><![CDATA[平时有尝试用Photoshop做过ico图片的朋友都知道，Photoshop默认是不支持ico格式输出的，需要安装对应IcoFormat插件支持才可以。今天就介绍一下这个插件的下载及安装方法，以方便有需要的网友参考使用。<br>Photoshop支持ico格式插件下载：<a href="http://pan.baidu.com/s/1bnc69X1" target="_blank">点击下载</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://pan.baidu.com/s/1bnc69X1">http://pan.baidu.com/s/1bnc69X1</a><br>安装方法：在操作前先关闭正在运行的Photoshop软件，然后将下载解压出来的IcoFormat文件夹放入Photoshop安装目录下的Plug-Ins文件夹里即可。这时我们重新打开Photoshop软件，在保存文件时就会看到多出了一个存储格式选项.ico，如下图：<br><img src="http://img.ithome.com/newsuploadfiles/2012/9/20120925_175206_412.jpg"><br>以上安装路径思齐在最新的Photoshop CS5.1/CS6版中亲测适用，如果您放入Plug-Ins文件夹后不见效，请尝试将解压出来的ICOFormat.8bi文件放入Photoshop&#92;Plug-Ins&#92;File Formats文件夹下。另外对于部分安装的非原版Photoshop软件（如精简版、绿色版等），可能安装路径会另有约定，您可以找找Photoshop安装目录下和“插件、扩展、工具、格式”等意思相同的文件夹试试。]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1698]]></link>
  <author><![CDATA[hy58]]></author>
  <pubDate><![CDATA[Sat, 03 Oct 2015 08:20:41 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[单文件打包工具Enigma Virtual Box 多国语言版]]></title>
  <description><![CDATA[<font face="Times New Roman">Enigma Virtual Box是一款软件虚拟化工具，它可以将一个应用程序的多个文件封装成一个单一的可执行文件。支持打包几乎所有的文件格式（如dll，ocx，mp3，avi等），打包后的虚拟化程序不会释放临时文件，文件的模拟过程是在内存中执行，打包后的文件同时也受到了保护，防止复制和第三方产品使用它们。</font><br><span style="font-family: times new roman, times; font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enigma Virtual Box 7.3为多国语言版，包含简体中文，是一款完全免费的绿色工具。本文提供最新版v7.3。本版主要更新如下：</span><br><span style="font-family: times new roman, times; font-size: 12pt;">-修复了在Windows8+中的问题<br><span style="font-family: times new roman, times; font-size: 12pt;">-修复了封装时重复的文件被发现的问题</span><br><span style="font-family: times new roman, times; font-size: 12pt;">-修复封装包中命令行选项未被读取的问题</span></span><br><span style="width: 635px;"><a href="http://www.heu8.com/wp-content/uploads/2015/06/Enigma-Virtual-Box-7.3.jpg"><img width="625" height="438" style="display: block; opacity: 1;" src="http://www.heu8.com/wp-content/uploads/2015/06/Enigma-Virtual-Box-7.3.jpg" data-original="http://www.heu8.com/wp-content/uploads/2015/06/Enigma-Virtual-Box-7.3.jpg"></a></span><span style="color: rgb(255, 0, 0); font-family: times new roman, times; font-size: 12pt;">Enigma Virtual Box 官方网站：</span><br><a href="http://enigmaprotector.com">http://enigmaprotector.com</a><a rel="nofollow">&nbsp;&nbsp;&nbsp; 选择</a>（Enigma 文件打包工具 ）这个下载。]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1695]]></link>
  <author><![CDATA[hy58]]></author>
  <pubDate><![CDATA[Fri, 25 Sep 2015 21:10:53 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[制作软件升级安装包]]></title>
  <description><![CDATA[<span style="font-size: 13px;">信不是每个人写的软件都只发布一次就可以了，肯定要有修改和维护的情况发生。在这种情况下，您可能就需要一个软件的升级安装包了。</span><br style="font-size: 13px;"><img src="http://www.flighty.cn/uploads/allimg/121123/2-12112315134N95.jpg" style="font-size: 13px; width: 513px; height: 399px;"><br><span style="font-size: 13px;">现在，我们就来一步步把这个安装包做出来。</span><br><span style="font-size: 13px;"><strong>前提：用户已经使用我们的完整安装包安装过了，且已经在注册表中记录了安装路径。</strong></span><br><br><table style="border: 1px solid rgb(234, 237, 156); border-image-source: none; width: 660px;"><tbody><tr><td style="font-size: 13px;"><br><table><tbody><tr><td style="font-size: 13px;"><code>1</code></td><td style="font-size: 13px;"><code>;在注册表中写入安装路径</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>2</code></td><td style="font-size: 13px;"><code>WriteRegStr HKCU&nbsp;</code><code>&quot;Software满划算的软件&quot;</code>&nbsp;<code>&quot;&quot;</code>&nbsp;<code>$INSTDIR</code></td></tr></tbody></table></td></tr></tbody></table><span style="font-size: 13px;"><br></span><hr style="font-size: 13px;"><span style="font-size: 13px;">我们要实现以下功能：</span><br><span style="font-size: 13px;">1、运行时检测注册表中是否有指定的安装路径，如果有，直接进入安装过程，如果没有，给一个提示。</span><br><span style="font-size: 13px;">2、运行时检测程序是否运行，如果正在运行则可以选择强制结束。</span><br><span style="font-size: 13px;">3、升级过程中实现解压文件、运行BAT等操作，且有进度条提示。</span><br><span style="font-size: 13px;">4、升级结束时打开升级说明以便用户查看。<br></span><hr style="font-size: 13px;"><strong style="font-size: 13px;">第一步：定义基本框架</strong><span style="font-size: 13px;"><br></span><table style="border: 1px solid rgb(234, 237, 156); border-image-source: none; width: 660px;"><tbody><tr><td style="font-size: 13px;"><br><table><tbody><tr><td style="font-size: 13px;"><code>01</code></td><td style="font-size: 13px;"><code>/*</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>02</code></td><td style="font-size: 13px;"><code><a href="http://www.ff87.com/">www.ff87.com</a></code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>03</code></td><td style="font-size: 13px;"><code>作者：<u><font color="#0066cc">ff87</font></u></code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>04</code></td><td style="font-size: 13px;"><code>时间2012-11-23</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>05</code></td><td style="font-size: 13px;"><code>*/</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>06</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>07</code></td><td style="font-size: 13px;"><code>!define PRODUCT_NAME&nbsp;</code><code>&quot;<u><font color="#0066cc">ff87</font></u>的软件&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>08</code></td><td style="font-size: 13px;"><code>!define PRODUCT_VERSION&nbsp;</code><code>&quot;1.0.0.1&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>09</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>10</code></td><td style="font-size: 13px;"><code>SetCompressor lzma</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>11</code></td><td style="font-size: 13px;"><code>SetFont&nbsp;</code><code>&quot;tahoma&quot;</code>&nbsp;<code>8</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>12</code></td><td style="font-size: 13px;"><code>RequestExecutionLevel admin</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>13</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>14</code></td><td style="font-size: 13px;"><code>!include&nbsp;</code><code>&quot;MUI2.nsh&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>15</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>16</code></td><td style="font-size: 13px;"><code>!insertmacro MUI_LANGUAGE&nbsp;</code><code>&quot;SimpChinese&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>17</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>18</code></td><td style="font-size: 13px;"><code>Name&nbsp;</code><code>&quot;${PRODUCT_NAME}_升级_${PRODUCT_VERSION}&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>19</code></td><td style="font-size: 13px;"><code>OutFile&nbsp;</code><code>&quot;${PRODUCT_NAME}_升级_${PRODUCT_VERSION}.exe&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>20</code></td><td style="font-size: 13px;"><code>InstallDirRegKey HKCU&nbsp;</code><code>&quot;Software<u><font color="#0066cc">ff87</font></u>的软件&quot;</code>&nbsp;<code>&quot;&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>21</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>22</code></td><td style="font-size: 13px;"><code>Section&nbsp;</code><code>&quot;升级文件&quot;</code>&nbsp;<code>SEC01</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>23</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>24</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>SetDetailsPrint textonly</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>25</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>DetailPrint&nbsp;</code><code>&quot;正在升级 ${PRODUCT_NAME}，请单击关闭按钮完成升级！&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>26</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>SetDetailsPrint listonly</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>27</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>28</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>SectionIn RO</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>29</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>SetOutPath&nbsp;</code><code>&quot;$INSTDIR&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>30</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>SetOverwrite ifnewer</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>31</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>;升级文件</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>32</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>File&nbsp;</code><code>&quot;Server<u><font color="#0066cc">ff87</font></u>的软件.EXE&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>33</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>File&nbsp;</code><code>&quot;Server<u><font color="#0066cc">ff87</font></u>的软件.bat&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>34</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>File&nbsp;</code><code>&quot;Server更新说明.txt&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>35</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>;运行BTA</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>36</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>nsExec::Exec&nbsp;</code><code>&quot;$INSTDIR<u><font color="#0066cc">ff87</font></u>的软件.bat&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>37</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>;指定以记事本打开说明</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>38</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Exec&nbsp;</code><code>&#039;&quot;$SYSDIRnotepad.exe&quot; &quot;$INSTDIR更新说明.txt&quot;&#039;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>39</code></td><td style="font-size: 13px;">&nbsp;</td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>40</code></td><td style="font-size: 13px;"><code>SectionEnd</code></td></tr></tbody></table><br></td></tr></tbody></table><span style="font-size: 13px;">如果没有其他错误，这时候我们的升级程序就已经可以编译了。</span><br><span style="font-size: 13px;">下面，我们继续进行完善。</span><br><span style="font-size: 13px;"><strong>第</strong><strong>二步：禁止重复运行</strong></span><br><span style="font-size: 13px;">在.onInit区段加入以下代码</span><br><br><table style="border: 1px solid rgb(234, 237, 156); border-image-source: none; width: 660px;"><tbody><tr><td style="font-size: 13px;"><br><table><tbody><tr><td style="font-size: 13px;"><code>1</code></td><td style="font-size: 13px;"><code>InitPluginsDir</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>2</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>;创建互斥防止重复运行</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>3</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>System::Call&nbsp;</code><code>&#039;kernel32::CreateMutexA(i 0, i 0, t &quot;<u><font color="#0066cc">ff87</font></u>的软件_installer&quot;) i .r1 ?e&#039;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>4</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Pop $R0</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>5</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>StrCmp $R0 0 +3</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>6</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;&nbsp;&nbsp;</code><code>MessageBox MB_OK&#124;MB_ICONEXCLAMATION&nbsp;</code><code>&quot;有一个 ${PRODUCT_NAME} 升级程序已经运行！&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>7</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;&nbsp;&nbsp;</code><code>Abort</code></td></tr></tbody></table><br></td></tr></tbody></table><br><span style="font-size: 13px;"></span><hr style="font-size: 13px;"><strong style="font-size: 13px;">第三步：加入是否安装判断</strong><br><span style="font-size: 13px;">我们通过检测注册中指定键值的方式来判断软件是否已经正确安装。</span><br><span style="font-size: 13px;">在.onInit区段加入以下代码<br></span><table style="border: 1px solid rgb(234, 237, 156); border-image-source: none; width: 660px;"><tbody><tr><td style="font-size: 13px;"><br><table><tbody><tr><td style="font-size: 13px;"><code>1</code></td><td style="font-size: 13px;"><code>;判断是否已安装</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>2</code></td><td style="font-size: 13px;"><code>ReadRegStr $0 HKCU&nbsp;</code><code>&quot;Software轻狂的软件&quot;</code>&nbsp;<code>&quot;&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>3</code></td><td style="font-size: 13px;"><code>StrCmp $0&nbsp;</code><code>&quot;&quot;</code>&nbsp;<code>0 NoAbort</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>4</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>MessageBox MB_OK&#124;MB_ICONEXCLAMATION&nbsp;</code><code>&quot;您未正确安装轻狂的软件，不能使用此升级程序！&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>5</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Abort ;退出安装程序</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>6</code></td><td style="font-size: 13px;"><code>NoAbort:</code></td></tr></tbody></table></td></tr></tbody></table><br><span style="font-size: 13px;"></span><hr style="font-size: 13px;"><strong style="font-size: 13px;">第四步：如果程序正在运行则关闭程序</strong><br><span style="font-size: 13px;">在.onInit区段加入以下代码</span><br><table style="border: 1px solid rgb(234, 237, 156); border-image-source: none; width: 660px;"><tbody><tr><td style="font-size: 13px;"><br><table><tbody><tr><td style="font-size: 13px;"><code>01</code></td><td style="font-size: 13px;"><code>;关闭进程</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>02</code></td><td style="font-size: 13px;"><code>Push $R0</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>03</code></td><td style="font-size: 13px;"><code>CheckProc:</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>04</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Push&nbsp;</code><code>&quot;<u><font color="#0066cc">ff87</font></u>的软件.exe&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>05</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>ProcessWork::existsprocess</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>06</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Pop $R0</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>07</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>IntCmp $R0 0 Done</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>08</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>MessageBox MB_OKCANCEL&#124;MB_ICONSTOP&nbsp;</code><code>&quot;升级程序检测到 ${PRODUCT_NAME} 正在运行。$r$n$r$n点击 “确定” 强制关闭${PRODUCT_NAME}，继续升级。$r$n点击 “取消” 退出安装程序。&quot;</code>&nbsp;<code>IDCANCEL Exit</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>09</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Push&nbsp;</code><code>&quot;<u><font color="#0066cc">ff87</font></u>的软件.exe&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>10</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Processwork::KillProcess</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>11</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Sleep 1000</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>12</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Goto CheckProc</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>13</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Exit:</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>14</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Abort</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>15</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Done:</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>16</code></td><td style="font-size: 13px;"><code>&nbsp;&nbsp;</code><code>Pop $R0</code></td></tr></tbody></table><br></td></tr></tbody></table><br><span style="font-size: 13px;">这时我们会发现整个安装程序还不是很美观，那么我们继续。</span><br><span style="font-size: 13px;"></span><hr style="font-size: 13px;"><strong style="font-size: 13px;">第五步：添加页眉图片和图标</strong><br><table style="border: 1px solid rgb(234, 237, 156); border-image-source: none; width: 660px;"><tbody><tr><td style="font-size: 13px;"><br><table><tbody><tr><td style="font-size: 13px;"><code>1</code></td><td style="font-size: 13px;"><code>!define MUI_ABORTWARNING</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>2</code></td><td style="font-size: 13px;"><code>!define MUI_HEADERIMAGE</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>3</code></td><td style="font-size: 13px;"><code>!define MUI_ICON&nbsp;</code><code>&quot;Setuplogo.ico&quot;</code></td></tr></tbody></table><table><tbody><tr><td style="font-size: 13px;"><code>4</code></td><td style="font-size: 13px;"><code>!define MUI_HEADERIMAGE_BITMAP&nbsp;</code><code>&quot;Setupmodern-header.bmp&quot;</code></td></tr></tbody></table><br></td></tr></tbody></table><br><span style="font-size: 13px;">好，至此，这个软件升级包就大功告成了。</span><br><span style="font-size: 13px;">当然，你还可以在其中加入其他功能，比如更新卸载文件代码、注册DLL、设置壁纸、更改主题等，不过，<u><font color="#0066cc" face="Courier New">ff87</font></u>劝你：这只是一个升级安装包而已，没必要搞得功能那么复杂吧！呵呵</span>]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=1239]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Thu, 11 Jun 2015 16:43:57 +0800]]></pubDate>
</item>
<item>
  <title><![CDATA[秒删，删掉虚拟主机内的文件]]></title>
  <description><![CDATA[有时候想重新安装网站吧，但又苦于网站的网页实在是太多了，一时半会删不完，控制面板有没有啥快捷的删除方式。以前我重装程序是就很头疼，偶然的一次在某网友(具体的记不清了)的博客找到了这串php代码，把代码保存为xxx.php即可，xxx即为你想要的名称.<br>如：ms.php，这样上传到ftp,然后访问你的域名+目录+ms.php即可执行删除命令。<br>下面附代码：<br><hr>&lt;?php&nbsp;&nbsp;&nbsp;&nbsp; function delDir($directory){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(file_exists($directory))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $selfFile=basename(__FILE__);&nbsp;&nbsp; if($dir_handle=@opendir($directory))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while($filename=readdir($dir_handle))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $subFile=$directory.DIRECTORY_SEPARATOR.$filename;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if($filename==&#039;.&#039;&#124;&#124;$filename==&#039;..&#039;&#124;&#124;$filename==$selfFile){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; continue;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }elseif (is_dir($subFile)){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delDir($subFile);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }elseif (is_file($subFile)){&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unlink($subFile);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; closedir($dir_handle);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delDir(&quot;.&quot;); ?&gt;<br><br><hr>复制保存程文本文档即可，修改一下后缀就好了。修改后缀的方法就不用我说了吧，不会的童鞋请<a href=http://www.baidu.com/link?url=XK9m87DWwuSQsRufQsNxT9iT6Vv3G3ji6jB2AbPAUvW target="_blank">百度一下</a><br><br>&nbsp;]]></description>
  <category><![CDATA[]]></category>
  <link><![CDATA[article.php?mode=a&id=985]]></link>
  <author><![CDATA[zyc]]></author>
  <pubDate><![CDATA[Sun, 07 Jun 2015 20:40:59 +0800]]></pubDate>
</item>
</channel>
</rss>