Added debug info to download macro
This commit is contained in:
parent
1d8e6b25c9
commit
5be7005357
@ -74,6 +74,7 @@
|
|||||||
!define MUI_HEADERIMAGE_BITMAP "installer-top.bmp"
|
!define MUI_HEADERIMAGE_BITMAP "installer-top.bmp"
|
||||||
!define MUI_WELCOMEFINISHPAGE_BITMAP "installer-side.bmp"
|
!define MUI_WELCOMEFINISHPAGE_BITMAP "installer-side.bmp"
|
||||||
!define MUI_COMPONENTSPAGE_SMALLDESC
|
!define MUI_COMPONENTSPAGE_SMALLDESC
|
||||||
|
!define MUI_FINISHPAGE_NOAUTOCLOSE
|
||||||
!define MUI_ABORTWARNING
|
!define MUI_ABORTWARNING
|
||||||
|
|
||||||
; Uninstaller
|
; Uninstaller
|
||||||
@ -106,10 +107,11 @@
|
|||||||
; Macros
|
; Macros
|
||||||
|
|
||||||
!macro download url filename
|
!macro download url filename
|
||||||
|
DetailPrint "Attempting to download ${url} as ${filename}"
|
||||||
NSISdl::download ${url} ${filename}
|
NSISdl::download ${url} ${filename}
|
||||||
Pop $0
|
Pop $0
|
||||||
StrCmp $0 "success" +3
|
StrCmp $0 "success" +3
|
||||||
MessageBox MB_OK "Download failed: $0"
|
DetailPrint "Download failed: $0"
|
||||||
Quit
|
Quit
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user