LangString DESC_PostgreSQL_Password ${LANG_FRENCH} "Mot de passe"\r
\r
Section -StopService\r
- nsExec::Exec "net stop openerp-server-6.0"\r
+ nsExec::Exec "net stop openerp-server-6.1"\r
sleep 2\r
SectionEnd\r
\r
; CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Uninstall.lnk" "$INSTDIR\uninstall.exe"\r
; !insertmacro CreateInternetShortcut "$SMPROGRAMS\$STARTMENU_FOLDER\Forum" "http://www.openerp.com/forum"\r
; !insertmacro CreateInternetShortcut "$SMPROGRAMS\$STARTMENU_FOLDER\Translation" "https://translations.launchpad.net/openobject"\r
- !insertmacro CreateInternetShortcut "$SMPROGRAMS\$STARTMENU_FOLDER\OpenERP" "http://127.0.0.1:8069/"\r
+ !insertmacro CreateInternetShortcut "$SMPROGRAMS\$STARTMENU_FOLDER\OpenERP" "http://localhost:8069/"\r
!insertmacro MUI_STARTMENU_WRITE_END\r
\r
\r
SectionEnd\r
\r
Section -RestartServer\r
- nsExec::Exec "net start openerp-server-6.0"\r
+ nsExec::Exec "net start openerp-server-6.1"\r
sleep 2\r
SectionEnd\r
\r
; WriteRegDWORD HKLM "${UNINSTALL_REGISTRY_KEY}" "Version" "${VERSION}"\r
; WriteRegDWORD HKLM "${UNINSTALL_REGISTRY_KEY}" "VersionMajor" "${MAJOR_VERSION}.${MINOR_VERSION}"\r
; WriteRegDWORD HKLM "${UNINSTALL_REGISTRY_KEY}" "VersionMinor" "${REVISION_VERSION}"\r
-; WriteRegStr HKLM "${UNINSTALL_REGISTRY_KEY}" "HelpLink" "support@openerp.com"\r
-; WriteRegStr HKLM "${UNINSTALL_REGISTRY_KEY}" "HelpTelephone" "+32.81.81.37.00"\r
-; WriteRegStr HKLM "${UNINSTALL_REGISTRY_KEY}" "URLInfoAbout" "http://www.openerp.com"\r
-; WriteRegStr HKLM "${UNINSTALL_REGISTRY_KEY}" "Contact" "sales@openerp.com"\r
+ WriteRegStr HKLM "${UNINSTALL_REGISTRY_KEY}" "HelpLink" "support@openerp.com"\r
+ WriteRegStr HKLM "${UNINSTALL_REGISTRY_KEY}" "HelpTelephone" "+32.81.81.37.00"\r
+ WriteRegStr HKLM "${UNINSTALL_REGISTRY_KEY}" "URLInfoAbout" "http://www.openerp.com"\r
+ WriteRegStr HKLM "${UNINSTALL_REGISTRY_KEY}" "Contact" "sales@openerp.com"\r
WriteRegDWORD HKLM "${UNINSTALL_REGISTRY_KEY}" "NoModify" "1"\r
WriteRegDWORD HKLM "${UNINSTALL_REGISTRY_KEY}" "NoRepair" "1"\r
WriteUninstaller "$INSTDIR\Uninstall.exe"\r
\r
Section "Uninstall"\r
; Stop the NT Service\r
- nsExec::Exec "net stop openerp-server-6.0"\r
+ nsExec::Exec "net stop openerp-server-6.1"\r
sleep 2\r
\r
; Uninstall the OpenERP Service\r
class OpenERPServerService(win32serviceutil.ServiceFramework):
# required info
- _svc_name_ = "openerp-server-6.0"
- _svc_display_name_ = "OpenERP Server 6.0"
+ _svc_name_ = "openerp-server-6.1"
+ _svc_display_name_ = "OpenERP Server 6.1"
# optionnal info
- _svc_description_ = "OpenERP Server 6.0 service"
+ _svc_description_ = "OpenERP Server 6.1 service"
def __init__(self, args):
win32serviceutil.ServiceFramework.__init__(self, args)
# The server's binary must be one directory above the service's binary (when py2exe'd the python libraries shouldn' mix)
service_dir = os.path.dirname(sys.argv[0])
server_dir = os.path.split(service_dir)[0]
- server_path = os.path.join(server_dir, 'openerp-server.exe')
+ server_path = os.path.join(server_dir, 'server', 'openerp-server.exe')
self.terpprocess = subprocess.Popen([server_path], cwd=server_dir, creationflags=win32process.CREATE_NO_WINDOW)