Update Installer.nsi

Added Qt dependencies, Updater, and DSPTool to the NSIS installer script
This commit is contained in:
njensen20 2019-06-06 11:39:34 -06:00 committed by GitHub
parent 3f4952d57c
commit f03bd116d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -140,6 +140,10 @@ Section "Base" SEC01
File "${BASE_DIR}\Dolphin.exe" File "${BASE_DIR}\Dolphin.exe"
File "${BASE_DIR}\license.txt" File "${BASE_DIR}\license.txt"
File "${BASE_DIR}\*.dll" File "${BASE_DIR}\*.dll"
File "${BASE_DIR}\DSPTool.exe"
File "${BASE_DIR}\Updater.exe"
File "${BASE_DIR}\qt.conf"
File /r "${BASE_DIR}\QtPlugins"
File /r "${BASE_DIR}\Languages" File /r "${BASE_DIR}\Languages"
File /r "${BASE_DIR}\Sys" File /r "${BASE_DIR}\Sys"
@ -200,6 +204,9 @@ Section Uninstall
Delete "$INSTDIR\license.txt" Delete "$INSTDIR\license.txt"
Delete "$INSTDIR\*.dll" Delete "$INSTDIR\*.dll"
Delete "$INSTDIR\Dolphin.exe" Delete "$INSTDIR\Dolphin.exe"
Delete "$INSTDIR\qt.conf"
Delete "$INSTDIR\DSPTool.exe"
Delete "$INSTDIR\Updater.exe"
Delete "$SMPROGRAMS\${PRODUCT_NAME}\${UN_NAME}.lnk" Delete "$SMPROGRAMS\${PRODUCT_NAME}\${UN_NAME}.lnk"
Delete "$DESKTOP\${PRODUCT_NAME}.lnk" Delete "$DESKTOP\${PRODUCT_NAME}.lnk"
@ -208,6 +215,7 @@ Section Uninstall
RMDir "$SMPROGRAMS\${PRODUCT_NAME}" RMDir "$SMPROGRAMS\${PRODUCT_NAME}"
RMDir /r "$INSTDIR\Sys" RMDir /r "$INSTDIR\Sys"
RMDir /r "$INSTDIR\Languages" RMDir /r "$INSTDIR\Languages"
RMDir /r "$INSTDIR\QtPlugins"
RMDir "$INSTDIR" RMDir "$INSTDIR"
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"