Tidy up unused Windows installer pages.
This commit is contained in:
parent
34293d07c1
commit
9df80cfab1
@ -18,8 +18,7 @@ InstallDir "$PROGRAMFILES\mosquitto"
|
||||
; Installer pages
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
|
||||
Page custom DependencyPage
|
||||
!insertmacro MUI_PAGE_COMPONENTS
|
||||
;!insertmacro MUI_PAGE_COMPONENTS
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
@ -55,8 +54,8 @@ Section "Files" SecInstall
|
||||
File "..\readme.md"
|
||||
File "..\readme-windows.txt"
|
||||
;File "C:\pthreads\Pre-built.2\dll\x86\pthreadVC2.dll"
|
||||
;File "C:\OpenSSL-Win32\bin\libssl_1-1.dll"
|
||||
;File "C:\OpenSSL-Win32\bin\libcrypto_1-1.dll"
|
||||
File "C:\OpenSSL-Win32\bin\libssl-1_1.dll"
|
||||
File "C:\OpenSSL-Win32\bin\libcrypto-1_1.dll"
|
||||
File "..\edl-v10"
|
||||
File "..\epl-v10"
|
||||
|
||||
@ -96,8 +95,8 @@ Section "Uninstall"
|
||||
Delete "$INSTDIR\readme.txt"
|
||||
Delete "$INSTDIR\readme-windows.txt"
|
||||
;Delete "$INSTDIR\pthreadVC2.dll"
|
||||
;Delete "$INSTDIR\libssl_1-1.dll"
|
||||
;Delete "$INSTDIR\libcrypto_1-1.dll"
|
||||
Delete "$INSTDIR\libssl-1_1.dll"
|
||||
Delete "$INSTDIR\libcrypto-1_1.dll"
|
||||
Delete "$INSTDIR\edl-v10"
|
||||
Delete "$INSTDIR\epl-v10"
|
||||
|
||||
@ -120,28 +119,3 @@ LangString DESC_SecInstall ${LANG_ENGLISH} "The main installation."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecInstall} $(DESC_SecInstall)
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||
|
||||
Var Dialog
|
||||
Var OSSLLink
|
||||
Var PTHLink
|
||||
|
||||
Function DependencyPage
|
||||
nsDialogs::Create 1018
|
||||
Pop $Dialog
|
||||
|
||||
${If} $Dialog == error
|
||||
Abort
|
||||
${EndIf}
|
||||
|
||||
${NSD_CreateLabel} 0 0 100% 12u "OpenSSL - install 'Win32 OpenSSL v1.1.0* Light' then copy libssl_1-1.dll and libcrypto_1-1.dll to the mosquitto directory"
|
||||
${NSD_CreateLink} 13u 13u 100% 12u "http://slproweb.com/products/Win32OpenSSL.html"
|
||||
Pop $OSSLLink
|
||||
${NSD_OnClick} $OSSLLink OnClick_OSSL
|
||||
|
||||
!insertmacro MUI_HEADER_TEXT_PAGE "Dependencies" "This page lists packages that must be installed if not already present"
|
||||
nsDialogs::Show
|
||||
FunctionEnd
|
||||
|
||||
Function OnClick_OSSL
|
||||
Pop $0
|
||||
ExecShell "open" "http://slproweb.com/products/Win32OpenSSL.html"
|
||||
FunctionEnd
|
||||
|
@ -19,8 +19,7 @@ InstallDir "$PROGRAMFILES64\mosquitto"
|
||||
; Installer pages
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
|
||||
Page custom DependencyPage
|
||||
!insertmacro MUI_PAGE_COMPONENTS
|
||||
;!insertmacro MUI_PAGE_COMPONENTS
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
@ -56,8 +55,8 @@ Section "Files" SecInstall
|
||||
File "..\readme.md"
|
||||
File "..\readme-windows.txt"
|
||||
;File "C:\pthreads\Pre-built.2\dll\x64\pthreadVC2.dll"
|
||||
;File "C:\OpenSSL-Win64\bin\libssl_1-1-x64.dll"
|
||||
;File "C:\OpenSSL-Win64\bin\libcrypto_1-1-x64.dll"
|
||||
File "C:\OpenSSL-Win64\bin\libssl-1_1-x64.dll"
|
||||
File "C:\OpenSSL-Win64\bin\libcrypto-1_1-x64.dll"
|
||||
File "..\edl-v10"
|
||||
File "..\epl-v10"
|
||||
|
||||
@ -97,8 +96,8 @@ Section "Uninstall"
|
||||
Delete "$INSTDIR\readme.txt"
|
||||
Delete "$INSTDIR\readme-windows.txt"
|
||||
;Delete "$INSTDIR\pthreadVC2.dll"
|
||||
;Delete "$INSTDIR\libssl_1-1-x64.dll"
|
||||
;Delete "$INSTDIR\libcrypto_1-1-x64.dll"
|
||||
Delete "$INSTDIR\libssl-1_1-x64.dll"
|
||||
Delete "$INSTDIR\libcrypto-1_1-x64.dll"
|
||||
Delete "$INSTDIR\edl-v10"
|
||||
Delete "$INSTDIR\epl-v10"
|
||||
|
||||
@ -121,28 +120,3 @@ LangString DESC_SecInstall ${LANG_ENGLISH} "The main installation."
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecInstall} $(DESC_SecInstall)
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||
|
||||
Var Dialog
|
||||
Var OSSLLink
|
||||
Var PTHLink
|
||||
|
||||
Function DependencyPage
|
||||
nsDialogs::Create 1018
|
||||
Pop $Dialog
|
||||
|
||||
${If} $Dialog == error
|
||||
Abort
|
||||
${EndIf}
|
||||
|
||||
${NSD_CreateLabel} 0 0 100% 12u "OpenSSL - install 'Win64 OpenSSL v1.1.0* Light' then copy libssl_1-1-x64.dll and libcrypto_1-1-x64.dll to the mosquitto directory"
|
||||
${NSD_CreateLink} 13u 13u 100% 12u "http://slproweb.com/products/Win32OpenSSL.html"
|
||||
Pop $OSSLLink
|
||||
${NSD_OnClick} $OSSLLink OnClick_OSSL
|
||||
|
||||
!insertmacro MUI_HEADER_TEXT_PAGE "Dependencies" "This page lists packages that must be installed if not already present"
|
||||
nsDialogs::Show
|
||||
FunctionEnd
|
||||
|
||||
Function OnClick_OSSL
|
||||
Pop $0
|
||||
ExecShell "open" "http://slproweb.com/products/Win32OpenSSL.html"
|
||||
FunctionEnd
|
||||
|
Loading…
Reference in New Issue
Block a user