[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-cvs] ossec-hids: ossec-uninstall.ico (NEW) ossec-installer.nsi (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	07/08/02 19:34:43

Modified files:
	ossec-installer.nsi
Added files:
	ossec-uninstall.ico

Log message:
Description: Adding a few more things to the windows installer. Allowing agents with dots on the name too. Last commit before 1.3 (I hope)!.
Reviewed by: dcid
Bug:

--- NEW FILE: ossec-uninstall.ico ---


üüý

Index: ossec-installer.nsi
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/win32/ossec-installer.nsi,v
diff -u -r1.32 -r1.33
--- ossec-installer.nsi	27 Jul 2007 22:41:42 -0000	1.32
+++ ossec-installer.nsi	2 Aug 2007 22:34:43 -0000	1.33
@@ -27,7 +27,8 @@
 
 ;--------------------------------
 ;Pages
-
+  !define MUI_ICON favicon.ico
+  !define MUI_UNICON ossec-uninstall.ico
   !define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the install of ${Name}.\r\n\r\nClick next to continue."
   !insertmacro MUI_PAGE_WELCOME
   !insertmacro MUI_PAGE_LICENSE "LICENSE.txt"
@@ -92,12 +93,18 @@
 Rename "$INSTDIR\win_malware_rcl.txt" "$INSTDIR\shared\win_malware_rcl.txt"
 Rename "$INSTDIR\win_audit_rcl.txt" "$INSTDIR\shared\win_audit_rcl.txt"
 Rename "$INSTDIR\win_applications_rcl.txt" "$INSTDIR\shared\win_applications_rcl.txt"
-CreateDirectory "$SMPROGRAMS\ossec"
 Delete "$SMPROGRAMS\ossec\Edit.lnk"
 Delete "$SMPROGRAMS\ossec\Uninstall.lnk"
 Delete "$SMPROGRAMS\ossec\Documentation.lnk"
 Delete "$SMPROGRAMS\ossec\Edit Config.lnk"
 Delete "$SMPROGRAMS\ossec\*.*"
+
+; Remove directories used
+RMDir "$SMPROGRAMS\ossec"
+
+; Creating SMS directory
+CreateDirectory "$SMPROGRAMS\ossec"
+      
 CreateShortCut "$SMPROGRAMS\ossec\Manage Agent.lnk" "$INSTDIR\os_win32ui.exe" "" "$INSTDIR\os_win32ui.exe" 0
 CreateShortCut "$SMPROGRAMS\ossec\Documentation.lnk" "$INSTDIR\doc.html" "" "$INSTDIR\doc.html" 0
 CreateShortCut "$SMPROGRAMS\ossec\Edit Config.lnk" "$INSTDIR\ossec.conf" "" "$INSTDIR\ossec.conf" 0


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.