1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
git-svn-id: file:///home/svn/framework3/trunk@7344 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2009-11-04 03:21:14 +00:00
parent ea54f3e013
commit df9a43ac61
4 changed files with 104 additions and 0 deletions

18
external/installer-win32/cygwin.txt vendored Normal file
View File

@ -0,0 +1,18 @@
The Metasploit Framework 3.3 release uses Cygwin as a compatibility environment for the Windows platform.
The specific version of Cygwin used is a CVS snapshot from August 24th, 2009:
http://cygwin.com/snapshots/cygwin-src-20090824.tar.bz2
A patch was applied to allow other copies of Cygwin to run in parallel to Metasploit.
This patch can be found in: patches/cygwin-snapshot-20090824-1_version.diff
In accordance with the terms of the GPL, source code for all GNU and Cygwin packages
included in the Windows installation of the Metasploit Framework are available by
request. With the exception of the Cygwin patch above and items listed below, all
binaries are taken from a standard Cygwin 1.7 installation.
Packages that were not included with Cygwin but are bundled with the installer:
Ruby 1.9.1p248 (built from source)
VNCViewer.exe (from RealVNC)
WinVi32 (from www.winvi.de)

84
external/installer-win32/installer.nsi vendored Normal file
View File

@ -0,0 +1,84 @@
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "Metasploit Framework"
!define PRODUCT_VERSION "3.3"
!define PRODUCT_PUBLISHER "Rapid7 LLC"
!define PRODUCT_WEB_SITE "http://metasploit.com/framework/"
VIProductVersion "3.3.0.3"
VIAddVersionKey /LANG=1033 "ProductName" "Metasploit Framework"
VIAddVersionKey /LANG=1033 "Comments" "This is the official installer for Metasploit 3"
VIAddVersionKey /LANG=1033 "CompanyName" "Rapid7 LLC"
VIAddVersionKey /LANG=1033 "LegalTrademarks" "Metasploit is a registered trademark of Rapid7 LLC"
VIAddVersionKey /LANG=1033 "LegalCopyright" " Copyright (C) 2003-2009 Rapid7 LLC"
VIAddVersionKey /LANG=1033 "FileDescription" "Metasploit 3 Windows Installer"
VIAddVersionKey /LANG=1033 "FileVersion" "3.3.0.3"
SetCompressor /SOLID lzma
; MUI 1.67 compatible ------
!include "MUI.nsh"
; MUI Settings
!define MUI_ABORTWARNING
; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "metasploit_license.txt"
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
; !insertmacro MUI_PAGE_FINISH
; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES
; Language files
!insertmacro MUI_LANGUAGE "English"
; Reserve files
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "output.exe"
InstallDir "C:\msf3"
ShowInstDetails show
ShowUnInstDetails show
Section "MainSection" SecCore
SetOutPath $INSTDIR
File /r "/home/hdm/cygwin/msf3/\*.*"
SectionEnd
Section -AdditionalIcons
SetShellVarContext all
SectionEnd
Section -Post
WriteUninstaller "$INSTDIR\uninst.exe"
SectionEnd
Function un.onUninstSuccess
;HideWindow
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer."
FunctionEnd
Function un.onInit
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2
Abort
FunctionEnd
Section Uninstall
RMDir /r "$INSTDIR"
SetAutoClose true
SectionEnd

View File

@ -0,0 +1,2 @@
The installer is written using the Nullsoft Scriptable Installer System (NSIS).