C:\Users\Administrator>makensis MakeNSIS v2.45 - 版权所有 1995-2009 所有贡献者 查看文件 COPYING 获取许可信息的细节. 荣誉可在用户手册中查找到. 用法: makensis [选项 | 脚本.nsi | - [...]] 选项为: /CMDHELP 项吧“项”的帮助打印出来, 或列出所有命令 /HDRINFO 打印关于 makensis 编译的选项信息 /LICENSE 输出 makensis 软件许可协议 /VERSION 输出 makensis 版本并退出 /Px 设置编译器进程的优先级, 其中 x 为 5=实时,4=高, 3=高于标准,2=标准,1=低于标准,0=低 /Vx 冗长, 其中 x 为 4=全部输出,3=信息、警告和错误,2=警告和错误,1=仅错误,0=无输出 /Ofile 指定一个文本文件来记录编译器输出 (默认为标准输出) /PAUSE 执行后暂停 /NOCONFIG 禁止包含
\nsisconf.nsh /NOCD 禁止把当前目录定位到 .nsi 文件 /Ddefine[=值] 为脚本文件 [值] 定义一个赋值号 "define" /Xscriptcmd 在脚本执行脚本命令 (如: "/XOutFile poop.exe") 参数按照先后顺处理 (/Ddef ins.nsi != ins.nsi /Ddef) 对于脚本文件名称, 您可以使用 - 从标准输入读取 您也可以将 - 作为一个选项字符: -PAUSE 等价于 /PAUSE 您可以使用双短线 -- 来中止选项处理 -- -ins.nsi C:\Users\Administrator>e: E:\>cd E:\111\xmt E:\111\xmt> venv\Scripts\activate (venv) E:\111\xmt>dir 驱动器 E 中的卷没有标签。 卷的序列号是 2D97-AD94 E:\111\xmt 的目录 2022/04/29 16:25 . 2022/04/29 16:25 .. 2022/04/29 14:50 .idea 2021/06/25 17:51 2,872 Autobuild.bat 2022/04/29 16:12 build 2022/04/24 19:10 ca 2022/04/24 19:11 config 2022/04/29 16:25 dist 2021/01/27 18:43 1,978 license.txt 2022/04/24 19:10 log 2022/04/24 19:10 order 2020/06/11 13:35 633 README.txt 2022/04/29 16:13 src 2022/04/24 19:12 targets 2022/04/29 16:25 test 2022/04/24 22:20 venv 2021/08/13 14:19 25 xmt.ini 2022/04/24 19:14 7,122 xmt.nsi 5 个文件 12,630 字节 13 个目录 323,485,020,160 可用字节 (venv) E:\111\xmt>Autobuild.bat distclean (venv) E:\111\xmt>Autobuild.bat Router_Common_GM1000 复制了 1 个文件 目标 E:\111\xmt\release\config\GM1000 是文件名 还是目录名 (F = 文件,D = 目录)? d 复制了 8 个文件 目标 E:\111\xmt\src\security\ca.py 是文件名 还是目录名 (F = 文件,D = 目录)? f 复制了 1 个文件 186 INFO: PyInstaller: 5.0.1 186 INFO: Python: 3.9.12 214 INFO: Platform: Windows-10-10.0.19044-SP0 216 INFO: UPX is not available. 216 INFO: Removing temporary files and cleaning cache in C:\Users\Administrator\AppData\Local\pyinstaller 248 INFO: Extending PYTHONPATH with paths ['E:\\111\\xmt\\src', 'E:\\111\\xmt\\src'] 3243 INFO: checking Analysis 3243 INFO: Building Analysis because Analysis-00.toc is non existent 3244 INFO: Initializing module dependency graph... 3247 INFO: Caching module graph hooks... 3260 INFO: Analyzing base_library.zip ... 5143 INFO: Processing pre-find module path hook distutils from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'. 5144 INFO: distutils: retargeting to non-venv dir 'D:\\program\\python39\\lib' 7441 INFO: Caching module dependency graph... 7598 INFO: running Analysis Analysis-00.toc 7599 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable required by D:\program\python39\python.exe 7654 INFO: Analyzing E:\111\xmt\src\main.py 9953 INFO: Processing pre-find module path hook site from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-site.py'. 9953 INFO: site: retargeting to fake-dir 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\fake-modules' 9956 INFO: Processing pre-safe import module hook win32com from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\pre_safe_import_module\\hook-win32com.py'. 12716 INFO: Analyzing hidden import 'pysnmp.smi.exval' 12717 INFO: Analyzing hidden import 'pysnmp.cache' 12719 INFO: Processing module hooks... 12719 INFO: Loading module hook 'hook-Cryptodome.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 13275 INFO: Loading module hook 'hook-lxml.etree.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 13276 INFO: Loading module hook 'hook-lxml.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 13621 INFO: Loading module hook 'hook-pysnmp.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 14234 INFO: Loading module hook 'hook-pythoncom.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 17087 INFO: Loading module hook 'hook-pywintypes.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 19981 INFO: Loading module hook 'hook-win32com.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 20402 INFO: Loading module hook 'hook-difflib.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20404 INFO: Loading module hook 'hook-distutils.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20405 INFO: Loading module hook 'hook-distutils.util.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20406 INFO: Loading module hook 'hook-encodings.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20510 INFO: Loading module hook 'hook-heapq.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20512 INFO: Loading module hook 'hook-lib2to3.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20549 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20551 INFO: Loading module hook 'hook-pickle.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20553 INFO: Loading module hook 'hook-sysconfig.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20553 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20554 INFO: Loading module hook 'hook-xml.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20554 INFO: Loading module hook 'hook-_tkinter.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20753 INFO: checking Tree 20754 INFO: Building Tree because Tree-00.toc is non existent 20754 INFO: Building Tree Tree-00.toc 20804 INFO: checking Tree 20804 INFO: Building Tree because Tree-01.toc is non existent 20805 INFO: Building Tree Tree-01.toc 20914 INFO: checking Tree 20914 INFO: Building Tree because Tree-02.toc is non existent 20915 INFO: Building Tree Tree-02.toc 20919 INFO: Loading module hook 'hook-lxml.isoschematron.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 20928 INFO: Loading module hook 'hook-lxml.objectify.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 20951 INFO: Looking for ctypes DLLs 20961 WARNING: Ignoring native\dn161a.dll imported from E:\111\xmt\src\utils\voicecard.py - only basenames are supported with ctypes imports! 20964 INFO: Analyzing run-time hooks ... 20968 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_subprocess.py' 20969 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py' 20972 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py' 20974 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py' 20976 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_win32comgenpy.py' 20978 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_win32api.py' 20978 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth__tkinter.py' 20986 INFO: Looking for dynamic libraries 24951 INFO: Looking for eggs 24951 INFO: Using Python library D:\program\python39\python39.dll 24952 INFO: Found binding redirects: [] 24956 INFO: Warnings written to E:\111\xmt\build\xmt\warn-xmt.txt 25027 INFO: Graph cross-reference written to E:\111\xmt\build\xmt\xref-xmt.html 25057 INFO: checking Tree 25057 INFO: Building Tree because Tree-03.toc is non existent 25058 INFO: Building Tree Tree-03.toc 25065 INFO: checking PYZ 25066 INFO: Building PYZ because PYZ-00.toc is non existent 25066 INFO: Building PYZ (ZlibArchive) E:\111\xmt\build\xmt\PYZ-00.pyz 25902 INFO: Building PYZ (ZlibArchive) E:\111\xmt\build\xmt\PYZ-00.pyz completed successfully. 25916 INFO: checking PKG 25916 INFO: Building PKG because PKG-00.toc is non existent 25916 INFO: Building PKG (CArchive) xmt.pkg 30454 INFO: Building PKG (CArchive) xmt.pkg completed successfully. 30472 INFO: Bootloader E:\111\xmt\venv\lib\site-packages\PyInstaller\bootloader\Windows-64bit\runw.exe 30472 INFO: checking EXE 30472 INFO: Building EXE because EXE-00.toc is non existent 30473 INFO: Building EXE from EXE-00.toc 30473 INFO: Copying bootloader EXE to E:\111\xmt\dist\xmt.exe.notanexecutable 30477 INFO: Copying icon to EXE 30477 INFO: Copying icons from ['E:\\111\\xmt\\src\\xmt.ico'] 30478 INFO: Writing RT_GROUP_ICON 0 resource with 174 bytes 30478 INFO: Writing RT_ICON 1 resource with 1640 bytes 30479 INFO: Writing RT_ICON 2 resource with 744 bytes 30479 INFO: Writing RT_ICON 3 resource with 296 bytes 30479 INFO: Writing RT_ICON 4 resource with 3752 bytes 30480 INFO: Writing RT_ICON 5 resource with 2216 bytes 30480 INFO: Writing RT_ICON 6 resource with 1384 bytes 30480 INFO: Writing RT_ICON 7 resource with 67624 bytes 30481 INFO: Writing RT_ICON 8 resource with 16936 bytes 30481 INFO: Writing RT_ICON 9 resource with 9640 bytes 30481 INFO: Writing RT_ICON 10 resource with 4264 bytes 30482 INFO: Writing RT_ICON 11 resource with 2440 bytes 30482 INFO: Writing RT_ICON 12 resource with 1128 bytes 30484 INFO: Copying 0 resources to EXE 30485 INFO: Embedding manifest in EXE 30485 INFO: Updating manifest in E:\111\xmt\dist\xmt.exe.notanexecutable 30486 INFO: Updating resource type 24 name 1 language 0 30488 INFO: Appending PKG archive to EXE 34684 INFO: Building EXE from EXE-00.toc completed successfully. 复制了 1 个文件 复制了 1 个文件 复制了 5 个文件 MakeNSIS v2.45 - 版权所有 1995-2009 所有贡献者 查看文件 COPYING 获取许可信息的细节. 荣誉可在用户手册中查找到. 命令行已经定义: "RELEASE_DIR=E:\111\xmt\release" 命令行已经定义: "PRODUCT_OPERATION=set" 命令行已经定义: "PACKAGE_NAME=GM1000通用路由器_设置工具" 命令行已经定义: "PRODUCT_VERSION=1.1.0.22" 正在处理配置: 处理 dll 插件: "D:\program\NSIS\Plugins\*.dll" - AdvSplash::show - Banner::destroy - Banner::getWindow - Banner::show - BgImage::AddImage - BgImage::AddText - BgImage::Clear - BgImage::Destroy - BgImage::Redraw - BgImage::SetBg - BgImage::SetReturn - BgImage::Sound - BrandingURL::Set - BrandingURL::Unload - ButtonEvent::AddEventHandler - ButtonEvent::Unload - ButtonEvent::UnsetEventHandler - ButtonEvent::WhichButtonId - ButtonLinker::AddEventHandler - ButtonLinker::CreateLinker - ButtonLinker::Unload - ButtonLinker::UnsetEventHandler - ButtonLinker::WhichButtonId - Delay::DelayButton - Delay::Free - Dialer::AttemptConnect - Dialer::AutodialHangup - Dialer::AutodialOnline - Dialer::AutodialUnattended - Dialer::GetConnectedState - FlashLib::FlashBack - FlashLib::FlashCurrentFrame - FlashLib::FlashForward - FlashLib::FlashGetLoop - FlashLib::FlashGetMenu - FlashLib::FlashGetReadyState - FlashLib::FlashGetStandardMenu - FlashLib::FlashGetTotalFrames - FlashLib::FlashGetVariableA - FlashLib::FlashGotoFrame - FlashLib::FlashIsPlaying - FlashLib::FlashLibFree - FlashLib::FlashLibInit - FlashLib::FlashLoadMovie - FlashLib::FlashPlay - FlashLib::FlashPutLoop - FlashLib::FlashPutMenu - FlashLib::FlashPutStandardMenu - FlashLib::FlashRewind - FlashLib::FlashSetVariableA - FlashLib::FlashStop - FlashLib::FlashStopPlay - FlashLib::FlashZoom - GetVersion::WindowsName - GetVersion::WindowsPlatformArchitecture - GetVersion::WindowsPlatformId - GetVersion::WindowsServerName - GetVersion::WindowsServicePack - GetVersion::WindowsServicePackBuild - GetVersion::WindowsType - GetVersion::WindowsVersion - InstallOptions::dialog - InstallOptions::initDialog - InstallOptions::show - LangDLL::LangDialog - Math::Script - NSISdl::download - NSISdl::download_quiet - NotifyIcon::Icon - OnTop::OffTop - OnTop::OnTop - SelfDel::del - Splash::show - StartMenu::Init - StartMenu::Select - StartMenu::Show - StrList::Add - StrList::DelByPos - StrList::Delete - StrList::EnumName - StrList::EnumValue - StrList::Find - StrList::Free - StrList::GetNum - System::Alloc - System::Call - System::Copy - System::Free - System::Get - System::Int64Op - System::Store - ToolTips::Author - ToolTips::Classic - ToolTips::Modern - TypeLib::GetLibVersion - TypeLib::Register - TypeLib::UnRegister - UAC::Exec - UAC::ExecCodeSegment - UAC::ExecWait - UAC::GetElevationType - UAC::GetOuterHwnd - UAC::GetShellFolderPath - UAC::IsAdmin - UAC::RunElevated - UAC::ShellExec - UAC::ShellExecWait - UAC::StackPush - UAC::SupportsUAC - UAC::Unload - UserInfo::GetAccountType - UserInfo::GetName - UserInfo::GetOriginalAccountType - VPatch::GetFileCRC32 - VPatch::GetFileMD5 - VPatch::vpatchfile - ZipDLL::extractall - ZipDLL::extractfile - firectrl::disablefire - firectrl::enablefire - linker::Link - linker::Unload - md5dll::GetFileMD5 - md5dll::GetMD5 - md5dll::GetMD5File - md5dll::GetMD5Random - md5dll::GetMD5String - newadvsplash::hwnd - newadvsplash::play - newadvsplash::show - newadvsplash::stop - nsDialogs::Create - nsDialogs::CreateControl - nsDialogs::CreateItem - nsDialogs::CreateTimer - nsDialogs::GetUserData - nsDialogs::KillTimer - nsDialogs::OnBack - nsDialogs::OnChange - nsDialogs::OnClick - nsDialogs::OnNotify - nsDialogs::SelectFileDialog - nsDialogs::SelectFolderDialog - nsDialogs::SetRTL - nsDialogs::SetUserData - nsDialogs::Show - nsExec::Exec - nsExec::ExecToLog - nsExec::ExecToStack - nsProcess::_FindProcess - nsProcess::_KillProcess - nsProcess::_Unload - nsWeb::IsInet - nsWeb::ShowHTMLInPage - nsWeb::ShowWebInPage - nsWeb::ShowWebInPopUp - nsWindows::Create - nsWindows::CreateControl - nsWindows::CreateItem - nsWindows::CreateTimer - nsWindows::GetUserData - nsWindows::KillTimer - nsWindows::OnBack - nsWindows::OnChange - nsWindows::OnClick - nsWindows::OnNotify - nsWindows::SelectFileDialog - nsWindows::SelectFolderDialog - nsWindows::SetRTL - nsWindows::SetTransparent - nsWindows::SetUserData - nsWindows::Show - nsWindows::onDropFiles - waterctrl::disablewater - waterctrl::enablewater - waterctrl::flattenwater - waterctrl::setwaterparent - waterctrl::waterblob !define: "MUI_INSERT_NSISCONF"="" 切换目录: "E:\111\xmt" 处理脚本文件: "E:\111\xmt\xmt.nsi" !include: "Utf8Converter.nsh" 未找到 脚本 "E:\111\xmt\xmt.nsi" 出现错误在第 3 行 -- 终止脚本处理 MakeNSIS v2.45 - 版权所有 1995-2009 所有贡献者 查看文件 COPYING 获取许可信息的细节. 荣誉可在用户手册中查找到. 命令行已经定义: "RELEASE_DIR=E:\111\xmt\release" 命令行已经定义: "PRODUCT_OPERATION=check" 命令行已经定义: "PACKAGE_NAME=GM1000通用路由器_检测工具" 命令行已经定义: "PRODUCT_VERSION=1.1.0.22" 正在处理配置: 处理 dll 插件: "D:\program\NSIS\Plugins\*.dll" - AdvSplash::show - Banner::destroy - Banner::getWindow - Banner::show - BgImage::AddImage - BgImage::AddText - BgImage::Clear - BgImage::Destroy - BgImage::Redraw - BgImage::SetBg - BgImage::SetReturn - BgImage::Sound - BrandingURL::Set - BrandingURL::Unload - ButtonEvent::AddEventHandler - ButtonEvent::Unload - ButtonEvent::UnsetEventHandler - ButtonEvent::WhichButtonId - ButtonLinker::AddEventHandler - ButtonLinker::CreateLinker - ButtonLinker::Unload - ButtonLinker::UnsetEventHandler - ButtonLinker::WhichButtonId - Delay::DelayButton - Delay::Free - Dialer::AttemptConnect - Dialer::AutodialHangup - Dialer::AutodialOnline - Dialer::AutodialUnattended - Dialer::GetConnectedState - FlashLib::FlashBack - FlashLib::FlashCurrentFrame - FlashLib::FlashForward - FlashLib::FlashGetLoop - FlashLib::FlashGetMenu - FlashLib::FlashGetReadyState - FlashLib::FlashGetStandardMenu - FlashLib::FlashGetTotalFrames - FlashLib::FlashGetVariableA - FlashLib::FlashGotoFrame - FlashLib::FlashIsPlaying - FlashLib::FlashLibFree - FlashLib::FlashLibInit - FlashLib::FlashLoadMovie - FlashLib::FlashPlay - FlashLib::FlashPutLoop - FlashLib::FlashPutMenu - FlashLib::FlashPutStandardMenu - FlashLib::FlashRewind - FlashLib::FlashSetVariableA - FlashLib::FlashStop - FlashLib::FlashStopPlay - FlashLib::FlashZoom - GetVersion::WindowsName - GetVersion::WindowsPlatformArchitecture - GetVersion::WindowsPlatformId - GetVersion::WindowsServerName - GetVersion::WindowsServicePack - GetVersion::WindowsServicePackBuild - GetVersion::WindowsType - GetVersion::WindowsVersion - InstallOptions::dialog - InstallOptions::initDialog - InstallOptions::show - LangDLL::LangDialog - Math::Script - NSISdl::download - NSISdl::download_quiet - NotifyIcon::Icon - OnTop::OffTop - OnTop::OnTop - SelfDel::del - Splash::show - StartMenu::Init - StartMenu::Select - StartMenu::Show - StrList::Add - StrList::DelByPos - StrList::Delete - StrList::EnumName - StrList::EnumValue - StrList::Find - StrList::Free - StrList::GetNum - System::Alloc - System::Call - System::Copy - System::Free - System::Get - System::Int64Op - System::Store - ToolTips::Author - ToolTips::Classic - ToolTips::Modern - TypeLib::GetLibVersion - TypeLib::Register - TypeLib::UnRegister - UAC::Exec - UAC::ExecCodeSegment - UAC::ExecWait - UAC::GetElevationType - UAC::GetOuterHwnd - UAC::GetShellFolderPath - UAC::IsAdmin - UAC::RunElevated - UAC::ShellExec - UAC::ShellExecWait - UAC::StackPush - UAC::SupportsUAC - UAC::Unload - UserInfo::GetAccountType - UserInfo::GetName - UserInfo::GetOriginalAccountType - VPatch::GetFileCRC32 - VPatch::GetFileMD5 - VPatch::vpatchfile - ZipDLL::extractall - ZipDLL::extractfile - firectrl::disablefire - firectrl::enablefire - linker::Link - linker::Unload - md5dll::GetFileMD5 - md5dll::GetMD5 - md5dll::GetMD5File - md5dll::GetMD5Random - md5dll::GetMD5String - newadvsplash::hwnd - newadvsplash::play - newadvsplash::show - newadvsplash::stop - nsDialogs::Create - nsDialogs::CreateControl - nsDialogs::CreateItem - nsDialogs::CreateTimer - nsDialogs::GetUserData - nsDialogs::KillTimer - nsDialogs::OnBack - nsDialogs::OnChange - nsDialogs::OnClick - nsDialogs::OnNotify - nsDialogs::SelectFileDialog - nsDialogs::SelectFolderDialog - nsDialogs::SetRTL - nsDialogs::SetUserData - nsDialogs::Show - nsExec::Exec - nsExec::ExecToLog - nsExec::ExecToStack - nsProcess::_FindProcess - nsProcess::_KillProcess - nsProcess::_Unload - nsWeb::IsInet - nsWeb::ShowHTMLInPage - nsWeb::ShowWebInPage - nsWeb::ShowWebInPopUp - nsWindows::Create - nsWindows::CreateControl - nsWindows::CreateItem - nsWindows::CreateTimer - nsWindows::GetUserData - nsWindows::KillTimer - nsWindows::OnBack - nsWindows::OnChange - nsWindows::OnClick - nsWindows::OnNotify - nsWindows::SelectFileDialog - nsWindows::SelectFolderDialog - nsWindows::SetRTL - nsWindows::SetTransparent - nsWindows::SetUserData - nsWindows::Show - nsWindows::onDropFiles - waterctrl::disablewater - waterctrl::enablewater - waterctrl::flattenwater - waterctrl::setwaterparent - waterctrl::waterblob !define: "MUI_INSERT_NSISCONF"="" 切换目录: "E:\111\xmt" 处理脚本文件: "E:\111\xmt\xmt.nsi" !include: "Utf8Converter.nsh" 未找到 脚本 "E:\111\xmt\xmt.nsi" 出现错误在第 3 行 -- 终止脚本处理 (venv) E:\111\xmt>Autobuild.bat Router_Common_GM1000 复制了 1 个文件 目标 E:\111\xmt\release\config\GM1000 是文件名 还是目录名 (F = 文件,D = 目录)? d 复制了 8 个文件 复制了 1 个文件 186 INFO: PyInstaller: 5.0.1 187 INFO: Python: 3.9.12 217 INFO: Platform: Windows-10-10.0.19044-SP0 219 INFO: UPX is not available. 220 INFO: Removing temporary files and cleaning cache in C:\Users\Administrator\AppData\Local\pyinstaller 257 INFO: Extending PYTHONPATH with paths ['E:\\111\\xmt\\src', 'E:\\111\\xmt\\src'] 3181 INFO: checking Analysis 3181 INFO: Building Analysis because Analysis-00.toc is non existent 3182 INFO: Initializing module dependency graph... 3186 INFO: Caching module graph hooks... 3199 INFO: Analyzing base_library.zip ... 5411 INFO: Processing pre-find module path hook distutils from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'. 5411 INFO: distutils: retargeting to non-venv dir 'D:\\program\\python39\\lib' 7393 INFO: Caching module dependency graph... 7553 INFO: running Analysis Analysis-00.toc 7555 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable required by D:\program\python39\python.exe 7612 INFO: Analyzing E:\111\xmt\src\main.py 9944 INFO: Processing pre-find module path hook site from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-site.py'. 9944 INFO: site: retargeting to fake-dir 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\fake-modules' 9948 INFO: Processing pre-safe import module hook win32com from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\pre_safe_import_module\\hook-win32com.py'. 12701 INFO: Analyzing hidden import 'pysnmp.smi.exval' 12702 INFO: Analyzing hidden import 'pysnmp.cache' 12704 INFO: Processing module hooks... 12704 INFO: Loading module hook 'hook-Cryptodome.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 13270 INFO: Loading module hook 'hook-lxml.etree.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 13270 INFO: Loading module hook 'hook-lxml.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 13617 INFO: Loading module hook 'hook-pysnmp.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 14245 INFO: Loading module hook 'hook-pythoncom.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 17103 INFO: Loading module hook 'hook-pywintypes.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 20034 INFO: Loading module hook 'hook-win32com.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 20458 INFO: Loading module hook 'hook-difflib.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20459 INFO: Loading module hook 'hook-distutils.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20460 INFO: Loading module hook 'hook-distutils.util.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20462 INFO: Loading module hook 'hook-encodings.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20566 INFO: Loading module hook 'hook-heapq.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20568 INFO: Loading module hook 'hook-lib2to3.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20607 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20608 INFO: Loading module hook 'hook-pickle.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20610 INFO: Loading module hook 'hook-sysconfig.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20610 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20611 INFO: Loading module hook 'hook-xml.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20611 INFO: Loading module hook 'hook-_tkinter.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks'... 20809 INFO: checking Tree 20809 INFO: Building Tree because Tree-00.toc is non existent 20810 INFO: Building Tree Tree-00.toc 20860 INFO: checking Tree 20860 INFO: Building Tree because Tree-01.toc is non existent 20861 INFO: Building Tree Tree-01.toc 20970 INFO: checking Tree 20970 INFO: Building Tree because Tree-02.toc is non existent 20971 INFO: Building Tree Tree-02.toc 20975 INFO: Loading module hook 'hook-lxml.isoschematron.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 20983 INFO: Loading module hook 'hook-lxml.objectify.py' from 'E:\\111\\xmt\\venv\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'... 21008 INFO: Looking for ctypes DLLs 21018 WARNING: Ignoring native\dn161a.dll imported from E:\111\xmt\src\utils\voicecard.py - only basenames are supported with ctypes imports! 21022 INFO: Analyzing run-time hooks ... 21025 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_subprocess.py' 21027 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py' 21029 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py' 21032 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py' 21035 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_win32comgenpy.py' 21036 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_win32api.py' 21037 INFO: Including run-time hook 'E:\\111\\xmt\\venv\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth__tkinter.py' 21044 INFO: Looking for dynamic libraries 24993 INFO: Looking for eggs 24993 INFO: Using Python library D:\program\python39\python39.dll 24994 INFO: Found binding redirects: [] 24999 INFO: Warnings written to E:\111\xmt\build\xmt\warn-xmt.txt 25068 INFO: Graph cross-reference written to E:\111\xmt\build\xmt\xref-xmt.html 25096 INFO: checking Tree 25096 INFO: Building Tree because Tree-03.toc is non existent 25096 INFO: Building Tree Tree-03.toc 25104 INFO: checking PYZ 25104 INFO: Building PYZ because PYZ-00.toc is non existent 25105 INFO: Building PYZ (ZlibArchive) E:\111\xmt\build\xmt\PYZ-00.pyz 25945 INFO: Building PYZ (ZlibArchive) E:\111\xmt\build\xmt\PYZ-00.pyz completed successfully. 25959 INFO: checking PKG 25959 INFO: Building PKG because PKG-00.toc is non existent 25960 INFO: Building PKG (CArchive) xmt.pkg 30511 INFO: Building PKG (CArchive) xmt.pkg completed successfully. 30528 INFO: Bootloader E:\111\xmt\venv\lib\site-packages\PyInstaller\bootloader\Windows-64bit\runw.exe 30528 INFO: checking EXE 30529 INFO: Building EXE because EXE-00.toc is non existent 30529 INFO: Building EXE from EXE-00.toc 30530 INFO: Copying bootloader EXE to E:\111\xmt\dist\xmt.exe.notanexecutable 30534 INFO: Copying icon to EXE 30534 INFO: Copying icons from ['E:\\111\\xmt\\src\\xmt.ico'] 30535 INFO: Writing RT_GROUP_ICON 0 resource with 174 bytes 30535 INFO: Writing RT_ICON 1 resource with 1640 bytes 30535 INFO: Writing RT_ICON 2 resource with 744 bytes 30535 INFO: Writing RT_ICON 3 resource with 296 bytes 30536 INFO: Writing RT_ICON 4 resource with 3752 bytes 30536 INFO: Writing RT_ICON 5 resource with 2216 bytes 30536 INFO: Writing RT_ICON 6 resource with 1384 bytes 30537 INFO: Writing RT_ICON 7 resource with 67624 bytes 30537 INFO: Writing RT_ICON 8 resource with 16936 bytes 30537 INFO: Writing RT_ICON 9 resource with 9640 bytes 30538 INFO: Writing RT_ICON 10 resource with 4264 bytes 30538 INFO: Writing RT_ICON 11 resource with 2440 bytes 30538 INFO: Writing RT_ICON 12 resource with 1128 bytes 30541 INFO: Copying 0 resources to EXE 30541 INFO: Embedding manifest in EXE 30542 INFO: Updating manifest in E:\111\xmt\dist\xmt.exe.notanexecutable 30542 INFO: Updating resource type 24 name 1 language 0 30544 INFO: Appending PKG archive to EXE 34736 INFO: Building EXE from EXE-00.toc completed successfully. 复制了 1 个文件 复制了 1 个文件 复制了 5 个文件 MakeNSIS v2.45 - 版权所有 1995-2009 所有贡献者 查看文件 COPYING 获取许可信息的细节. 荣誉可在用户手册中查找到. 命令行已经定义: "RELEASE_DIR=E:\111\xmt\release" 命令行已经定义: "PRODUCT_OPERATION=set" 命令行已经定义: "PACKAGE_NAME=GM1000通用路由器_设置工具" 命令行已经定义: "PRODUCT_VERSION=1.1.0.22" 正在处理配置: 处理 dll 插件: "D:\program\NSIS\Plugins\*.dll" - AdvSplash::show - Banner::destroy - Banner::getWindow - Banner::show - BgImage::AddImage - BgImage::AddText - BgImage::Clear - BgImage::Destroy - BgImage::Redraw - BgImage::SetBg - BgImage::SetReturn - BgImage::Sound - BrandingURL::Set - BrandingURL::Unload - ButtonEvent::AddEventHandler - ButtonEvent::Unload - ButtonEvent::UnsetEventHandler - ButtonEvent::WhichButtonId - ButtonLinker::AddEventHandler - ButtonLinker::CreateLinker - ButtonLinker::Unload - ButtonLinker::UnsetEventHandler - ButtonLinker::WhichButtonId - Delay::DelayButton - Delay::Free - Dialer::AttemptConnect - Dialer::AutodialHangup - Dialer::AutodialOnline - Dialer::AutodialUnattended - Dialer::GetConnectedState - FlashLib::FlashBack - FlashLib::FlashCurrentFrame - FlashLib::FlashForward - FlashLib::FlashGetLoop - FlashLib::FlashGetMenu - FlashLib::FlashGetReadyState - FlashLib::FlashGetStandardMenu - FlashLib::FlashGetTotalFrames - FlashLib::FlashGetVariableA - FlashLib::FlashGotoFrame - FlashLib::FlashIsPlaying - FlashLib::FlashLibFree - FlashLib::FlashLibInit - FlashLib::FlashLoadMovie - FlashLib::FlashPlay - FlashLib::FlashPutLoop - FlashLib::FlashPutMenu - FlashLib::FlashPutStandardMenu - FlashLib::FlashRewind - FlashLib::FlashSetVariableA - FlashLib::FlashStop - FlashLib::FlashStopPlay - FlashLib::FlashZoom - GetVersion::WindowsName - GetVersion::WindowsPlatformArchitecture - GetVersion::WindowsPlatformId - GetVersion::WindowsServerName - GetVersion::WindowsServicePack - GetVersion::WindowsServicePackBuild - GetVersion::WindowsType - GetVersion::WindowsVersion - InstallOptions::dialog - InstallOptions::initDialog - InstallOptions::show - LangDLL::LangDialog - Math::Script - NSISdl::download - NSISdl::download_quiet - NotifyIcon::Icon - OnTop::OffTop - OnTop::OnTop - SelfDel::del - Splash::show - StartMenu::Init - StartMenu::Select - StartMenu::Show - StrList::Add - StrList::DelByPos - StrList::Delete - StrList::EnumName - StrList::EnumValue - StrList::Find - StrList::Free - StrList::GetNum - System::Alloc - System::Call - System::Copy - System::Free - System::Get - System::Int64Op - System::Store - ToolTips::Author - ToolTips::Classic - ToolTips::Modern - TypeLib::GetLibVersion - TypeLib::Register - TypeLib::UnRegister - UAC::Exec - UAC::ExecCodeSegment - UAC::ExecWait - UAC::GetElevationType - UAC::GetOuterHwnd - UAC::GetShellFolderPath - UAC::IsAdmin - UAC::RunElevated - UAC::ShellExec - UAC::ShellExecWait - UAC::StackPush - UAC::SupportsUAC - UAC::Unload - UserInfo::GetAccountType - UserInfo::GetName - UserInfo::GetOriginalAccountType - VPatch::GetFileCRC32 - VPatch::GetFileMD5 - VPatch::vpatchfile - ZipDLL::extractall - ZipDLL::extractfile - firectrl::disablefire - firectrl::enablefire - linker::Link - linker::Unload - md5dll::GetFileMD5 - md5dll::GetMD5 - md5dll::GetMD5File - md5dll::GetMD5Random - md5dll::GetMD5String - newadvsplash::hwnd - newadvsplash::play - newadvsplash::show - newadvsplash::stop - nsDialogs::Create - nsDialogs::CreateControl - nsDialogs::CreateItem - nsDialogs::CreateTimer - nsDialogs::GetUserData - nsDialogs::KillTimer - nsDialogs::OnBack - nsDialogs::OnChange - nsDialogs::OnClick - nsDialogs::OnNotify - nsDialogs::SelectFileDialog - nsDialogs::SelectFolderDialog - nsDialogs::SetRTL - nsDialogs::SetUserData - nsDialogs::Show - nsExec::Exec - nsExec::ExecToLog - nsExec::ExecToStack - nsProcess::_FindProcess - nsProcess::_KillProcess - nsProcess::_Unload - nsWeb::IsInet - nsWeb::ShowHTMLInPage - nsWeb::ShowWebInPage - nsWeb::ShowWebInPopUp - nsWindows::Create - nsWindows::CreateControl - nsWindows::CreateItem - nsWindows::CreateTimer - nsWindows::GetUserData - nsWindows::KillTimer - nsWindows::OnBack - nsWindows::OnChange - nsWindows::OnClick - nsWindows::OnNotify - nsWindows::SelectFileDialog - nsWindows::SelectFolderDialog - nsWindows::SetRTL - nsWindows::SetTransparent - nsWindows::SetUserData - nsWindows::Show - nsWindows::onDropFiles - waterctrl::disablewater - waterctrl::enablewater - waterctrl::flattenwater - waterctrl::setwaterparent - waterctrl::waterblob !define: "MUI_INSERT_NSISCONF"="" 切换目录: "E:\111\xmt" 处理脚本文件: "E:\111\xmt\xmt.nsi" !include: "D:\program\NSIS\Include\Utf8Converter.nsh" !define: "___ANSITOUTF8_NSH___"="" !include: "D:\program\NSIS\Include\LogicLib.nsh" !include: "D:\program\NSIS\Include\LogicLib.nsh" 已关闭 !define: "AnsiToUtf8"="!insertmacro AnsiToUtf8Macro" !define: "Utf8ToAnsi"="!insertmacro Utf8ToAnsiMacro" !include: "D:\program\NSIS\Include\Utf8Converter.nsh" 已关闭 !define: "PRODUCT_NAME"="XMT" !define: "PRODUCT_PUBLISHER"="Linkdeep" !define: "PRODUCT_WEB_SITE"="http://www.gs-link.cn" !define: "PRODUCT_DIR_REGKEY"="Software\Microsoft\Windows\CurrentVersion\App Paths\xmt.exe" !define: "PRODUCT_UNINST_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT" !define: "PRODUCT_UNINST_ROOT_KEY"="HKLM" SetCompressor: lzma CRCCheck: force !include: "D:\program\NSIS\Include\MUI.nsh" !include: "D:\program\NSIS\Contrib\Modern UI\System.nsh" NSIS Modern User Interface version 1.8 - Copyright 2002-2009 Joost Verburg (D:\program\NSIS\Contrib\Modern UI\System.nsh:8) !define: "MUI_INCLUDED"="" !define: "MUI_SYSVERSION"="1.8" !define: "MUI_VERBOSE"="3" !include: "D:\program\NSIS\Contrib\Modern UI\System.nsh" 已关闭 !include: "D:\program\NSIS\Include\MUI.nsh" 已关闭 !include: "D:\program\NSIS\Include\FileFunc.nsh" !define: "FILEFUNC_INCLUDED"="" !include: "D:\program\NSIS\Include\Util.nsh" !include: "D:\program\NSIS\Include\Util.nsh" 已关闭 !define: "Locate"="!insertmacro LocateCall" !define: "un.Locate"="!insertmacro LocateCall" !define: "GetSize"="!insertmacro GetSizeCall" !define: "un.GetSize"="!insertmacro GetSizeCall" !define: "DriveSpace"="!insertmacro DriveSpaceCall" !define: "un.DriveSpace"="!insertmacro DriveSpaceCall" !define: "GetDrives"="!insertmacro GetDrivesCall" !define: "un.GetDrives"="!insertmacro GetDrivesCall" !define: "GetTime"="!insertmacro GetTimeCall" !define: "un.GetTime"="!insertmacro GetTimeCall" !define: "GetFileAttributes"="!insertmacro GetFileAttributesCall" !define: "un.GetFileAttributes"="!insertmacro GetFileAttributesCall" !define: "GetFileVersion"="!insertmacro GetFileVersionCall" !define: "un.GetFileVersion"="!insertmacro GetFileVersionCall" !define: "GetExeName"="!insertmacro GetExeNameCall" !define: "un.GetExeName"="!insertmacro GetExeNameCall" !define: "GetExePath"="!insertmacro GetExePathCall" !define: "un.GetExePath"="!insertmacro GetExePathCall" !define: "GetParameters"="!insertmacro GetParametersCall" !define: "un.GetParameters"="!insertmacro GetParametersCall" !define: "GetOptions"="!insertmacro GetOptionsCall" !define: "un.GetOptions"="!insertmacro GetOptionsCall" !define: "GetOptionsS"="!insertmacro GetOptionsSCall" !define: "un.GetOptionsS"="!insertmacro GetOptionsSCall" !define: "GetRoot"="!insertmacro GetRootCall" !define: "un.GetRoot"="!insertmacro GetRootCall" !define: "GetParent"="!insertmacro GetParentCall" !define: "un.GetParent"="!insertmacro GetParentCall" !define: "GetFileName"="!insertmacro GetFileNameCall" !define: "un.GetFileName"="!insertmacro GetFileNameCall" !define: "GetBaseName"="!insertmacro GetBaseNameCall" !define: "un.GetBaseName"="!insertmacro GetBaseNameCall" !define: "GetFileExt"="!insertmacro GetFileExtCall" !define: "un.GetFileExt"="!insertmacro GetFileExtCall" !define: "BannerTrimPath"="!insertmacro BannerTrimPathCall" !define: "un.BannerTrimPath"="!insertmacro BannerTrimPathCall" !define: "DirState"="!insertmacro DirStateCall" !define: "un.DirState"="!insertmacro DirStateCall" !define: "RefreshShellIcons"="!insertmacro RefreshShellIconsCall" !define: "un.RefreshShellIcons"="!insertmacro RefreshShellIconsCall" !include: "D:\program\NSIS\Include\FileFunc.nsh" 已关闭 !define: "MUI_ABORTWARNING"="" !define: "MUI_ICON"="D:\program\NSIS\Contrib\Graphics\Icons\modern-install.ico" !define: "MUI_UNICON"="D:\program\NSIS\Contrib\Graphics\Icons\modern-uninstall.ico" !define: "MUI_LANGDLL_REGISTRY_ROOT"="HKLM" !define: "MUI_LANGDLL_REGISTRY_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT" !define: "MUI_LANGDLL_REGISTRY_VALUENAME"="NSIS:Language" !insertmacro: MUI_PAGE_WELCOME !insertmacro: MUI_PAGE_WELCOME 结束 !define: "MUI_LICENSEPAGE_CHECKBOX"="" !insertmacro: MUI_PAGE_LICENSE !insertmacro: MUI_PAGE_LICENSE 结束 !insertmacro: MUI_PAGE_DIRECTORY !insertmacro: MUI_PAGE_DIRECTORY 结束 !insertmacro: MUI_PAGE_INSTFILES !insertmacro: MUI_PAGE_INSTFILES 结束 !insertmacro: MUI_PAGE_FINISH !insertmacro: MUI_PAGE_FINISH 结束 !insertmacro: MUI_UNPAGE_INSTFILES !insertmacro: MUI_UNPAGE_INSTFILES 结束 !insertmacro: MUI_LANGUAGE !insertmacro: MUI_LANGUAGE 结束 !insertmacro: MUI_LANGUAGE !insertmacro: MUI_LANGUAGE 结束 !insertmacro: MUI_RESERVEFILE_LANGDLL !insertmacro: MUI_RESERVEFILE_LANGDLL 结束 !insertmacro: MUI_RESERVEFILE_INSTALLOPTIONS !insertmacro: MUI_RESERVEFILE_INSTALLOPTIONS 结束 Name: "XMT 1.1.0.22" OutFile: "Setup.exe" InstallDir: "$PROGRAMFILES\XMT" InstallRegKey: "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\UninstallString" ShowInstDetails: show ShowUnInstDetails: show BrandingText: " " Section: "MainSection" ->(SEC01) SetOutPath: "$INSTDIR" SetOverwrite: ifnewer RMDir: /r "$INSTDIR\native" RMDir: /r "$INSTDIR\config" File: "xmt.exe" [compress] 19284360/19597566 字节 File: "xmt.ini" [compress] 24 字节 File: "license.txt" [compress] 1279/1978 字节 CreateDirectory: "$INSTDIR\log" CreateDirectory: "$INSTDIR\ca" CreateDirectory: "$INSTDIR\config" CreateDirectory: "$INSTDIR\order" SetOutPath: "$INSTDIR\ca" File: "CableLabs_Service_Provider_Root_CA.cer" [compress] 770/875 字节 File: "DOCSIS_Cable_Modem_Root_CA.cer" [compress] 801/996 字节 File: "DOCSIS_Centralized_Cable_Modem_CA_Magnum.cer" [compress] 953/1237 字节 File: "PacketCable_Centralized_MTA_CA_G2.cer" [compress] 911/1040 字节 File: "PacketCable_MTA_Root_CA.cer" [compress] 809/978 字节 File: Returning to: "E:\111\xmt\release\ca" SetOutPath: "$INSTDIR\config" File: Descending to: "E:\111\xmt\release\config\GM1000\" File: "00-prodmode.xml" [compress] 413/936 字节 File: "01-pbc.xml" [compress] 305/454 字节 File: "02-reset.xml" [compress] 309/466 字节 File: "03-nvram.xml" [compress] 968/5814 字节 File: "04-nvram.xml" [compress] 1188/8215 字节 File: "05-ethernet.xml" [compress] 263/390 字节 File: "06-led.xml" [compress] 284/424 字节 File: "xmt.ini" [compress] 377/619 字节 File: Returning to: "E:\111\xmt\release\config" SetOutPath: "$INSTDIR" CreateDirectory: "$SMPROGRAMS\XMT" CreateShortCut: "$SMPROGRAMS\XMT\GM1000通用路由器_设置工具.lnk"->"$INSTDIR\xmt.exe" icon:,0, showmode=0x0, hotkey=0x0, comment= CreateShortCut: "$DESKTOP\GM1000通用路由器_设置工具.lnk"->"$INSTDIR\xmt.exe" icon:,0, showmode=0x0, hotkey=0x0, comment= SectionEnd Section: "-AdditionalIcons" WriteINIStr: [InternetShortcut] URL=http://www.gs-link.cn in $INSTDIR\Website.url CreateShortCut: "$SMPROGRAMS\XMT\Website.lnk"->"$INSTDIR\Website.url" icon:,0, showmode=0x0, hotkey=0x0, comment= CreateShortCut: "$SMPROGRAMS\XMT\Uninstall.lnk"->"$INSTDIR\uninst.exe" icon:,0, showmode=0x0, hotkey=0x0, comment= SectionEnd Section: "-Post" WriteUninstaller: "$INSTDIR\uninst.exe" WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\xmt.exe\=$INSTDIR\xmt.exe WriteRegStr: HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\$INSTDIR\xmt.exe=RUNASADMIN WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\DisplayName=$(^Name) WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\UninstallString=$INSTDIR\uninst.exe WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\DisplayIcon=$INSTDIR\xmt.exe WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\DisplayVersion=1.1.0.22 WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\URLInfoAbout=http://www.gs-link.cn WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\Publisher=Linkdeep !insertmacro: LocateCall !insertmacro: LocateCall 结束 SectionEnd Function: "FolderProc" WriteINIStr: [main] version=1.1.0.22 in $R9\xmt.ini WriteINIStr: [main] path=$INSTDIR in $R9\xmt.ini WriteINIStr: [main] operation=set in $R9\xmt.ini WriteINIStr: [logs] path=$INSTDIR in $R9\xmt.ini Push: $0 FunctionEnd Function: ".onInit" ReadRegStr $0 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\UninstallString StrCmp "$0" "" equal=+6, nonequal=0 ReadRegStr $1 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\DisplayVersion MessageBox: 68: "在该机器上已经安装版本$1,请先卸载再重试。 是否立即执行卸载程序?" (on IDYES goto +2) Abort: "" ExecWait: "$0" (->) Abort: "" !insertmacro: MUI_LANGDLL_DISPLAY !insertmacro: MUI_LANGDLL_DISPLAY 结束 FunctionEnd Section: "Uninstall" Delete: "$INSTDIR\Website.url" Delete: "$INSTDIR\uninst.exe" Delete: "$INSTDIR\xmt.ini" Delete: "$INSTDIR\xmt.exe" Delete: "$INSTDIR\xmt.xml" Delete: "$SMPROGRAMS\XMT\Uninstall.lnk" Delete: "$SMPROGRAMS\XMT\Website.lnk" Delete: "$DESKTOP\GM1000通用路由器_设置工具.lnk" Delete: "$SMPROGRAMS\XMT\GM1000通用路由器_设置工具.lnk" RMDir: "$SMPROGRAMS\XMT" RMDir: /r "$INSTDIR\ca" RMDir: /r "$INSTDIR\native" RMDir: /r "$INSTDIR\config" RMDir: "$INSTDIR\mac" RMDir: "$INSTDIR\sn" RMDir: "$INSTDIR\cert" RMDir: "$INSTDIR\log" RMDir: "$INSTDIR\license" RMDir: "$INSTDIR" DeleteRegKey: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT DeleteRegKey: HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\xmt.exe SetAutoClose: true SectionEnd Function: "un.onInit" !insertmacro: MUI_UNGETLANGUAGE ReadRegStr $MUI_TEMP1 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\NSIS:Language StrCmp "$MUI_TEMP1" "" equal=0, nonequal=mui.ungetlanguage_setlang !insertmacro: MUI_LANGDLL_DISPLAY !insertmacro: MUI_LANGDLL_DISPLAY 结束 Goto: mui.ungetlanguage_done StrCpy $LANGUAGE "$MUI_TEMP1" () () !insertmacro: MUI_UNGETLANGUAGE 结束 MessageBox: 292: "您确实要完全移除 $(^Name) ,及其所有的组件?" (on IDYES goto +2) Abort: "" FunctionEnd Function: "un.onUninstSuccess" HideWindow MessageBox: 64: "$(^Name) 已成功地从您的计算机移除。" FunctionEnd 已处理 1 个文件, 写入输出: 添加插件初始化函数... 完成! 处理页面... 完成! 移除未用的资源... 完成! 生成语言表... 完成! 生成卸载程序... 完成! 输出: "E:\111\xmt\Setup.exe" 安装程序: 6 个页面 (384 字节), 3 个区段 (需要 2) (3144 字节), 647 条指令 (18116 字节), 323 个字串 (7507 字节), 2 个语言 表 (644 字节). 卸载程序: 2 个页面 (128 字节), 1 个区段 (1048 字节), 103 条指令 (2884 字节), 149 个字串 (2431 字节), 2 个语言表 (460 字 节). 数据模块优化器储存了 16707 字节 (~0.0%). 使用 lzma 压缩. EXE 头部大小: 49152 / 34816 字节 安装代码: 6666 / 30171 字节 安装数据: 19310994 / 19715893 字节 卸载代码 + 数据: 12615 / 18178 字节 CRC (0xAB1ADC7E): 4 / 4 字节 总计大小: 19379431 / 19799062 字节 (97.8%) MakeNSIS v2.45 - 版权所有 1995-2009 所有贡献者 查看文件 COPYING 获取许可信息的细节. 荣誉可在用户手册中查找到. 命令行已经定义: "RELEASE_DIR=E:\111\xmt\release" 命令行已经定义: "PRODUCT_OPERATION=check" 命令行已经定义: "PACKAGE_NAME=GM1000通用路由器_检测工具" 命令行已经定义: "PRODUCT_VERSION=1.1.0.22" 正在处理配置: 处理 dll 插件: "D:\program\NSIS\Plugins\*.dll" - AdvSplash::show - Banner::destroy - Banner::getWindow - Banner::show - BgImage::AddImage - BgImage::AddText - BgImage::Clear - BgImage::Destroy - BgImage::Redraw - BgImage::SetBg - BgImage::SetReturn - BgImage::Sound - BrandingURL::Set - BrandingURL::Unload - ButtonEvent::AddEventHandler - ButtonEvent::Unload - ButtonEvent::UnsetEventHandler - ButtonEvent::WhichButtonId - ButtonLinker::AddEventHandler - ButtonLinker::CreateLinker - ButtonLinker::Unload - ButtonLinker::UnsetEventHandler - ButtonLinker::WhichButtonId - Delay::DelayButton - Delay::Free - Dialer::AttemptConnect - Dialer::AutodialHangup - Dialer::AutodialOnline - Dialer::AutodialUnattended - Dialer::GetConnectedState - FlashLib::FlashBack - FlashLib::FlashCurrentFrame - FlashLib::FlashForward - FlashLib::FlashGetLoop - FlashLib::FlashGetMenu - FlashLib::FlashGetReadyState - FlashLib::FlashGetStandardMenu - FlashLib::FlashGetTotalFrames - FlashLib::FlashGetVariableA - FlashLib::FlashGotoFrame - FlashLib::FlashIsPlaying - FlashLib::FlashLibFree - FlashLib::FlashLibInit - FlashLib::FlashLoadMovie - FlashLib::FlashPlay - FlashLib::FlashPutLoop - FlashLib::FlashPutMenu - FlashLib::FlashPutStandardMenu - FlashLib::FlashRewind - FlashLib::FlashSetVariableA - FlashLib::FlashStop - FlashLib::FlashStopPlay - FlashLib::FlashZoom - GetVersion::WindowsName - GetVersion::WindowsPlatformArchitecture - GetVersion::WindowsPlatformId - GetVersion::WindowsServerName - GetVersion::WindowsServicePack - GetVersion::WindowsServicePackBuild - GetVersion::WindowsType - GetVersion::WindowsVersion - InstallOptions::dialog - InstallOptions::initDialog - InstallOptions::show - LangDLL::LangDialog - Math::Script - NSISdl::download - NSISdl::download_quiet - NotifyIcon::Icon - OnTop::OffTop - OnTop::OnTop - SelfDel::del - Splash::show - StartMenu::Init - StartMenu::Select - StartMenu::Show - StrList::Add - StrList::DelByPos - StrList::Delete - StrList::EnumName - StrList::EnumValue - StrList::Find - StrList::Free - StrList::GetNum - System::Alloc - System::Call - System::Copy - System::Free - System::Get - System::Int64Op - System::Store - ToolTips::Author - ToolTips::Classic - ToolTips::Modern - TypeLib::GetLibVersion - TypeLib::Register - TypeLib::UnRegister - UAC::Exec - UAC::ExecCodeSegment - UAC::ExecWait - UAC::GetElevationType - UAC::GetOuterHwnd - UAC::GetShellFolderPath - UAC::IsAdmin - UAC::RunElevated - UAC::ShellExec - UAC::ShellExecWait - UAC::StackPush - UAC::SupportsUAC - UAC::Unload - UserInfo::GetAccountType - UserInfo::GetName - UserInfo::GetOriginalAccountType - VPatch::GetFileCRC32 - VPatch::GetFileMD5 - VPatch::vpatchfile - ZipDLL::extractall - ZipDLL::extractfile - firectrl::disablefire - firectrl::enablefire - linker::Link - linker::Unload - md5dll::GetFileMD5 - md5dll::GetMD5 - md5dll::GetMD5File - md5dll::GetMD5Random - md5dll::GetMD5String - newadvsplash::hwnd - newadvsplash::play - newadvsplash::show - newadvsplash::stop - nsDialogs::Create - nsDialogs::CreateControl - nsDialogs::CreateItem - nsDialogs::CreateTimer - nsDialogs::GetUserData - nsDialogs::KillTimer - nsDialogs::OnBack - nsDialogs::OnChange - nsDialogs::OnClick - nsDialogs::OnNotify - nsDialogs::SelectFileDialog - nsDialogs::SelectFolderDialog - nsDialogs::SetRTL - nsDialogs::SetUserData - nsDialogs::Show - nsExec::Exec - nsExec::ExecToLog - nsExec::ExecToStack - nsProcess::_FindProcess - nsProcess::_KillProcess - nsProcess::_Unload - nsWeb::IsInet - nsWeb::ShowHTMLInPage - nsWeb::ShowWebInPage - nsWeb::ShowWebInPopUp - nsWindows::Create - nsWindows::CreateControl - nsWindows::CreateItem - nsWindows::CreateTimer - nsWindows::GetUserData - nsWindows::KillTimer - nsWindows::OnBack - nsWindows::OnChange - nsWindows::OnClick - nsWindows::OnNotify - nsWindows::SelectFileDialog - nsWindows::SelectFolderDialog - nsWindows::SetRTL - nsWindows::SetTransparent - nsWindows::SetUserData - nsWindows::Show - nsWindows::onDropFiles - waterctrl::disablewater - waterctrl::enablewater - waterctrl::flattenwater - waterctrl::setwaterparent - waterctrl::waterblob !define: "MUI_INSERT_NSISCONF"="" 切换目录: "E:\111\xmt" 处理脚本文件: "E:\111\xmt\xmt.nsi" !include: "D:\program\NSIS\Include\Utf8Converter.nsh" !define: "___ANSITOUTF8_NSH___"="" !include: "D:\program\NSIS\Include\LogicLib.nsh" !include: "D:\program\NSIS\Include\LogicLib.nsh" 已关闭 !define: "AnsiToUtf8"="!insertmacro AnsiToUtf8Macro" !define: "Utf8ToAnsi"="!insertmacro Utf8ToAnsiMacro" !include: "D:\program\NSIS\Include\Utf8Converter.nsh" 已关闭 !define: "PRODUCT_NAME"="XMT" !define: "PRODUCT_PUBLISHER"="Linkdeep" !define: "PRODUCT_WEB_SITE"="http://www.gs-link.cn" !define: "PRODUCT_DIR_REGKEY"="Software\Microsoft\Windows\CurrentVersion\App Paths\xmt.exe" !define: "PRODUCT_UNINST_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT" !define: "PRODUCT_UNINST_ROOT_KEY"="HKLM" SetCompressor: lzma CRCCheck: force !include: "D:\program\NSIS\Include\MUI.nsh" !include: "D:\program\NSIS\Contrib\Modern UI\System.nsh" NSIS Modern User Interface version 1.8 - Copyright 2002-2009 Joost Verburg (D:\program\NSIS\Contrib\Modern UI\System.nsh:8) !define: "MUI_INCLUDED"="" !define: "MUI_SYSVERSION"="1.8" !define: "MUI_VERBOSE"="3" !include: "D:\program\NSIS\Contrib\Modern UI\System.nsh" 已关闭 !include: "D:\program\NSIS\Include\MUI.nsh" 已关闭 !include: "D:\program\NSIS\Include\FileFunc.nsh" !define: "FILEFUNC_INCLUDED"="" !include: "D:\program\NSIS\Include\Util.nsh" !include: "D:\program\NSIS\Include\Util.nsh" 已关闭 !define: "Locate"="!insertmacro LocateCall" !define: "un.Locate"="!insertmacro LocateCall" !define: "GetSize"="!insertmacro GetSizeCall" !define: "un.GetSize"="!insertmacro GetSizeCall" !define: "DriveSpace"="!insertmacro DriveSpaceCall" !define: "un.DriveSpace"="!insertmacro DriveSpaceCall" !define: "GetDrives"="!insertmacro GetDrivesCall" !define: "un.GetDrives"="!insertmacro GetDrivesCall" !define: "GetTime"="!insertmacro GetTimeCall" !define: "un.GetTime"="!insertmacro GetTimeCall" !define: "GetFileAttributes"="!insertmacro GetFileAttributesCall" !define: "un.GetFileAttributes"="!insertmacro GetFileAttributesCall" !define: "GetFileVersion"="!insertmacro GetFileVersionCall" !define: "un.GetFileVersion"="!insertmacro GetFileVersionCall" !define: "GetExeName"="!insertmacro GetExeNameCall" !define: "un.GetExeName"="!insertmacro GetExeNameCall" !define: "GetExePath"="!insertmacro GetExePathCall" !define: "un.GetExePath"="!insertmacro GetExePathCall" !define: "GetParameters"="!insertmacro GetParametersCall" !define: "un.GetParameters"="!insertmacro GetParametersCall" !define: "GetOptions"="!insertmacro GetOptionsCall" !define: "un.GetOptions"="!insertmacro GetOptionsCall" !define: "GetOptionsS"="!insertmacro GetOptionsSCall" !define: "un.GetOptionsS"="!insertmacro GetOptionsSCall" !define: "GetRoot"="!insertmacro GetRootCall" !define: "un.GetRoot"="!insertmacro GetRootCall" !define: "GetParent"="!insertmacro GetParentCall" !define: "un.GetParent"="!insertmacro GetParentCall" !define: "GetFileName"="!insertmacro GetFileNameCall" !define: "un.GetFileName"="!insertmacro GetFileNameCall" !define: "GetBaseName"="!insertmacro GetBaseNameCall" !define: "un.GetBaseName"="!insertmacro GetBaseNameCall" !define: "GetFileExt"="!insertmacro GetFileExtCall" !define: "un.GetFileExt"="!insertmacro GetFileExtCall" !define: "BannerTrimPath"="!insertmacro BannerTrimPathCall" !define: "un.BannerTrimPath"="!insertmacro BannerTrimPathCall" !define: "DirState"="!insertmacro DirStateCall" !define: "un.DirState"="!insertmacro DirStateCall" !define: "RefreshShellIcons"="!insertmacro RefreshShellIconsCall" !define: "un.RefreshShellIcons"="!insertmacro RefreshShellIconsCall" !include: "D:\program\NSIS\Include\FileFunc.nsh" 已关闭 !define: "MUI_ABORTWARNING"="" !define: "MUI_ICON"="D:\program\NSIS\Contrib\Graphics\Icons\modern-install.ico" !define: "MUI_UNICON"="D:\program\NSIS\Contrib\Graphics\Icons\modern-uninstall.ico" !define: "MUI_LANGDLL_REGISTRY_ROOT"="HKLM" !define: "MUI_LANGDLL_REGISTRY_KEY"="Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT" !define: "MUI_LANGDLL_REGISTRY_VALUENAME"="NSIS:Language" !insertmacro: MUI_PAGE_WELCOME !insertmacro: MUI_PAGE_WELCOME 结束 !define: "MUI_LICENSEPAGE_CHECKBOX"="" !insertmacro: MUI_PAGE_LICENSE !insertmacro: MUI_PAGE_LICENSE 结束 !insertmacro: MUI_PAGE_DIRECTORY !insertmacro: MUI_PAGE_DIRECTORY 结束 !insertmacro: MUI_PAGE_INSTFILES !insertmacro: MUI_PAGE_INSTFILES 结束 !insertmacro: MUI_PAGE_FINISH !insertmacro: MUI_PAGE_FINISH 结束 !insertmacro: MUI_UNPAGE_INSTFILES !insertmacro: MUI_UNPAGE_INSTFILES 结束 !insertmacro: MUI_LANGUAGE !insertmacro: MUI_LANGUAGE 结束 !insertmacro: MUI_LANGUAGE !insertmacro: MUI_LANGUAGE 结束 !insertmacro: MUI_RESERVEFILE_LANGDLL !insertmacro: MUI_RESERVEFILE_LANGDLL 结束 !insertmacro: MUI_RESERVEFILE_INSTALLOPTIONS !insertmacro: MUI_RESERVEFILE_INSTALLOPTIONS 结束 Name: "XMT 1.1.0.22" OutFile: "Setup.exe" InstallDir: "$PROGRAMFILES\XMT" InstallRegKey: "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\UninstallString" ShowInstDetails: show ShowUnInstDetails: show BrandingText: " " Section: "MainSection" ->(SEC01) SetOutPath: "$INSTDIR" SetOverwrite: ifnewer RMDir: /r "$INSTDIR\native" RMDir: /r "$INSTDIR\config" File: "xmt.exe" [compress] 19284360/19597566 字节 File: "xmt.ini" [compress] 24 字节 File: "license.txt" [compress] 1279/1978 字节 CreateDirectory: "$INSTDIR\log" CreateDirectory: "$INSTDIR\ca" CreateDirectory: "$INSTDIR\config" CreateDirectory: "$INSTDIR\order" SetOutPath: "$INSTDIR\ca" File: "CableLabs_Service_Provider_Root_CA.cer" [compress] 770/875 字节 File: "DOCSIS_Cable_Modem_Root_CA.cer" [compress] 801/996 字节 File: "DOCSIS_Centralized_Cable_Modem_CA_Magnum.cer" [compress] 953/1237 字节 File: "PacketCable_Centralized_MTA_CA_G2.cer" [compress] 911/1040 字节 File: "PacketCable_MTA_Root_CA.cer" [compress] 809/978 字节 File: Returning to: "E:\111\xmt\release\ca" SetOutPath: "$INSTDIR\config" File: Descending to: "E:\111\xmt\release\config\GM1000\" File: "00-prodmode.xml" [compress] 413/936 字节 File: "01-pbc.xml" [compress] 305/454 字节 File: "02-reset.xml" [compress] 309/466 字节 File: "03-nvram.xml" [compress] 968/5814 字节 File: "04-nvram.xml" [compress] 1188/8215 字节 File: "05-ethernet.xml" [compress] 263/390 字节 File: "06-led.xml" [compress] 284/424 字节 File: "xmt.ini" [compress] 377/619 字节 File: Returning to: "E:\111\xmt\release\config" SetOutPath: "$INSTDIR" CreateDirectory: "$SMPROGRAMS\XMT" CreateShortCut: "$SMPROGRAMS\XMT\GM1000通用路由器_检测工具.lnk"->"$INSTDIR\xmt.exe" icon:,0, showmode=0x0, hotkey=0x0, comment= CreateShortCut: "$DESKTOP\GM1000通用路由器_检测工具.lnk"->"$INSTDIR\xmt.exe" icon:,0, showmode=0x0, hotkey=0x0, comment= SectionEnd Section: "-AdditionalIcons" WriteINIStr: [InternetShortcut] URL=http://www.gs-link.cn in $INSTDIR\Website.url CreateShortCut: "$SMPROGRAMS\XMT\Website.lnk"->"$INSTDIR\Website.url" icon:,0, showmode=0x0, hotkey=0x0, comment= CreateShortCut: "$SMPROGRAMS\XMT\Uninstall.lnk"->"$INSTDIR\uninst.exe" icon:,0, showmode=0x0, hotkey=0x0, comment= SectionEnd Section: "-Post" WriteUninstaller: "$INSTDIR\uninst.exe" WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\xmt.exe\=$INSTDIR\xmt.exe WriteRegStr: HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\$INSTDIR\xmt.exe=RUNASADMIN WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\DisplayName=$(^Name) WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\UninstallString=$INSTDIR\uninst.exe WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\DisplayIcon=$INSTDIR\xmt.exe WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\DisplayVersion=1.1.0.22 WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\URLInfoAbout=http://www.gs-link.cn WriteRegStr: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\Publisher=Linkdeep !insertmacro: LocateCall !insertmacro: LocateCall 结束 SectionEnd Function: "FolderProc" WriteINIStr: [main] version=1.1.0.22 in $R9\xmt.ini WriteINIStr: [main] path=$INSTDIR in $R9\xmt.ini WriteINIStr: [main] operation=check in $R9\xmt.ini WriteINIStr: [logs] path=$INSTDIR in $R9\xmt.ini Push: $0 FunctionEnd Function: ".onInit" ReadRegStr $0 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\UninstallString StrCmp "$0" "" equal=+6, nonequal=0 ReadRegStr $1 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\DisplayVersion MessageBox: 68: "在该机器上已经安装版本$1,请先卸载再重试。 是否立即执行卸载程序?" (on IDYES goto +2) Abort: "" ExecWait: "$0" (->) Abort: "" !insertmacro: MUI_LANGDLL_DISPLAY !insertmacro: MUI_LANGDLL_DISPLAY 结束 FunctionEnd Section: "Uninstall" Delete: "$INSTDIR\Website.url" Delete: "$INSTDIR\uninst.exe" Delete: "$INSTDIR\xmt.ini" Delete: "$INSTDIR\xmt.exe" Delete: "$INSTDIR\xmt.xml" Delete: "$SMPROGRAMS\XMT\Uninstall.lnk" Delete: "$SMPROGRAMS\XMT\Website.lnk" Delete: "$DESKTOP\GM1000通用路由器_检测工具.lnk" Delete: "$SMPROGRAMS\XMT\GM1000通用路由器_检测工具.lnk" RMDir: "$SMPROGRAMS\XMT" RMDir: /r "$INSTDIR\ca" RMDir: /r "$INSTDIR\native" RMDir: /r "$INSTDIR\config" RMDir: "$INSTDIR\mac" RMDir: "$INSTDIR\sn" RMDir: "$INSTDIR\cert" RMDir: "$INSTDIR\log" RMDir: "$INSTDIR\license" RMDir: "$INSTDIR" DeleteRegKey: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT DeleteRegKey: HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\xmt.exe SetAutoClose: true SectionEnd Function: "un.onInit" !insertmacro: MUI_UNGETLANGUAGE ReadRegStr $MUI_TEMP1 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\XMT\NSIS:Language StrCmp "$MUI_TEMP1" "" equal=0, nonequal=mui.ungetlanguage_setlang !insertmacro: MUI_LANGDLL_DISPLAY !insertmacro: MUI_LANGDLL_DISPLAY 结束 Goto: mui.ungetlanguage_done StrCpy $LANGUAGE "$MUI_TEMP1" () () !insertmacro: MUI_UNGETLANGUAGE 结束 MessageBox: 292: "您确实要完全移除 $(^Name) ,及其所有的组件?" (on IDYES goto +2) Abort: "" FunctionEnd Function: "un.onUninstSuccess" HideWindow MessageBox: 64: "$(^Name) 已成功地从您的计算机移除。" FunctionEnd 已处理 1 个文件, 写入输出: 添加插件初始化函数... 完成! 处理页面... 完成! 移除未用的资源... 完成! 生成语言表... 完成! 生成卸载程序... 完成! 输出: "E:\111\xmt\Setup.exe" 安装程序: 6 个页面 (384 字节), 3 个区段 (需要 2) (3144 字节), 647 条指令 (18116 字节), 323 个字串 (7509 字节), 2 个语言 表 (644 字节). 卸载程序: 2 个页面 (128 字节), 1 个区段 (1048 字节), 103 条指令 (2884 字节), 149 个字串 (2431 字节), 2 个语言表 (460 字 节). 数据模块优化器储存了 16707 字节 (~0.0%). 使用 lzma 压缩. EXE 头部大小: 49152 / 34816 字节 安装代码: 6685 / 30173 字节 安装数据: 19310994 / 19715893 字节 卸载代码 + 数据: 12615 / 18178 字节 CRC (0xB8E2E8FA): 4 / 4 字节 总计大小: 19379450 / 19799064 字节 (97.8%) (venv) E:\111\xmt>dir 驱动器 E 中的卷没有标签。 卷的序列号是 2D97-AD94 E:\111\xmt 的目录 2022/04/29 17:02 . 2022/04/29 17:02 .. 2022/04/29 14:50 .idea 2021/06/25 17:51 2,872 Autobuild.bat 2022/04/29 16:31 build 2022/04/24 19:10 ca 2022/04/24 19:11 config 2022/04/29 17:01 dist 2021/01/27 18:43 1,978 license.txt 2022/04/24 19:10 log 2022/04/24 19:10 order 2020/06/11 13:35 633 README.txt 2022/04/29 16:13 src 2022/04/24 19:12 targets 2022/04/29 17:02 test 2022/04/24 22:20 venv 2021/08/13 14:19 25 xmt.ini 2022/04/24 19:14 7,122 xmt.nsi 5 个文件 12,630 字节 13 个目录 323,446,255,616 可用字节 (venv) E:\111\xmt>