File size: 663 Bytes
27867f1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
;--------------------------------
; General Attributes
Name "Headers Test"
OutFile "headers.exe"
RequestExecutionLevel user
;--------------------------------
;Interface Settings
!include "MUI2.nsh"
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"
;--------------------------------
;Installer Sections
Section "Dummy Section" SecDummy
; additional headers. Sample php returns raw headers
inetc::get /useragent "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1)" /header "SOAPAction: urn:anonOutInOpe" "http://localhost/headers.php" "$EXEDIR\headers.html"
Pop $0
MessageBox MB_OK "Download Status: $0"
SectionEnd
|