LYYDownloader
5.2
iMath, Inc.
http://mathjoy.lofter.com/post/42208d_7cabd00

E:\自动备份盘\编程\Python\Project\LYYDownloader-qt5\icon256.ico
LYYDownloader5_Setup.exe
去选English,勾选SimpleChinese

E:\自动备份盘\编程\Python\Project\LYYDownloader-qt5\乐影音下载器授权文件.txt

添加tree  E:\自动备份盘\编程\Python\Project\LYYDownloader-qt5\dist\LYYDownloader

cx  :  E:\360云盘\编程\Python\Project\LYYDownloader-qt5\build\exe.win32-3.5

添加头
!include "x64.nsh"

删除下面的内容
  SetOutPath "$INSTDIR\ffmpeg\32"
  File "..\dist\LYYDownloader\ffmpeg\32\ffmpeg.exe"
  SetOutPath "$INSTDIR\ffmpeg\64"
  File "..\dist\LYYDownloader\ffmpeg\64\ffmpeg.exe"
  SetOutPath "$INSTDIR"

那么多行添加文件 的开始添加
Delete "$APPDATA\iMath\LYYDownloader.ini"

的末尾添加
  ${If} ${RunningX64}
    File "..\dist\LYYDownloader\ffmpeg\64\ffmpeg.exe"
  ${Else}
    File "..\dist\LYYDownloader\ffmpeg\32\ffmpeg.exe"
  ${EndIf}
SectionEnd

Website  替换为  软件主页

后面卸载的地方(Delete 和RMDir) 交界处添加添加
  Delete "$APPDATA\iMath\LYYDownloader.ini"      ;一开始那么多行添加文件之前也要有

RMDir "$APPDATA\iMath\乐影音下载未完成"

替换
  Delete "$INSTDIR\ffmpeg\64\ffmpeg.exe"
  Delete "$INSTDIR\ffmpeg\32\ffmpeg.exe"

Delete "$INSTDIR\ffmpeg.exe"

