📄 installer.nsi
字号:
; Installer.nsi - installs Wireshark Portable onto a PortableApps enabled device; $Id: Installer.nsi 23340 2007-11-02 13:47:23Z gal $;Copyright 2007 John T. Haller;Website: http://www.wireshark.org/;This software is OSI Certified Open Source Software.;OSI Certified is a certification mark of the Open Source Initiative.;This program is free software; you can redistribute it and/or;modify it under the terms of the GNU General Public License;as published by the Free Software Foundation; either version 2;of the License, or (at your option) any later version.;This program is distributed in the hope that it will be useful,;but WITHOUT ANY WARRANTY; without even the implied warranty of;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the;GNU General Public License for more details.;You should have received a copy of the GNU General Public License;along with this program; if not, write to the Free Software;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.;EXCEPTION: Can be used with non-GPLed open source apps distributed by PortableApps.com!define APP "Wireshark"!define NAME "Wireshark Portable"!define SHORTNAME "WiresharkPortable"!define FILENAME "WiresharkPortable"!define CHECKRUNNING "WiresharkPortable.exe"!define CLOSENAME "Wireshark Portable"!define ADDONSDIRECTORYPRESERVE "NONE";=== Program DetailsName "${NAME}"OutFile "${FILENAME}-${WSVERSION}.paf.exe"InstallDir "\${SHORTNAME}"Caption "${NAME} | PortableApps.com Installer"VIProductVersion "${VERSION}"VIAddVersionKey ProductName "${NAME}"VIAddVersionKey Comments "For additional details, visit PortableApps.com"VIAddVersionKey CompanyName "PortableApps.com"VIAddVersionKey LegalCopyright "PortableApps.com and contributors"VIAddVersionKey FileDescription "${NAME}"VIAddVersionKey FileVersion "${VERSION}"VIAddVersionKey ProductVersion "${VERSION}"VIAddVersionKey InternalName "${NAME}"VIAddVersionKey LegalTrademarks "PortableApps.com is a Trademark of Rare Ideas, LLC."VIAddVersionKey OriginalFilename "${FILENAME}.paf.exe";VIAddVersionKey PrivateBuild "";VIAddVersionKey SpecialBuild "";=== Runtime Switches;SetDatablockOptimize on;SetCompress offSetCompressor /SOLID lzmaCRCCheck onAutoCloseWindow TrueRequestExecutionLevel user;=== Include!include MUI.nsh!include FileFunc.nsh!include LogicLib.nsh!insertmacro DriveSpace!insertmacro GetOptions!insertmacro GetDrives!insertmacro GetRoot!insertmacro GetSize;=== Program IconIcon "Files\App\AppInfo\${APP}.ico";=== Icon & Stye ===!define MUI_ICON "Files\App\AppInfo\wireshark.ico"BrandingText "PortableApps.com - Your Digital Life, Anywhere
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -