Imported Upstream version 2.7
[ossec-hids.git] / src / win32 / ui.nsi
1 ; This is for Vista. For some reason it is not reading
2 ; my template correctly. 
3
4 !include "MUI.nsh"
5 !define VERSION "2.7"
6 !define NAME "OSSEC HIDS"
7 !define /date CDATE "%b %d %Y at %H:%M:%S"
8
9
10 Name "${NAME} Windows Agent v${VERSION}"
11 BrandingText "Copyright (C) 2011 Trend Micro Inc."
12 OutFile "win32ui.exe"
13
14
15 InstallDir $PROGRAMFILES\ossec-agent
16
17
18   !define MUI_ICON favicon.ico
19
20
21   !insertmacro MUI_LANGUAGE "English"
22
23 ;--------------------------------
24
25 Function .onInit
26     SetOutPath $INSTDIR
27     Exec '"$INSTDIR\os_win32ui.exe" "$INSTDIR"'
28     Abort
29 FunctionEnd
30             
31
32
33 Section "OSSEC UI - Should not be called." MainSec
34 ;Required section.
35 SectionIn RO
36 SectionEnd