Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
fe3b8926
Commit
fe3b8926
authored
16 years ago
by
Stéphane Wirtel
Browse files
Options
Downloads
Patches
Plain Diff
rename tinyerp to openerp
bzr revid: stephane@tinyerp.com-20080910074221-6cu9fn1eog4y5ciu
parent
a05e6fe4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openerp-server-installer.nsi
+29
-29
29 additions, 29 deletions
openerp-server-installer.nsi
with
29 additions
and
29 deletions
tiny
erp-server-installer.nsi
→
open
erp-server-installer.nsi
+
29
−
29
View file @
fe3b8926
...
...
@@ -11,14 +11,14 @@
;General
;Name and file
Name "
Tiny
ERP Server"
OutFile "
tiny
erp-server-setup.exe"
Name "
Open
ERP Server"
OutFile "
open
erp-server-setup.exe"
;Default installation folder
InstallDir "$PROGRAMFILES\
Tiny
ERP Server"
InstallDir "$PROGRAMFILES\
Open
ERP Server"
;Get installation folder from registry if available
InstallDirRegKey HKCU "Software\
Tiny
ERP Server" ""
InstallDirRegKey HKCU "Software\
Open
ERP Server" ""
;Vista redirects $SMPROGRAMS to all users without this
RequestExecutionLevel admin
...
...
@@ -37,11 +37,11 @@
;--------------------------------
;Pages
!define MUI_ICON ".\pixmaps\
tiny
erp.ico"
!define MUI_UNICON ".\pixmaps\
tiny
erp.ico"
!define MUI_WELCOMEFINISHPAGE_BITMAP ".\pixmaps\
tiny
erp-intro.bmp"
!define MUI_ICON ".\pixmaps\
open
erp.ico"
!define MUI_UNICON ".\pixmaps\
open
erp.ico"
!define MUI_WELCOMEFINISHPAGE_BITMAP ".\pixmaps\
open
erp-intro.bmp"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP ".\pixmaps\
tiny
erp-header.bmp"
!define MUI_HEADERIMAGE_BITMAP ".\pixmaps\
open
erp-header.bmp"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "doc\\License.rtf"
...
...
@@ -50,8 +50,8 @@
;Start Menu Folder Page Configuration
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\
Tiny
ERP Server"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "
Tiny
ERP Server"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\
Open
ERP Server"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "
Open
ERP Server"
!insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER
...
...
@@ -60,7 +60,7 @@
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_CHECKED
!define MUI_FINISHPAGE_RUN_TEXT "Start
Tiny
ERP Server"
!define MUI_FINISHPAGE_RUN_TEXT "Start
Open
ERP Server"
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchLink"
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_FINISHPAGE_SHOWREADME $INSTDIR\README.txt
...
...
@@ -79,9 +79,9 @@
;--------------------------------
;Installer Sections
Section "
Tiny
ERP Server" Sec
Tiny
ERPServer
Section "
Open
ERP Server" Sec
Open
ERPServer
nsExec::Exec "net stop
tiny
erp-service"
nsExec::Exec "net stop
open
erp-service"
sleep 2
SetOutPath "$INSTDIR"
...
...
@@ -95,11 +95,11 @@ Section "TinyERP Server" SecTinyERPServer
File "win32\\stop.bat"
;Store installation folder
WriteRegStr HKCU "Software\
Tiny
ERP Server" "" $INSTDIR
WriteRegStr HKCU "Software\
Open
ERP Server" "" $INSTDIR
;Create uninstaller
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\
Tiny
ERP Server" "DisplayName" "
Tiny
ERP Server (remove only)"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\
Tiny
ERP Server" "UninstallString" "$INSTDIR\Uninstall.exe"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\
Open
ERP Server" "DisplayName" "
Open
ERP Server (remove only)"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\
Open
ERP Server" "UninstallString" "$INSTDIR\Uninstall.exe"
WriteUninstaller "$INSTDIR\Uninstall.exe"
...
...
@@ -107,27 +107,27 @@ Section "TinyERP Server" SecTinyERPServer
;Create shortcuts
CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\
Tiny
ERP Server.lnk" "$INSTDIR\
tiny
erp-server.exe"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\
Open
ERP Server.lnk" "$INSTDIR\
open
erp-server.exe"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Start service.lnk" "$INSTDIR\service\start.bat"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Stop service.lnk" "$INSTDIR\service\stop.bat"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Edit config.lnk" "notepad.exe" "$INSTDIR\
tiny
erp-server.conf"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\View log.lnk" "notepad.exe" "$INSTDIR\
tiny
erp-server.log"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Edit config.lnk" "notepad.exe" "$INSTDIR\
open
erp-server.conf"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\View log.lnk" "notepad.exe" "$INSTDIR\
open
erp-server.log"
!insertmacro MUI_STARTMENU_WRITE_END
nsExec::Exec '"$INSTDIR\\
tiny
erp-server.exe" --stop-after-init --logfile "$INSTDIR\\
tiny
erp-server.log" -s'
nsExec::Exec '"$INSTDIR\\service\\
Tiny
ERPServerService.exe" -auto -install'
nsExec::Exec '"$INSTDIR\\
open
erp-server.exe" --stop-after-init --logfile "$INSTDIR\\
open
erp-server.log" -s'
nsExec::Exec '"$INSTDIR\\service\\
Open
ERPServerService.exe" -auto -install'
SectionEnd
;Descriptions
;Language strings
LangString DESC_Sec
Tiny
ERPServer ${LANG_ENGLISH} "
Tiny
ERP Server."
LangString DESC_Sec
Open
ERPServer ${LANG_ENGLISH} "
Open
ERP Server."
;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${Sec
Tiny
ERPServer} $(DESC_Sec
Tiny
ERPServer)
!insertmacro MUI_DESCRIPTION_TEXT ${Sec
Open
ERPServer} $(DESC_Sec
Open
ERPServer)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;--------------------------------
...
...
@@ -135,9 +135,9 @@ SectionEnd
Section "Uninstall"
nsExec::Exec "net stop
tiny
erp-service"
nsExec::Exec "net stop
open
erp-service"
sleep 2
nsExec::Exec '"$INSTDIR\\service\\
Tiny
ERPServerService.exe" -remove'
nsExec::Exec '"$INSTDIR\\service\\
Open
ERPServerService.exe" -remove'
sleep 2
;ADD YOUR OWN FILES HERE...
...
...
@@ -172,7 +172,7 @@ Section "Uninstall"
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
Delete "$SMPROGRAMS\$MUI_TEMP\
Tiny
ERP Server.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\
Open
ERP Server.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\Start service.lnk"
Delete "$SMPROGRAMS\$MUI_TEMP\Stop service.lnk"
...
...
@@ -192,13 +192,13 @@ Section "Uninstall"
StrCmp $MUI_TEMP $SMPROGRAMS startMenuDeleteLoopDone startMenuDeleteLoop
startMenuDeleteLoopDone:
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
Tiny
ERP Server"
DeleteRegKey /ifempty HKCU "Software\
Tiny
ERP Server"
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
Open
ERP Server"
DeleteRegKey /ifempty HKCU "Software\
Open
ERP Server"
SectionEnd
Function LaunchLink
nsExec::Exec "net start
tiny
erp-service"
nsExec::Exec "net start
open
erp-service"
FunctionEnd
Function un.RmDirsButOne
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment