Add the copyright and use the version
bzr revid: stephane@tinyerp.com-20081103155736-b4fg6yblt1gvmit2
This commit is contained in:
parent
ff4816a1f3
commit
eeb0f8c5ae
|
@ -1,7 +1,31 @@
|
|||
; NSIS Modern User Interface
|
||||
; Start Menu Folder Selection Example Script
|
||||
; Written by Joost Verburg
|
||||
; Modified By Stephane Wirtel - Tiny SPRL
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (c) 2004-2008 Tiny SPRL (http://tiny.be) All Rights Reserved.
|
||||
#
|
||||
# WARNING: This program as such is intended to be used by professional
|
||||
# programmers who take the whole responsability of assessing all potential
|
||||
# consequences resulting from its eventual inadequacies and bugs
|
||||
# End users who are looking for a ready-to-use solution with commercial
|
||||
# garantees and support are strongly adviced to contract a Free Software
|
||||
# Service Company
|
||||
#
|
||||
# This program is Free Software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
###############################################################################
|
||||
!ifndef VERSION
|
||||
!error "Do not forget to specify the version of OpenERP - /DVERSION=<VERSION>"
|
||||
!endif
|
||||
|
||||
;--------------------------------
|
||||
;Include Modern UI
|
||||
|
@ -12,8 +36,10 @@
|
|||
;General
|
||||
|
||||
;Name and file
|
||||
Name "OpenERP Server"
|
||||
OutFile "openerp-server-setup.exe"
|
||||
Name "OpenERP Server ${VERSION}"
|
||||
OutFile "openerp-server-setup-${VERSION}.exe"
|
||||
SetCompressor lzma
|
||||
SetCompress auto
|
||||
|
||||
;Default installation folder
|
||||
InstallDir "$PROGRAMFILES\OpenERP Server"
|
||||
|
@ -21,7 +47,7 @@ InstallDir "$PROGRAMFILES\OpenERP Server"
|
|||
;Get installation folder from registry if available
|
||||
InstallDirRegKey HKCU "Software\OpenERP Server" ""
|
||||
|
||||
BrandingText "OpenERP Server v5.0-Alpha"
|
||||
BrandingText "OpenERP Server ${VERSION}"
|
||||
|
||||
;Vista redirects $SMPROGRAMS to all users without this
|
||||
RequestExecutionLevel admin
|
||||
|
@ -114,7 +140,7 @@ Section "OpenERP Server" SecOpenERPServer
|
|||
WriteRegStr HKCU "Software\OpenERP Server" "" $INSTDIR
|
||||
|
||||
;Create uninstaller
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenERP Server" "DisplayName" "OpenERP Server 5.0"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenERP Server" "DisplayName" "OpenERP Server ${VERSION}"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenERP Server" "UninstallString" "$INSTDIR\Uninstall.exe"
|
||||
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
||||
|
||||
|
|
Loading…
Reference in New Issue