65
65
!define PUBLISHER ' OpenERP S.A.'
66
66
67
67
!ifndef MAJOR_VERSION
68
- !define MAJOR_VERSION ' 7 '
68
+ !define MAJOR_VERSION ' 8 '
69
69
!endif
70
70
71
71
!ifndef MINOR_VERSION
81
81
# !define VERSION "${MAJOR_VERSION}.${MINOR_VERSION}-r${REVISION_VERSION}"
82
82
!endif
83
83
84
- !define PRODUCT_NAME " OpenERP "
84
+ !define PRODUCT_NAME " Odoo "
85
85
!define DISPLAY_NAME " ${PRODUCT_NAME} ${MAJOR_VERSION}.${MINOR_VERSION}"
86
86
87
87
!define REGISTRY_ROOT HKLM
88
88
!define UNINSTALL_BASE_REGISTRY_KEY " Software\Microsoft\Windows\CurrentVersion\Uninstall"
89
89
!define UNINSTALL_REGISTRY_KEY " ${UNINSTALL_BASE_REGISTRY_KEY}\${DISPLAY_NAME}"
90
90
91
- !define UNINSTALL_REGISTRY_KEY_SERVER " ${UNINSTALL_BASE_REGISTRY_KEY}\OpenERP Server ${VERSION}"
91
+ !define UNINSTALL_REGISTRY_KEY_SERVER " ${UNINSTALL_BASE_REGISTRY_KEY}\Odoo Server ${VERSION}"
92
92
93
93
!define REGISTRY_KEY " Software\${DISPLAY_NAME}"
94
94
@@ -106,7 +106,7 @@ ShowInstDetails show
106
106
107
107
XPStyle on
108
108
109
- InstallDir " $PROGRAMFILES\OpenERP ${VERSION}"
109
+ InstallDir " $PROGRAMFILES\Odoo ${VERSION}"
110
110
InstallDirRegKey HKCU " ${REGISTRY_KEY}" " "
111
111
112
112
BrandingText ' ${PRODUCT_NAME} ${VERSION}'
@@ -168,7 +168,7 @@ Page Custom ShowPostgreSQL LeavePostgreSQL
168
168
!define MUI_FINISHPAGE_RUN_TEXT " $(DESC_FinishPageText)"
169
169
!define MUI_FINISHPAGE_RUN_FUNCTION " LaunchLink"
170
170
!define MUI_FINISHPAGE_LINK $(DESC_FinishPage_Link)
171
- !define MUI_FINISHPAGE_LINK_LOCATION " http ://www.openerp .com/contact "
171
+ !define MUI_FINISHPAGE_LINK_LOCATION " https ://www.odoo .com/page/contactus "
172
172
!insertmacro MUI_PAGE_FINISH
173
173
174
174
!insertmacro MUI_UNPAGE_WELCOME
@@ -181,11 +181,11 @@ Page Custom ShowPostgreSQL LeavePostgreSQL
181
181
!insertmacro MUI_RESERVEFILE_LANGDLL
182
182
183
183
; English
184
- LangString DESC_OpenERP_Server ${LANG_ENGLISH} " Install the OpenERP Server with all the OpenERP standard modules."
185
- LangString DESC_PostgreSQL ${LANG_ENGLISH} " Install the PostgreSQL RDBMS used by OpenERP ."
186
- LangString DESC_FinishPage_Link ${LANG_ENGLISH} " Contact OpenERP for Partnership and/or Support"
184
+ LangString DESC_OpenERP_Server ${LANG_ENGLISH} " Install the Odoo Server with all the Odoo standard modules."
185
+ LangString DESC_PostgreSQL ${LANG_ENGLISH} " Install the PostgreSQL RDBMS used by Odoo ."
186
+ LangString DESC_FinishPage_Link ${LANG_ENGLISH} " Contact Odoo for Partnership and/or Support"
187
187
LangString DESC_AtLeastOneComponent ${LANG_ENGLISH} " You have to choose at least one component"
188
- LangString DESC_CanNotInstallPostgreSQL ${LANG_ENGLISH} " You can not install the PostgreSQL database without the OpenERP Server"
188
+ LangString DESC_CanNotInstallPostgreSQL ${LANG_ENGLISH} " You can not install the PostgreSQL database without the Odoo Server"
189
189
LangString WARNING_HostNameIsEmpty ${LANG_ENGLISH} " The hostname for the connection to the PostgreSQL Server is empty"
190
190
LangString WARNING_UserNameIsEmpty ${LANG_ENGLISH} " The username for the connection to the PostgreSQL Server is empty"
191
191
LangString WARNING_PasswordIsEmpty ${LANG_ENGLISH} " The password for the connection to the PostgreSQL Server is empty"
@@ -197,16 +197,16 @@ LangString DESC_PostgreSQL_Username ${LANG_ENGLISH} "Username"
197
197
LangString DESC_PostgreSQL_Password ${LANG_ENGLISH} " Password"
198
198
LangString Profile_AllInOne ${LANG_ENGLISH} " All In One"
199
199
LangString Profile_Server ${LANG_ENGLISH} " Server only"
200
- LangString TITLE_OpenERP_Server ${LANG_ENGLISH} " OpenERP Server"
200
+ LangString TITLE_OpenERP_Server ${LANG_ENGLISH} " Odoo Server"
201
201
LangString TITLE_PostgreSQL ${LANG_ENGLISH} " PostgreSQL Database"
202
- LangString DESC_FinishPageText ${LANG_ENGLISH} " Start OpenERP "
202
+ LangString DESC_FinishPageText ${LANG_ENGLISH} " Start Odoo "
203
203
204
204
; French
205
- LangString DESC_OpenERP_Server ${LANG_FRENCH} " Installation du Serveur OpenERP avec tous les modules OpenERP standards."
206
- LangString DESC_PostgreSQL ${LANG_FRENCH} " Installation de la base de donn?es PostgreSQL utilis?e par OpenERP ."
207
- LangString DESC_FinishPage_Link ${LANG_FRENCH} " Contactez OpenERP pour un Partenariat et/ou du Support"
205
+ LangString DESC_OpenERP_Server ${LANG_FRENCH} " Installation du Serveur Odoo avec tous les modules Odoo standards."
206
+ LangString DESC_PostgreSQL ${LANG_FRENCH} " Installation de la base de donn?es PostgreSQL utilis?e par Odoo ."
207
+ LangString DESC_FinishPage_Link ${LANG_FRENCH} " Contactez Odoo pour un Partenariat et/ou du Support"
208
208
LangString DESC_AtLeastOneComponent ${LANG_FRENCH} " Vous devez choisir au moins un composant"
209
- LangString DESC_CanNotInstallPostgreSQL ${LANG_FRENCH} " Vous ne pouvez pas installer la base de donn?es PostgreSQL sans le serveur OpenERP "
209
+ LangString DESC_CanNotInstallPostgreSQL ${LANG_FRENCH} " Vous ne pouvez pas installer la base de donn?es PostgreSQL sans le serveur Odoo "
210
210
LangString WARNING_HostNameIsEmpty ${LANG_FRENCH} " L'adresse pour la connection au serveur PostgreSQL est vide"
211
211
LangString WARNING_UserNameIsEmpty ${LANG_FRENCH} " Le nom d'utilisateur pour la connection au serveur PostgreSQL est vide"
212
212
LangString WARNING_PasswordIsEmpty ${LANG_FRENCH} " Le mot de passe pour la connection au serveur PostgreSQL est vide"
@@ -218,9 +218,9 @@ LangString DESC_PostgreSQL_Username ${LANG_FRENCH} "Utilisateur"
218
218
LangString DESC_PostgreSQL_Password ${LANG_FRENCH} " Mot de passe"
219
219
LangString Profile_AllInOne ${LANG_FRENCH} " All In One"
220
220
LangString Profile_Server ${LANG_FRENCH} " Seulement le serveur"
221
- LangString TITLE_OpenERP_Server ${LANG_FRENCH} " Serveur OpenERP "
221
+ LangString TITLE_OpenERP_Server ${LANG_FRENCH} " Serveur Odoo "
222
222
LangString TITLE_PostgreSQL ${LANG_FRENCH} " Installation du serveur de base de donn?es PostgreSQL"
223
- LangString DESC_FinishPageText ${LANG_FRENCH} " Démarrer OpenERP "
223
+ LangString DESC_FinishPageText ${LANG_FRENCH} " Démarrer Odoo "
224
224
225
225
InstType $(Profile_AllInOne)
226
226
InstType $(Profile_Server)
@@ -256,10 +256,10 @@ Section $(TITLE_OpenERP_Server) SectionOpenERP_Server
256
256
nsExec::Exec ' "$INSTDIR\service\win32_service.exe" -auto -install'
257
257
258
258
# TODO: don't hardcode the service name
259
- nsExec::Exec " net stop openerp -server-8.0"
259
+ nsExec::Exec " net stop odoo -server-8.0"
260
260
sleep 2
261
261
262
- nsExec::Exec " net start openerp -server-8.0"
262
+ nsExec::Exec " net start odoo -server-8.0"
263
263
sleep 2
264
264
265
265
SectionEnd
@@ -282,7 +282,7 @@ Section $(TITLE_PostgreSQL) SectionPostgreSQL
282
282
--mode unattended \
283
283
--prefix "$INSTDIR\PostgreSQL" \
284
284
--datadir "$INSTDIR\PostgreSQL\data" \
285
- --servicename "PostgreSQL_For_OpenERP " \
285
+ --servicename "PostgreSQL_For_Odoo " \
286
286
--serviceaccount "openpgsvc" --servicepassword "0p3npgsvcPWD" \
287
287
--superaccount "$TextPostgreSQLUsername" --superpassword "$TextPostgreSQLPassword" \
288
288
--serverport $TextPostgreSQLPort'
@@ -297,10 +297,10 @@ Section -Post
297
297
; WriteRegDWORD HKLM "${UNINSTALL_REGISTRY_KEY}" "Version" "${VERSION}"
298
298
; WriteRegDWORD HKLM "${UNINSTALL_REGISTRY_KEY}" "VersionMajor" "${MAJOR_VERSION}.${MINOR_VERSION}"
299
299
; WriteRegDWORD HKLM "${UNINSTALL_REGISTRY_KEY}" "VersionMinor" "${REVISION_VERSION}"
300
- WriteRegStr HKLM " ${UNINSTALL_REGISTRY_KEY}" " HelpLink" " support@openerp .com"
300
+ WriteRegStr HKLM " ${UNINSTALL_REGISTRY_KEY}" " HelpLink" " support@odoo .com"
301
301
WriteRegStr HKLM " ${UNINSTALL_REGISTRY_KEY}" " HelpTelephone" " +32.81.81.37.00"
302
- WriteRegStr HKLM " ${UNINSTALL_REGISTRY_KEY}" " URLInfoAbout" " http ://www.openerp .com"
303
- WriteRegStr HKLM " ${UNINSTALL_REGISTRY_KEY}" " Contact" " sales@openerp .com"
302
+ WriteRegStr HKLM " ${UNINSTALL_REGISTRY_KEY}" " URLInfoAbout" " https ://www.odoo .com"
303
+ WriteRegStr HKLM " ${UNINSTALL_REGISTRY_KEY}" " Contact" " sales@odoo .com"
304
304
WriteRegDWORD HKLM " ${UNINSTALL_REGISTRY_KEY}" " NoModify" " 1"
305
305
WriteRegDWORD HKLM " ${UNINSTALL_REGISTRY_KEY}" " NoRepair" " 1"
306
306
WriteUninstaller " $INSTDIR\Uninstall.exe"
@@ -318,8 +318,8 @@ Section "Uninstall"
318
318
ReadRegStr $0 HKLM " ${UNINSTALL_REGISTRY_KEY_SERVER}" " UninstallString"
319
319
ExecWait ' "$0" /S'
320
320
321
- nsExec::Exec " net stop openerp -server-8.0"
322
- nsExec::Exec " sc delete openerp -server-8.0"
321
+ nsExec::Exec " net stop odoo -server-8.0"
322
+ nsExec::Exec " sc delete odoo -server-8.0"
323
323
sleep 2
324
324
325
325
Rmdir /r " $INSTDIR\server"
0 commit comments