; Script generated by the HM NIS Edit Script Wizard.; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "LYYDownloader"
!define PRODUCT_VERSION "5.2"
!define PRODUCT_PUBLISHER "iMath, Inc."
!define PRODUCT_WEB_SITE "http://mathjoy.lofter.com/post/42208d_7cabd00"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\ffmpeg.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"; MUI 1.67 compatible ------
!include "MUI.nsh"
!include "x64.nsh"
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "..\icon256.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "..\乐影音下载器授权文件.txt"
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Start menu page
var ICONS_GROUP
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "LYYDownloader"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
!define MUI_FINISHPAGE_RUN "$INSTDIR\LYYDownloader.exe"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\乐影音下载器授权文件.txt"
!insertmacro MUI_PAGE_FINISH; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES; Language files
!insertmacro MUI_LANGUAGE "SimpChinese"; MUI end ------Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "LYYDownloader5_Setup.exe"
InstallDir "$PROGRAMFILES\LYYDownloader"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails showSection "MainSection" SEC01SetOutPath "$INSTDIR"Delete "$APPDATA\iMath\LYYDownloader.ini"File "..\dist\LYYDownloader\api-ms-win-crt-conio-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-convert-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-environment-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-filesystem-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-heap-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-locale-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-math-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-multibyte-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-process-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-runtime-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-stdio-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-string-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-time-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-utility-l1-1-0.dll"File "..\dist\LYYDownloader\base_library.zip"File "..\dist\LYYDownloader\Crypto.Cipher._AES.cp35-win32.pyd"File "..\dist\LYYDownloader\LYYDownloader.exe"File "..\dist\LYYDownloader\LYYDownloader.exe.manifest"File "..\dist\LYYDownloader\mfc140u.dll"File "..\dist\LYYDownloader\MSVCP140.dll"File "..\dist\LYYDownloader\pyexpat.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.Qt.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtCore.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtGui.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtNetwork.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtPrintSupport.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtWebSockets.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtWidgets.cp35-win32.pyd"File "..\dist\LYYDownloader\python35.dll"File "..\dist\LYYDownloader\pythoncom35.dll"File "..\dist\LYYDownloader\pywintypes35.dll"File "..\dist\LYYDownloader\Qt5Core.dll"File "..\dist\LYYDownloader\Qt5Gui.dll"File "..\dist\LYYDownloader\Qt5Network.dll"File "..\dist\LYYDownloader\Qt5PrintSupport.dll"File "..\dist\LYYDownloader\Qt5Svg.dll"File "..\dist\LYYDownloader\Qt5WebSockets.dll"File "..\dist\LYYDownloader\Qt5Widgets.dll"SetOutPath "$INSTDIR\qt5_plugins\bearer"File "..\dist\LYYDownloader\qt5_plugins\bearer\qgenericbearer.dll"File "..\dist\LYYDownloader\qt5_plugins\bearer\qnativewifibearer.dll"SetOutPath "$INSTDIR\qt5_plugins\iconengines"File "..\dist\LYYDownloader\qt5_plugins\iconengines\qsvgicon.dll"SetOutPath "$INSTDIR\qt5_plugins\imageformats"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qdds.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qgif.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qicns.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qico.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qjpeg.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qsvg.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qtga.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qtiff.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qwbmp.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qwebp.dll"SetOutPath "$INSTDIR\qt5_plugins\platforms"File "..\dist\LYYDownloader\qt5_plugins\platforms\qminimal.dll"File "..\dist\LYYDownloader\qt5_plugins\platforms\qoffscreen.dll"File "..\dist\LYYDownloader\qt5_plugins\platforms\qwindows.dll"SetOutPath "$INSTDIR\qt5_plugins\printsupport"File "..\dist\LYYDownloader\qt5_plugins\printsupport\windowsprintersupport.dll"SetOutPath "$INSTDIR"File "..\dist\LYYDownloader\qt_zh_CN.qm"SetOutPath "$INSTDIR\requests"File "..\dist\LYYDownloader\requests\cacert.pem"SetOutPath "$INSTDIR"File "..\dist\LYYDownloader\select.cp35-win32.pyd"File "..\dist\LYYDownloader\sip.cp35-win32.pyd"File "..\dist\LYYDownloader\unicodedata.cp35-win32.pyd"File "..\dist\LYYDownloader\VCRUNTIME140.dll"File "..\dist\LYYDownloader\win32api.cp35-win32.pyd"File "..\dist\LYYDownloader\win32com.shell.shell.cp35-win32.pyd"File "..\dist\LYYDownloader\win32evtlog.cp35-win32.pyd"File "..\dist\LYYDownloader\win32trace.cp35-win32.pyd"File "..\dist\LYYDownloader\win32ui.cp35-win32.pyd"File "..\dist\LYYDownloader\win32wnet.cp35-win32.pyd"File "..\dist\LYYDownloader\_bz2.cp35-win32.pyd"File "..\dist\LYYDownloader\_ctypes.cp35-win32.pyd"File "..\dist\LYYDownloader\_decimal.cp35-win32.pyd"File "..\dist\LYYDownloader\_hashlib.cp35-win32.pyd"File "..\dist\LYYDownloader\_lzma.cp35-win32.pyd"File "..\dist\LYYDownloader\_multiprocessing.cp35-win32.pyd"File "..\dist\LYYDownloader\_socket.cp35-win32.pyd"File "..\dist\LYYDownloader\_ssl.cp35-win32.pyd"File "..\dist\LYYDownloader\_win32sysloader.cp35-win32.pyd"File "..\dist\LYYDownloader\乐影音下载器授权文件.txt"; Shortcuts!insertmacro MUI_STARTMENU_WRITE_BEGIN ApplicationCreateDirectory "$SMPROGRAMS\$ICONS_GROUP"CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\LYYDownloader.lnk" "$INSTDIR\LYYDownloader.exe"CreateShortCut "$DESKTOP\LYYDownloader.lnk" "$INSTDIR\LYYDownloader.exe"!insertmacro MUI_STARTMENU_WRITE_END${If} ${RunningX64}File "..\dist\LYYDownloader\ffmpeg\64\ffmpeg.exe"${Else}File "..\dist\LYYDownloader\ffmpeg\32\ffmpeg.exe"${EndIf}
SectionEndSection -AdditionalIcons!insertmacro MUI_STARTMENU_WRITE_BEGIN ApplicationWriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"!insertmacro MUI_STARTMENU_WRITE_END
SectionEndSection -PostWriteUninstaller "$INSTDIR\uninst.exe"WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\ffmpeg\32\ffmpeg.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\ffmpeg\32\ffmpeg.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEndFunction un.onUninstSuccessHideWindowMessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从你的计算机移除。"
FunctionEndFunction un.onInitMessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "你确实要完全移除 $(^Name) ,其及所有的组件?" IDYES +2Abort
FunctionEndSection Uninstall!insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUPDelete "$INSTDIR\${PRODUCT_NAME}.url"Delete "$INSTDIR\uninst.exe"Delete "$INSTDIR\乐影音下载器授权文件.txt"Delete "$INSTDIR\_win32sysloader.cp35-win32.pyd"Delete "$INSTDIR\_ssl.cp35-win32.pyd"Delete "$INSTDIR\_socket.cp35-win32.pyd"Delete "$INSTDIR\_multiprocessing.cp35-win32.pyd"Delete "$INSTDIR\_lzma.cp35-win32.pyd"Delete "$INSTDIR\_hashlib.cp35-win32.pyd"Delete "$INSTDIR\_decimal.cp35-win32.pyd"Delete "$INSTDIR\_ctypes.cp35-win32.pyd"Delete "$INSTDIR\_bz2.cp35-win32.pyd"Delete "$INSTDIR\win32wnet.cp35-win32.pyd"Delete "$INSTDIR\win32ui.cp35-win32.pyd"Delete "$INSTDIR\win32trace.cp35-win32.pyd"Delete "$INSTDIR\win32evtlog.cp35-win32.pyd"Delete "$INSTDIR\win32com.shell.shell.cp35-win32.pyd"Delete "$INSTDIR\win32api.cp35-win32.pyd"Delete "$INSTDIR\VCRUNTIME140.dll"Delete "$INSTDIR\unicodedata.cp35-win32.pyd"Delete "$INSTDIR\sip.cp35-win32.pyd"Delete "$INSTDIR\select.cp35-win32.pyd"Delete "$INSTDIR\requests\cacert.pem"Delete "$INSTDIR\qt_zh_CN.qm"Delete "$INSTDIR\qt5_plugins\printsupport\windowsprintersupport.dll"Delete "$INSTDIR\qt5_plugins\platforms\qwindows.dll"Delete "$INSTDIR\qt5_plugins\platforms\qoffscreen.dll"Delete "$INSTDIR\qt5_plugins\platforms\qminimal.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qwebp.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qwbmp.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qtiff.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qtga.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qsvg.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qjpeg.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qico.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qicns.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qgif.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qdds.dll"Delete "$INSTDIR\qt5_plugins\iconengines\qsvgicon.dll"Delete "$INSTDIR\qt5_plugins\bearer\qnativewifibearer.dll"Delete "$INSTDIR\qt5_plugins\bearer\qgenericbearer.dll"Delete "$INSTDIR\Qt5Widgets.dll"Delete "$INSTDIR\Qt5WebSockets.dll"Delete "$INSTDIR\Qt5Svg.dll"Delete "$INSTDIR\Qt5PrintSupport.dll"Delete "$INSTDIR\Qt5Network.dll"Delete "$INSTDIR\Qt5Gui.dll"Delete "$INSTDIR\Qt5Core.dll"Delete "$INSTDIR\pywintypes35.dll"Delete "$INSTDIR\pythoncom35.dll"Delete "$INSTDIR\python35.dll"Delete "$INSTDIR\PyQt5.QtWidgets.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtWebSockets.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtPrintSupport.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtNetwork.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtGui.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtCore.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.Qt.cp35-win32.pyd"Delete "$INSTDIR\pyexpat.cp35-win32.pyd"Delete "$INSTDIR\MSVCP140.dll"Delete "$INSTDIR\mfc140u.dll"Delete "$INSTDIR\LYYDownloader.exe.manifest"Delete "$INSTDIR\LYYDownloader.exe"Delete "$INSTDIR\ffmpeg.exe"Delete "$INSTDIR\Crypto.Cipher._AES.cp35-win32.pyd"Delete "$INSTDIR\base_library.zip"Delete "$INSTDIR\api-ms-win-crt-utility-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-time-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-string-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-stdio-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-runtime-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-process-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-multibyte-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-math-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-locale-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-heap-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-filesystem-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-environment-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-convert-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-conio-l1-1-0.dll"Delete "$APPDATA\iMath\LYYDownloader.ini"      ;一开始那么多行添加文件之前也要有RMDir "$APPDATA\iMath\乐影音下载未完成"Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"Delete "$DESKTOP\LYYDownloader.lnk"Delete "$SMPROGRAMS\$ICONS_GROUP\LYYDownloader.lnk"RMDir "$SMPROGRAMS\$ICONS_GROUP"RMDir "$INSTDIR\requests"RMDir "$INSTDIR\qt5_plugins\printsupport"RMDir "$INSTDIR\qt5_plugins\platforms"RMDir "$INSTDIR\qt5_plugins\imageformats"RMDir "$INSTDIR\qt5_plugins\iconengines"RMDir "$INSTDIR\qt5_plugins\bearer"RMDir "$INSTDIR\ffmpeg\64"RMDir "$INSTDIR\ffmpeg\32"RMDir "$INSTDIR"DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"SetAutoClose true
SectionEnd
; Script generated by the HM NIS Edit Script Wizard.; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "LYYDownloader"
!define PRODUCT_VERSION "5.2"
!define PRODUCT_PUBLISHER "iMath, Inc."
!define PRODUCT_WEB_SITE "http://mathjoy.lofter.com/post/42208d_7cabd00"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\ffmpeg.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"; MUI 1.67 compatible ------
!include "MUI.nsh"
!include "x64.nsh"
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "..\icon256.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "..\乐影音下载器授权文件.txt"
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Start menu page
var ICONS_GROUP
!define MUI_STARTMENUPAGE_NODISABLE
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "乐影音下载器"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}"
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
!define MUI_FINISHPAGE_RUN "$INSTDIR\LYYDownloader.exe"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\乐影音下载器授权文件.txt"
!insertmacro MUI_PAGE_FINISH; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES; Language files
!insertmacro MUI_LANGUAGE "SimpChinese"; MUI end ------Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "LYYDownloader5_Setup.exe"
InstallDir "$PROGRAMFILES\LYYDownloader"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails showSection "MainSection" SEC01SetOutPath "$INSTDIR"Delete "$APPDATA\iMath\LYYDownloader.ini"File "..\dist\LYYDownloader\api-ms-win-crt-conio-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-convert-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-environment-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-filesystem-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-heap-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-locale-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-math-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-multibyte-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-process-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-runtime-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-stdio-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-string-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-time-l1-1-0.dll"File "..\dist\LYYDownloader\api-ms-win-crt-utility-l1-1-0.dll"File "..\dist\LYYDownloader\base_library.zip"File "..\dist\LYYDownloader\Crypto.Cipher._AES.cp35-win32.pyd"File "..\dist\LYYDownloader\LYYDownloader.exe"File "..\dist\LYYDownloader\LYYDownloader.exe.manifest"File "..\dist\LYYDownloader\mfc140u.dll"File "..\dist\LYYDownloader\MSVCP140.dll"File "..\dist\LYYDownloader\pyexpat.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.Qt.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtCore.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtGui.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtNetwork.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtPrintSupport.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtWebSockets.cp35-win32.pyd"File "..\dist\LYYDownloader\PyQt5.QtWidgets.cp35-win32.pyd"File "..\dist\LYYDownloader\python35.dll"File "..\dist\LYYDownloader\pythoncom35.dll"File "..\dist\LYYDownloader\pywintypes35.dll"File "..\dist\LYYDownloader\Qt5Core.dll"File "..\dist\LYYDownloader\Qt5Gui.dll"File "..\dist\LYYDownloader\Qt5Network.dll"File "..\dist\LYYDownloader\Qt5PrintSupport.dll"File "..\dist\LYYDownloader\Qt5Svg.dll"File "..\dist\LYYDownloader\Qt5WebSockets.dll"File "..\dist\LYYDownloader\Qt5Widgets.dll"SetOutPath "$INSTDIR\qt5_plugins\bearer"File "..\dist\LYYDownloader\qt5_plugins\bearer\qgenericbearer.dll"File "..\dist\LYYDownloader\qt5_plugins\bearer\qnativewifibearer.dll"SetOutPath "$INSTDIR\qt5_plugins\iconengines"File "..\dist\LYYDownloader\qt5_plugins\iconengines\qsvgicon.dll"SetOutPath "$INSTDIR\qt5_plugins\imageformats"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qdds.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qgif.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qicns.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qico.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qjpeg.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qsvg.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qtga.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qtiff.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qwbmp.dll"File "..\dist\LYYDownloader\qt5_plugins\imageformats\qwebp.dll"SetOutPath "$INSTDIR\qt5_plugins\platforms"File "..\dist\LYYDownloader\qt5_plugins\platforms\qminimal.dll"File "..\dist\LYYDownloader\qt5_plugins\platforms\qoffscreen.dll"File "..\dist\LYYDownloader\qt5_plugins\platforms\qwindows.dll"SetOutPath "$INSTDIR\qt5_plugins\printsupport"File "..\dist\LYYDownloader\qt5_plugins\printsupport\windowsprintersupport.dll"SetOutPath "$INSTDIR"File "..\dist\LYYDownloader\qt_zh_CN.qm"SetOutPath "$INSTDIR\requests"File "..\dist\LYYDownloader\requests\cacert.pem"SetOutPath "$INSTDIR"File "..\dist\LYYDownloader\select.cp35-win32.pyd"File "..\dist\LYYDownloader\sip.cp35-win32.pyd"File "..\dist\LYYDownloader\unicodedata.cp35-win32.pyd"File "..\dist\LYYDownloader\VCRUNTIME140.dll"File "..\dist\LYYDownloader\win32api.cp35-win32.pyd"File "..\dist\LYYDownloader\win32com.shell.shell.cp35-win32.pyd"File "..\dist\LYYDownloader\win32evtlog.cp35-win32.pyd"File "..\dist\LYYDownloader\win32trace.cp35-win32.pyd"File "..\dist\LYYDownloader\win32ui.cp35-win32.pyd"File "..\dist\LYYDownloader\win32wnet.cp35-win32.pyd"File "..\dist\LYYDownloader\_bz2.cp35-win32.pyd"File "..\dist\LYYDownloader\_ctypes.cp35-win32.pyd"File "..\dist\LYYDownloader\_decimal.cp35-win32.pyd"File "..\dist\LYYDownloader\_hashlib.cp35-win32.pyd"File "..\dist\LYYDownloader\_lzma.cp35-win32.pyd"File "..\dist\LYYDownloader\_multiprocessing.cp35-win32.pyd"File "..\dist\LYYDownloader\_socket.cp35-win32.pyd"File "..\dist\LYYDownloader\_ssl.cp35-win32.pyd"File "..\dist\LYYDownloader\_win32sysloader.cp35-win32.pyd"File "..\dist\LYYDownloader\乐影音下载器授权文件.txt"; Shortcuts!insertmacro MUI_STARTMENU_WRITE_BEGIN ApplicationCreateDirectory "$SMPROGRAMS\$ICONS_GROUP"CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\LYYDownloader.lnk" "$INSTDIR\LYYDownloader.exe"CreateShortCut "$DESKTOP\LYYDownloader.lnk" "$INSTDIR\LYYDownloader.exe"!insertmacro MUI_STARTMENU_WRITE_END${If} ${RunningX64}File "..\dist\LYYDownloader\ffmpeg\64\ffmpeg.exe"${Else}File "..\dist\LYYDownloader\ffmpeg\32\ffmpeg.exe"${EndIf}
SectionEndSection -AdditionalIcons!insertmacro MUI_STARTMENU_WRITE_BEGIN ApplicationWriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe"!insertmacro MUI_STARTMENU_WRITE_END
SectionEndSection -PostWriteUninstaller "$INSTDIR\uninst.exe"WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\LYYDownloader.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\LYYDownloader.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEndFunction un.onUninstSuccessHideWindowMessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从你的计算机移除。"
FunctionEndFunction un.onInitMessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "你确实要完全移除 $(^Name) ,其及所有的组件?" IDYES +2Abort
FunctionEndSection Uninstall!insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUPDelete "$INSTDIR\${PRODUCT_NAME}.url"Delete "$INSTDIR\uninst.exe"Delete "$INSTDIR\乐影音下载器授权文件.txt"Delete "$INSTDIR\_win32sysloader.cp35-win32.pyd"Delete "$INSTDIR\_ssl.cp35-win32.pyd"Delete "$INSTDIR\_socket.cp35-win32.pyd"Delete "$INSTDIR\_multiprocessing.cp35-win32.pyd"Delete "$INSTDIR\_lzma.cp35-win32.pyd"Delete "$INSTDIR\_hashlib.cp35-win32.pyd"Delete "$INSTDIR\_decimal.cp35-win32.pyd"Delete "$INSTDIR\_ctypes.cp35-win32.pyd"Delete "$INSTDIR\_bz2.cp35-win32.pyd"Delete "$INSTDIR\win32wnet.cp35-win32.pyd"Delete "$INSTDIR\win32ui.cp35-win32.pyd"Delete "$INSTDIR\win32trace.cp35-win32.pyd"Delete "$INSTDIR\win32evtlog.cp35-win32.pyd"Delete "$INSTDIR\win32com.shell.shell.cp35-win32.pyd"Delete "$INSTDIR\win32api.cp35-win32.pyd"Delete "$INSTDIR\VCRUNTIME140.dll"Delete "$INSTDIR\unicodedata.cp35-win32.pyd"Delete "$INSTDIR\sip.cp35-win32.pyd"Delete "$INSTDIR\select.cp35-win32.pyd"Delete "$INSTDIR\requests\cacert.pem"Delete "$INSTDIR\qt_zh_CN.qm"Delete "$INSTDIR\qt5_plugins\printsupport\windowsprintersupport.dll"Delete "$INSTDIR\qt5_plugins\platforms\qwindows.dll"Delete "$INSTDIR\qt5_plugins\platforms\qoffscreen.dll"Delete "$INSTDIR\qt5_plugins\platforms\qminimal.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qwebp.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qwbmp.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qtiff.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qtga.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qsvg.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qjpeg.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qico.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qicns.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qgif.dll"Delete "$INSTDIR\qt5_plugins\imageformats\qdds.dll"Delete "$INSTDIR\qt5_plugins\iconengines\qsvgicon.dll"Delete "$INSTDIR\qt5_plugins\bearer\qnativewifibearer.dll"Delete "$INSTDIR\qt5_plugins\bearer\qgenericbearer.dll"Delete "$INSTDIR\Qt5Widgets.dll"Delete "$INSTDIR\Qt5WebSockets.dll"Delete "$INSTDIR\Qt5Svg.dll"Delete "$INSTDIR\Qt5PrintSupport.dll"Delete "$INSTDIR\Qt5Network.dll"Delete "$INSTDIR\Qt5Gui.dll"Delete "$INSTDIR\Qt5Core.dll"Delete "$INSTDIR\pywintypes35.dll"Delete "$INSTDIR\pythoncom35.dll"Delete "$INSTDIR\python35.dll"Delete "$INSTDIR\PyQt5.QtWidgets.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtWebSockets.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtPrintSupport.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtNetwork.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtGui.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.QtCore.cp35-win32.pyd"Delete "$INSTDIR\PyQt5.Qt.cp35-win32.pyd"Delete "$INSTDIR\pyexpat.cp35-win32.pyd"Delete "$INSTDIR\MSVCP140.dll"Delete "$INSTDIR\mfc140u.dll"Delete "$INSTDIR\LYYDownloader.exe.manifest"Delete "$INSTDIR\LYYDownloader.exe"Delete "$INSTDIR\ffmpeg.exe"Delete "$INSTDIR\Crypto.Cipher._AES.cp35-win32.pyd"Delete "$INSTDIR\base_library.zip"Delete "$INSTDIR\api-ms-win-crt-utility-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-time-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-string-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-stdio-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-runtime-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-process-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-multibyte-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-math-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-locale-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-heap-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-filesystem-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-environment-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-convert-l1-1-0.dll"Delete "$INSTDIR\api-ms-win-crt-conio-l1-1-0.dll"Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk"Delete "$SMPROGRAMS\$ICONS_GROUP\Website.lnk"Delete "$DESKTOP\LYYDownloader.lnk"Delete "$SMPROGRAMS\$ICONS_GROUP\LYYDownloader.lnk"Delete "$APPDATA\iMath\LYYDownloader.ini"      ;一开始那么多行添加文件之前也要有RMDir "$APPDATA\iMath\乐影音下载未完成"RMDir "$SMPROGRAMS\$ICONS_GROUP"RMDir "$INSTDIR\requests"RMDir "$INSTDIR\qt5_plugins\printsupport"RMDir "$INSTDIR\qt5_plugins\platforms"RMDir "$INSTDIR\qt5_plugins\imageformats"RMDir "$INSTDIR\qt5_plugins\iconengines"RMDir "$INSTDIR\qt5_plugins\bearer"RMDir "$INSTDIR\ffmpeg\64"RMDir "$INSTDIR\ffmpeg\32"RMDir "$INSTDIR"DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"SetAutoClose true
SectionEnd
; Script generated by the HM NIS Edit Script Wizard.; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "LYYDownloader"
!define PRODUCT_VERSION "5.0"
!define PRODUCT_PUBLISHER "iMath, Inc."
!define PRODUCT_WEB_SITE "http://mathjoy.lofter.com/post/42208d_7cabd00"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\LYYDownloader.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"; MUI 1.67 compatible ------
!include "MUI.nsh"
!include "x64.nsh"
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "..\icon256.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "..\..\LYYDownloader\乐影音下载器授权文件.txt"
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
!define MUI_FINISHPAGE_RUN "$INSTDIR\LYYDownloader.exe"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\乐影音下载器授权文件.txt"
!insertmacro MUI_PAGE_FINISH; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES; Language files
!insertmacro MUI_LANGUAGE "SimpChinese"; MUI end ------Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "LYYDownloader5_Setup.exe"
InstallDir "$PROGRAMFILES\LYYDownloader"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails showSection "MainSection" SEC01Delete "$APPDATA\iMath\LYYDownloader.ini"SetOutPath "$INSTDIR\imageformats"File "..\build\exe.win32-3.5\imageformats\qdds.dll"File "..\build\exe.win32-3.5\imageformats\qgif.dll"File "..\build\exe.win32-3.5\imageformats\qicns.dll"File "..\build\exe.win32-3.5\imageformats\qico.dll"File "..\build\exe.win32-3.5\imageformats\qjpeg.dll"File "..\build\exe.win32-3.5\imageformats\qsvg.dll"File "..\build\exe.win32-3.5\imageformats\qtga.dll"File "..\build\exe.win32-3.5\imageformats\qtiff.dll"File "..\build\exe.win32-3.5\imageformats\qwbmp.dll"File "..\build\exe.win32-3.5\imageformats\qwebp.dll"SetOutPath "$INSTDIR"File "..\build\exe.win32-3.5\LYYDownloader.exe"CreateDirectory "$SMPROGRAMS\乐影音下载器"CreateShortCut "$SMPROGRAMS\乐影音下载器\LYYDownloader.lnk" "$INSTDIR\LYYDownloader.exe"CreateShortCut "$DESKTOP\LYYDownloader.lnk" "$INSTDIR\LYYDownloader.exe"File "..\build\exe.win32-3.5\MSVCP140.dll"SetOutPath "$INSTDIR\platforms"File "..\build\exe.win32-3.5\platforms\qminimal.dll"File "..\build\exe.win32-3.5\platforms\qoffscreen.dll"File "..\build\exe.win32-3.5\platforms\qwindows.dll"SetOutPath "$INSTDIR"File "..\build\exe.win32-3.5\pyexpat.pyd"File "..\build\exe.win32-3.5\PyQt5.QtCore.pyd"File "..\build\exe.win32-3.5\PyQt5.QtGui.pyd"File "..\build\exe.win32-3.5\PyQt5.QtNetwork.pyd"File "..\build\exe.win32-3.5\PyQt5.QtWebSockets.pyd"File "..\build\exe.win32-3.5\PyQt5.QtWidgets.pyd"File "..\build\exe.win32-3.5\python35.dll"File "..\build\exe.win32-3.5\python35.zip"File "..\build\exe.win32-3.5\pythoncom35.dll"File "..\build\exe.win32-3.5\pywintypes35.dll"File "..\build\exe.win32-3.5\Qt5Core.dll"File "..\build\exe.win32-3.5\Qt5Gui.dll"File "..\build\exe.win32-3.5\Qt5Network.dll"File "..\build\exe.win32-3.5\Qt5Svg.dll"File "..\build\exe.win32-3.5\Qt5WebSockets.dll"File "..\build\exe.win32-3.5\Qt5Widgets.dll"File "..\build\exe.win32-3.5\qt_zh_CN.qm"File "..\build\exe.win32-3.5\select.pyd"File "..\build\exe.win32-3.5\sip.pyd"File "..\build\exe.win32-3.5\unicodedata.pyd"File "..\build\exe.win32-3.5\VCRUNTIME140.dll"File "..\build\exe.win32-3.5\win32api.pyd"File "..\build\exe.win32-3.5\win32com.shell.shell.pyd"File "..\build\exe.win32-3.5\win32wnet.pyd"File "..\build\exe.win32-3.5\_bz2.pyd"File "..\build\exe.win32-3.5\_ctypes.pyd"File "..\build\exe.win32-3.5\_decimal.pyd"File "..\build\exe.win32-3.5\_hashlib.pyd"File "..\build\exe.win32-3.5\_lzma.pyd"File "..\build\exe.win32-3.5\_multiprocessing.pyd"File "..\build\exe.win32-3.5\_socket.pyd"File "..\build\exe.win32-3.5\_ssl.pyd"File "..\build\exe.win32-3.5\乐影音下载器授权文件.txt"${If} ${RunningX64}File "..\dist\LYYDownloader\ffmpeg\64\ffmpeg.exe"${Else}File "..\dist\LYYDownloader\ffmpeg\32\ffmpeg.exe"${EndIf}
SectionEndSection -AdditionalIconsWriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"CreateShortCut "$SMPROGRAMS\乐影音下载器\软件主页.lnk" "$INSTDIR\${PRODUCT_NAME}.url"CreateShortCut "$SMPROGRAMS\乐影音下载器\Uninstall.lnk" "$INSTDIR\uninst.exe"
SectionEndSection -PostWriteUninstaller "$INSTDIR\uninst.exe"WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\ffmpeg\32\ffmpeg.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\ffmpeg\32\ffmpeg.exe"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEndFunction un.onUninstSuccessHideWindowMessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从你的计算机移除。"
FunctionEndFunction un.onInitMessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "你确实要完全移除 $(^Name) ,其及所有的组件?" IDYES +2Abort
FunctionEndSection UninstallDelete "$INSTDIR\${PRODUCT_NAME}.url"Delete "$INSTDIR\uninst.exe"Delete "$INSTDIR\乐影音下载器授权文件.txt"Delete "$INSTDIR\_ssl.pyd"Delete "$INSTDIR\_socket.pyd"Delete "$INSTDIR\_multiprocessing.pyd"Delete "$INSTDIR\_lzma.pyd"Delete "$INSTDIR\_hashlib.pyd"Delete "$INSTDIR\_decimal.pyd"Delete "$INSTDIR\_ctypes.pyd"Delete "$INSTDIR\_bz2.pyd"Delete "$INSTDIR\win32wnet.pyd"Delete "$INSTDIR\win32com.shell.shell.pyd"Delete "$INSTDIR\win32api.pyd"Delete "$INSTDIR\VCRUNTIME140.dll"Delete "$INSTDIR\unicodedata.pyd"Delete "$INSTDIR\sip.pyd"Delete "$INSTDIR\select.pyd"Delete "$INSTDIR\qt_zh_CN.qm"Delete "$INSTDIR\Qt5Widgets.dll"Delete "$INSTDIR\Qt5WebSockets.dll"Delete "$INSTDIR\Qt5Svg.dll"Delete "$INSTDIR\Qt5Network.dll"Delete "$INSTDIR\Qt5Gui.dll"Delete "$INSTDIR\Qt5Core.dll"Delete "$INSTDIR\pywintypes35.dll"Delete "$INSTDIR\pythoncom35.dll"Delete "$INSTDIR\python35.zip"Delete "$INSTDIR\python35.dll"Delete "$INSTDIR\PyQt5.QtWidgets.pyd"Delete "$INSTDIR\PyQt5.QtWebSockets.pyd"Delete "$INSTDIR\PyQt5.QtNetwork.pyd"Delete "$INSTDIR\PyQt5.QtGui.pyd"Delete "$INSTDIR\PyQt5.QtCore.pyd"Delete "$INSTDIR\pyexpat.pyd"Delete "$INSTDIR\platforms\qwindows.dll"Delete "$INSTDIR\platforms\qoffscreen.dll"Delete "$INSTDIR\platforms\qminimal.dll"Delete "$INSTDIR\MSVCP140.dll"Delete "$INSTDIR\LYYDownloader.exe"Delete "$INSTDIR\imageformats\qwebp.dll"Delete "$INSTDIR\imageformats\qwbmp.dll"Delete "$INSTDIR\imageformats\qtiff.dll"Delete "$INSTDIR\imageformats\qtga.dll"Delete "$INSTDIR\imageformats\qsvg.dll"Delete "$INSTDIR\imageformats\qjpeg.dll"Delete "$INSTDIR\imageformats\qico.dll"Delete "$INSTDIR\imageformats\qicns.dll"Delete "$INSTDIR\imageformats\qgif.dll"Delete "$INSTDIR\imageformats\qdds.dll"Delete "$INSTDIR\ffmpeg\64\ffmpeg.exe"Delete "$INSTDIR\ffmpeg\32\ffmpeg.exe"Delete "$SMPROGRAMS\乐影音下载器\Uninstall.lnk"Delete "$SMPROGRAMS\乐影音下载器\软件主页.lnk"Delete "$DESKTOP\LYYDownloader.lnk"Delete "$SMPROGRAMS\乐影音下载器\LYYDownloader.lnk"Delete "$APPDATA\iMath\LYYDownloader.ini"      ;一开始那么多行添加文件之前也要有RMDir "$APPDATA\iMath\乐影音下载未完成"RMDir "$SMPROGRAMS\乐影音下载器"RMDir "$INSTDIR\platforms"RMDir "$INSTDIR\imageformats"Delete "$INSTDIR\ffmpeg.exe"RMDir "$INSTDIR"DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"SetAutoClose true
SectionEnd

InnoSetup比NSS好用,下面是一些碎片记录相关推荐

  1. nginx NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG) 处理

    今天遇到nginx NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG) 处理,简单记录一下: 端口要配置为支持ssl 不能同时ssl on及 listen ...

  2. Fortinet“安立方”架构获得NSS Labs BDS 组测试多攻击维度100%检出率佳绩

    Fortinet(NASDAQ:FTNT),近日公布了在NSS Labs最新违规检测系统(BDS:Breach Detection System) 组测试 中的成绩.Fortinet参加测试的沙箱解决 ...

  3. Failed to initialize NSS library

    最近遇到了一个棘手的问题,因为安装软件包,导致rpm,yum无法使用,其他影响面未知,不过已经解决了. 1.造成原因 通过rpm安装软件包时,使用了--nodeps , --force的命令,在不依赖 ...

  4. ubuntu 16.04安装visual studio code 提示libnss3版本低:NSS = 3.26 is required

    Linux Ubuntu 1604安装VS CODE之后,执行./code报错误: [3781:0914/160851.489979:FATAL:nss_util.cc(632)] NSS_Versi ...

  5. STM32 SPI NSS 引脚为不能拉高问题

    使用过 STM32 的SPI 的朋友可能都会发现一个问题,那就是其NSS引脚 在硬件模式下无法自动拉高,可能也因为这个原因致使  .大部分朋友在使用SPI时候都是优先选用软件 控制NSS引脚的工作模式 ...

  6. stm32之spi之NSS管脚信号

    NSS管脚及我们熟知的片选信号,作为主设备NSS管脚为高电平,从设备NSS管脚为低电平.当NSS管脚为低电平时,该spi设备被选中,可以和主设备进行通信.在stm32中,每个spi控制器的NSS信号引 ...

  7. 解决STM32 SPI 半残废 NSS无法拉高

    众所周知,STM32  SPI是个半残废,NSS无法自动拉高,所以使用SPI 从机会一直使能,当主机是一对多的时候,就会出现SPI从机互相干扰的问题. 我利用GPIO中断,代替NSS引脚,使用过程如下 ...

  8. 关于STM中SPI运用的NSS引脚解读

    STM的NSS引脚        首先我们说该引脚有两个电平需要注意,一个是与NSS引脚连接的外部电平,一个是NSS引脚的内部电平.        然后我们知道在SPI通信的时候master必须在NS ...

  9. 关于STM32 SPI NSS的讨论

    源:关于STM32 SPI NSS的讨论 转载于:https://www.cnblogs.com/LittleTiger/p/8784643.html

最新文章

  1. SRTP是如何工作的
  2. android 之json对象解析并展示(含json解析源码)
  3. iOS开发UI篇—iOS开发中三种简单的动画设置
  4. 【知识强化】第一章 操作系统概述 1.1 操作系统的基本概念
  5. 电脑和服务器ip作用是什么意思,分配ip地址的服务器-服务器IP地址和客户端IP地址有什么区别? – 手机爱问...
  6. SQL脚本文件的部署研究
  7. 39、JAVA_WEB开发基础之ajax和json
  8. linux服务器家目录,linux服务器根目录空间不足
  9. Atitit 定时器在项目的应用于 servless数据库 atikvdb 目录 1.1. 项目背景 1 1.2. 特点::免驱动。简单快捷。。 1 1.3. 功能指标 1 1.4. 模块与功能实
  10. 鼎捷T100权限管控设定
  11. 软件工程中如何设计测试用例
  12. java开发购物系统菜单_Java控制台购物系统
  13. 一英国公司打造极速家庭宽带:每秒1G
  14. compiz在debian上的安装和使用
  15. 软件测试如何分类?又有哪些类别?
  16. 西门子PLC与Unity3D通讯丨PROFINET通讯
  17. HTTPS的工作原理
  18. 风控基础指标之决策树的特征选择
  19. MTK-call history operate
  20. Android 进阶17:Fragment FragmentManager FragmentTransaction 深入理解

热门文章

  1. 计算机组成原理期末复习第三章-3(唐朔飞)
  2. C51单片机 1602显示一排方块的问题
  3. HDU 3549 网络流水题
  4. awk file1 file2问题总结
  5. sql server 获取当前日期所在得周一和周日
  6. 蓝桥杯同一类型题目汇总
  7. 三个月从GRE小白到327
  8. 3588 usb摄像头调试
  9. 方向不对,努力白费,人生三大“陷阱”,你踩了几个?
  10. 【以太网数据包】OICQ数据包(QQ)