Skip to content

Commit

Permalink
Add the tmp dir to the win32 installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddp committed Oct 12, 2015
1 parent e109f90 commit 9e0c96b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/win32/ossec-installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Section "OSSEC Agent (required)" MainSec
CreateDirectory "$INSTDIR\shared"
CreateDirectory "$INSTDIR\active-response"
CreateDirectory "$INSTDIR\active-response\bin"
CreateDirectory "$INSTDIR\tmp"

; install files
File ossec-lua.exe
Expand Down Expand Up @@ -410,6 +411,7 @@ Section "Uninstall"
Delete "$INSTDIR\shared\*"
Delete "$INSTDIR\active-response\bin\*"
Delete "$INSTDIR\active-response\*"
Delete "$INSTDIR\tmp\*"
Delete "$INSTDIR"

; remove shortcuts
Expand All @@ -425,5 +427,6 @@ Section "Uninstall"
RMDir "$INSTDIR\rids"
RMDir "$INSTDIR\active-response\bin"
RMDir "$INSTDIR\active-response"
RMDir "$INSTDIR\tmp"
RMDir "$INSTDIR"
SectionEnd

0 comments on commit 9e0c96b

Please sign in to comment.