Planet Open ERP

Planet Open Object

openerp: what's new online

Wednesday, November 24, 2010

New Beta Installer for OpenERP 6.0

Hi all,

This post to discuss about the new Windows Installers [1] and some improvements and because I would like to have a feedback.

If you are looking for the installers for the server and the clients, you will find them if you uncompress the "All In One" ;-)



Attention: This installer only contains the base addon because it's just a test for feedback.


For feedback, you can send me an email to stw AT openerp DOT com

1. We use the profiles
We propose some profiles:
  • All In One: Will install the Server and the Clients and/or the PostgreSQL database
  • Server: Will install the Server and/or the PostgreSQL database
  • GTK Client
  • Web Client
  • Custom
2. Each installer is independent
For the uninstallation, we don't uninstall the PostgreSQL database.
With this feature, you can upgrade your OpenERP installation without to uninstall the PostgreSQL database and therefore without making a backup of the databases.

Result: You can upgrade the OpenERP installation (v6.0) with the new Installer (6.0.0 -> 6.0.1)

Even if the All In One is installed, you can separately upgrade the Clients or the Server and the addons to a new version

2.1. Registry Structure

Each component of the AllInOne Installer has its own structure in the registry of Windows.
With this improvement, you can upgrade the AllInOne 6.0.0 to 6.0.1 without to uninstall the previous installer.

HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenERP 6.0
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenERP Server 6.0
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenERP Web Client 6.0
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\OpenERP GTK Client 6.0

2.2. Directory Structure

For this version, there is a new directory structure, with this new structure, it's possible to install OpenERP 5.0 and >= 6.0


C:\Program Files\OpenERP 6.0\
    \Server
    \Client
    \Web
    \PostgreSQL

3. PostgreSQL is optional

If PostgreSQL is installed on the system, the user can't select the "Install PostgreSQL database" section, but can configure the connection to the PostgreSQL server

The installation of the server will propose a screen for the configuration of PostgreSQL.



[1] http://www.openerp.com/download/unstable/openerp-setup-6.0.0.0-RC2-test.exe

5 comments:

Fred Blauer said...

It works for me, but I can't install any add-on modules. I keep getting message "no reference available for res.roles" I can't find any way to resolve. Any assistance would be appreciated.

Stephane Wirtel said...

Hi Fred,

I won't propose assistance for this installer because it's just a test for the Windows Installer and not for the addons of OpenERP.

Thank you for your feedback.

D said...

Hello Stephane,
Your work is great, but we have a linux server with last trunk revisin (3126) and windows gtk client 6.0RC1 and your 6.0RC2 client do not work with last trunk server. However, linux gtk client RC1 do not work also with last trunk server.
We tried to build gtk client from source, but without success.

With RC1 and your beta client we find this error:
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/ioana/trunkrc62/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/ioana/trunkrc62/openerp/server/bin/service/web_services.py", line 598, in dispatch
res = fn(db, uid, *params)
File "/home/ioana/trunkrc62/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/ioana/trunkrc62/openerp/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/ioana/trunkrc62/openerp/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/ioana/trunkrc62/openerp/server/bin/osv/orm.py", line 1685, in fields_view_get
cr.execute(query, params)
File "/home/ioana/trunkrc62/openerp/server/bin/sql_db.py", line 76, in wrapper
return f(self, *args, **kwargs)
File "/home/ioana/trunkrc62/openerp/server/bin/sql_db.py", line 129, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = record
LINE 1: ...parent,id,type,inherit_id FROM ir_ui_view WHERE id=(582, E's...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

Can you rebuild beta installer with last souces?
Thanks.

gpperez said...

Hello Stephane,

I'm implementing openerp and I need a windows version for the openerp-client (only gtk client) with the last version because your version has some errors that were fixed recently.
how can i compile (in a simple way hehe) a openerp-client for windows with the last sources?

thanks in advance.

Tani said...

Windows Installers has done some improvements but if you are looking for installers for the server and the clients, you will find them if you uncompress the "All In One"
sap upgrades