* src/vm/set.c
* Reset default value to "hb_out.log".
+ mpkg_nightly.sh
+ Added script to generate nightly sources.
; TODO: Upload nightlies to sf.net.
; TODO: Change nightly filenames to match our normal source releases.
; TOFIX: Current .zip nighly has wrong (*nix) EOLs. This has to be
changed to CRLF.
* INSTALL
* Changed nightly script URLs to point to sf.net file area.
! Minor fix to bug tracker address.
* contrib/xhb/regexrpl.prg
* contrib/hbtip/httpcli.prg
* contrib/hbtip/mail.prg
! Fixed to use EMPTY() on HB_REGEX[ALL]() return
value instead of NIL check.
Required after recent change in HB_REGEX*()
return values in no-match case.
* contrib/hbcurl/hbcurl.c
* contrib/hbcurl/hbcurl.ch
+ Added support to download-to/upload-from file handle.
* contrib/hbqt/qtgui/Makefile
* contrib/hbqt/qtcore/Makefile
* contrib/hbqt/Makefile
* contrib/hbqt/gtqtc/Makefile
* contrib/hbqt/qtnetwork/Makefile
! Fixed to not build separate HBQT libs for static
linkage for non-win/wce targets.
* package/mpkg_win.nsi
* package/winuni/mpkg_win_uni.nsi
* Changed to use 'Harbour Project' as folder name in registry.
(instead of 'Harbour'). Just to be consistent.
* package/winuni/mpkg_win_uni.nsi
+ Add major.minor version number to registry folder names.
This allows multiple major versions of Harbour to be installed
in parallel.
* contrib/xhb/ttable.prg
% '&("{||" + c + "}")' -> HB_MACROBLOCK()
* contrib/xhb/trpccli.prg
* contrib/xhb/hblognet.prg
* contrib/xhb/xcstr.prg
* contrib/xhb/tedit.prg
* contrib/xhb/xdbmodst.prg
* contrib/xhb/trpc.prg
* contrib/xhb/thtm.prg
* contrib/xhb/dumpvar.prg
* contrib/xhb/xhbmt.prg
* contrib/xhb/xhberr.prg
* contrib/xhb/ttable.prg
* contrib/xhb/txml.prg
* '.NOT.' -> '!'
% ValType( x ) == "Y" -> IS*()
* Some other basic formatting and cleanup.
* src/rtl/hbini.prg
* examples/httpsrv/session.prg
* Formatting.
* tests/db_brows.prg
* tests/server.prg
* tests/testrdd2.prg
* tests/setkeys.prg
* contrib/hbtip/tests/tiptest.prg
* contrib/hbtip/tests/loadhtml.prg
* examples/hbsqlit2/tests/hbsqlite.prg
* examples/gtwvw/tests/wvwtest9.prg
* examples/gtwvw/tests/ebtest7.prg
* '.NOT.' -> '!'
177 lines
5.8 KiB
NSIS
177 lines
5.8 KiB
NSIS
;
|
|
; $Id$
|
|
;
|
|
|
|
; ---------------------------------------------------------------
|
|
; Copyright 2009 Viktor Szakats (harbour.01 syenar.hu)
|
|
; See COPYING for licensing terms.
|
|
;
|
|
; Harbour Project Nullsoft installer script (for Windows/DOS)
|
|
; [ Do not try to use this script directly. It won't work. ]
|
|
;
|
|
; Please read INSTALL for further information.
|
|
; ---------------------------------------------------------------
|
|
|
|
SetCompressor /solid lzma
|
|
|
|
!include "MUI2.nsh"
|
|
|
|
!define MUI_HEADERIMAGE
|
|
!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\win.bmp"
|
|
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
|
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\doc\readme.txt"
|
|
!define MUI_ICON "harb_win.ico"
|
|
|
|
SetDateSave on
|
|
SetDatablockOptimize on
|
|
CRCCheck on
|
|
|
|
RequestExecutionLevel user
|
|
|
|
; The name of the installer
|
|
Name "Harbour Project"
|
|
|
|
; The file to write
|
|
OutFile "$%HB_TOP%\$%HB_PKGNAME%.exe"
|
|
|
|
InstallDir C:\$%HB_PKGNAMI%
|
|
|
|
;--------------------------------
|
|
; Interface Settings
|
|
|
|
!define MUI_ABORTWARNING
|
|
|
|
;--------------------------------
|
|
; Pages
|
|
|
|
!insertmacro MUI_PAGE_WELCOME
|
|
!insertmacro MUI_PAGE_LICENSE $(MUILicense)
|
|
!insertmacro MUI_PAGE_COMPONENTS
|
|
!insertmacro MUI_PAGE_DIRECTORY
|
|
!insertmacro MUI_PAGE_INSTFILES
|
|
!insertmacro MUI_PAGE_FINISH
|
|
|
|
!insertmacro MUI_UNPAGE_WELCOME
|
|
!insertmacro MUI_UNPAGE_CONFIRM
|
|
!insertmacro MUI_UNPAGE_INSTFILES
|
|
!insertmacro MUI_UNPAGE_FINISH
|
|
|
|
;--------------------------------
|
|
; Languages
|
|
|
|
!insertmacro MUI_LANGUAGE "English"
|
|
|
|
;--------------------------------
|
|
; License Language String
|
|
|
|
LicenseLangString MUILicense ${LANG_ENGLISH} "$%HB_INSTALL_PREFIX%\COPYING"
|
|
|
|
;--------------------------------
|
|
; The stuff to install
|
|
|
|
Section "Main components" hb_main
|
|
|
|
SectionIn RO
|
|
|
|
; Set output path to the installation directory.
|
|
SetOutPath $INSTDIR
|
|
|
|
File /nonfatal "$%HB_INSTALL_PREFIX%\COPYING"
|
|
File /nonfatal "$%HB_INSTALL_PREFIX%\INSTALL"
|
|
File /nonfatal "$%HB_INSTALL_PREFIX%\TODO"
|
|
; Let it work also for DOS packages where short filename is used here
|
|
File /nonfatal "$%HB_INSTALL_PREFIX%\Change*"
|
|
|
|
SetOutPath $INSTDIR\bin
|
|
File "$%HB_INSTALL_PREFIX%\bin\*.*"
|
|
|
|
SetOutPath $INSTDIR\lib
|
|
File /r "$%HB_INSTALL_PREFIX%\lib\*.*"
|
|
|
|
SetOutPath $INSTDIR\include
|
|
File "$%HB_INSTALL_PREFIX%\include\*.*"
|
|
|
|
SetOutPath $INSTDIR\doc
|
|
File /r "$%HB_INSTALL_PREFIX%\doc\*.*"
|
|
|
|
; Write the installation path into the registry
|
|
; WriteRegStr HKLM "SOFTWARE\Harbour Project" "InstallDir" "$INSTDIR"
|
|
WriteRegStr HKCU "Software\Harbour Project" "InstallDir" "$INSTDIR"
|
|
|
|
; Write the uninstall keys for Windows
|
|
; WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Harbour Project" "DisplayName" "Harbour Project"
|
|
; WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Harbour Project" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
|
; WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Harbour Project" "NoModify" 1
|
|
; WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Harbour Project" "NoRepair" 1
|
|
WriteUninstaller "uninstall.exe"
|
|
|
|
SectionEnd
|
|
|
|
; The stuff to install
|
|
Section "Examples" hb_examples
|
|
|
|
SectionIn RO
|
|
|
|
; Set output path to the installation directory.
|
|
SetOutPath $INSTDIR\tests
|
|
|
|
SectionEnd
|
|
|
|
; Optional section (can be disabled by the user)
|
|
Section "Start Menu and Desktop icons" hb_shortcuts
|
|
|
|
; this will be the working dir for shortcuts
|
|
SetOutPath $INSTDIR
|
|
|
|
CreateShortCut "$DESKTOP\Harbour Project.lnk" "$INSTDIR" "" "$INSTDIR" 0
|
|
CreateDirectory "$SMPROGRAMS\Harbour Project"
|
|
CreateShortCut "$SMPROGRAMS\Harbour Project\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
|
|
CreateShortCut "$SMPROGRAMS\Harbour Project\Harbour Project (Command line).lnk" "cmd.exe" "/k cd $INSTDIR\bin" "cmd.exe" 0
|
|
CreateShortCut "$SMPROGRAMS\Harbour Project\Harbour Project.lnk" "$INSTDIR" "" "$INSTDIR" 0
|
|
CreateShortCut "$SMPROGRAMS\Harbour Project\hbrun.lnk" "$INSTDIR\bin\hbrun.exe" "-v" "$INSTDIR\bin\hbrun.exe" 0
|
|
CreateDirectory "$SMPROGRAMS\Harbour Project\Links"
|
|
WriteINIStr "$SMPROGRAMS\Harbour Project\Links\Homepage.url" "InternetShortcut" "URL" "http://harbour-project.org/"
|
|
WriteINIStr "$SMPROGRAMS\Harbour Project\Links\Sourceforge Page.url" "InternetShortcut" "URL" "http://sourceforge.net/projects/harbour-project/"
|
|
WriteINIStr "$SMPROGRAMS\Harbour Project\Links\Users' Mailing List.url" "InternetShortcut" "URL" "http://groups.google.com/group/harbour-users/"
|
|
WriteINIStr "$SMPROGRAMS\Harbour Project\Links\Developers' Mailing List.url" "InternetShortcut" "URL" "http://groups.google.com/group/harbour-devel/"
|
|
WriteINIStr "$SMPROGRAMS\Harbour Project\Links\Development Timeline.url" "InternetShortcut" "URL" "http://sourceforge.net/apps/trac/harbour-project/timeline"
|
|
|
|
SectionEnd
|
|
|
|
;--------------------------------
|
|
; Descriptions
|
|
|
|
; Language strings
|
|
LangString DESC_hb_main ${LANG_ENGLISH} "Main components"
|
|
LangString DESC_hb_shortcuts ${LANG_ENGLISH} "Add icons to Start Menu and Desktop"
|
|
LangString DESC_hb_examples ${LANG_ENGLISH} "Samples and tests"
|
|
|
|
; Assign language strings to sections
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${hb_main} $(DESC_hb_main)
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${hb_shortcuts} $(DESC_hb_shortcuts)
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${hb_examples} $(DESC_hb_examples)
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
|
|
|
;--------------------------------
|
|
; Uninstaller
|
|
|
|
Section "Uninstall"
|
|
|
|
; Remove files and uninstaller
|
|
RMDir /r $INSTDIR
|
|
|
|
; Remove directories used
|
|
Delete "$SMPROGRAMS\Harbour Project\Links\*.*"
|
|
RMDir "$SMPROGRAMS\Harbour Project\Links"
|
|
Delete "$SMPROGRAMS\Harbour Project\*.*"
|
|
RMDir "$SMPROGRAMS\Harbour Project"
|
|
RMDir "$INSTDIR"
|
|
|
|
Delete "$DESKTOP\Harbour Project.lnk"
|
|
|
|
; DeleteRegKey HKLM "SOFTWARE\Harbour Project"
|
|
DeleteRegKey HKCU "Software\Harbour Project"
|
|
|
|
SectionEnd
|