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
9bf71891
Commit
9bf71891
authored
16 years ago
by
Stéphane Wirtel
Browse files
Options
Downloads
Patches
Plain Diff
Check if there is a previous installation of OpenERP Server
bzr revid: stephane@tinyerp.com-20081031202822-w62fwnuei6o3hoan
parent
7e6d4f22
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
+4
-1
4 additions, 1 deletion
openerp-server-installer.nsi
with
4 additions
and
1 deletion
openerp-server-installer.nsi
+
4
−
1
View file @
9bf71891
...
...
@@ -89,6 +89,10 @@ Var STARTMENU_FOLDER
;Installer Sections
Section "OpenERP Server" SecOpenERPServer
ClearErrors
ReadRegStr $0 HKCU "Software\OpenERP Server" ""
IfErrors +2 0
Abort "Can't install this version of OpenERP Server, because there is a previous installation on this system !"
nsExec::Exec "net stop openerp-service"
sleep 2
...
...
@@ -143,7 +147,6 @@ LangString DESC_SecOpenERPServer ${LANG_ENGLISH} "OpenERP Server."
;Uninstaller Section
Section "Uninstall"
nsExec::Exec "net stop openerp-service"
sleep 2
nsExec::Exec '"$INSTDIR\service\OpenERPServerService.exe" -remove'
...
...
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