制作OpenERP Windows安装程序

Launchpad.net有一个制作OpenERP Windows安装程序的项目win-installer-trunk

制作OpenERP Windows安装程序_第1张图片

 

该项目doc/INSTALL文件详细说明了安装程序的制作过程:

OpenERP Quick Installation Guide
================================

1. Install theses packages
--------------------------
   nsis-2.40-setup.exe
   graphviz-2.20.2.exe
   
   python-2.5.2.msi
   egenix-mx-base-3.1.1.win32-py2.5.msi
   PyXML-0.8.4.win32-py2.5.exe
   libxml2-python-2.7.1.win32-py2.5.exe
   lxml-2.1.2.win32-py2.5.exe
   matplotlib-0.98.3.win32-py2.5.exe
   numpy-1.1.1-win32-superpack-python2.5.exe
   PIL-1.1.6.win32-py2.5.exe
   PyChart-1.39.win32.exe ( created by Stephane Wirtel )
   ReportLab-2.2.win32-py2.5.exe
   vobject-0.7.1.win32.exe ( created by Stephane Wirtel )
   
   pygobject-2.14.1-1.win32-py2.5.exe
   pygtk-2.12.1-2.win32-py2.5.exe
   pycairo-1.4.12-1.win32-py2.5.exe
   gtk-2.12.9-win32-2.exe
   gtk-dev-2.12.9-win32-2.exe
   
   pydot-1.0.2.win32.exe ( created by Stephane Wirtel )
   pyparsing-1.5.0.win32.exe
   pytz-2008i.win32.exe ( created by Stephane Wirtel )
   pywin32-212.win32-py2.5.exe
   Mako-0.3.1.win32.exe (created by Stephane Wirtel)

   py2exe-0.6.8.win32-py2.5.exe
   
   hippo-canvas-0.3.0-win32.zip - Uncompess this archive, and copy/paste the files "libhippocanvas-1-0.dll" and "hippo.pyd" into C:\Python25\DLLs\
   
   msvcp71.zip - Uncompress this archive and copy the msvcp71.dll into c:\WINDOWS\SYSTEM32
   
   psycopg2-2.0.8.win32-py2.5-pg8.3.4-release.exe

   you can install the setuptools package:
   setuptools-0.6c9.win32-py2.5.exe

2. How to get the sources
-------------------------
   Firstly, create a directory to store the files
   c:> mkdir c:\openerp
   c:>cd openerp
   c:\openerp> mkdir trunk
   c:\openerp> cd trunk
   c:\openerp\trunk> bzr clone lp:~openerp/openobject-server/trunk server
   c:\openerp\trunk> bzr clone lp:~openerp/openobject-client/trunk client
   c:\openerp\trunk> bzr clone lp:~openerp/openobject-addons/trunk addons

3. Prepare the ground
---------------------
   Copy all addons into the addons directory of the server, to include these addons in the archive
   c:\openerp\trunk> xcopy addons\* server\bin\addons -E

4. Package the server
---------------------
   c:\openerp\trunk> cd server
   c:\openerp\trunk\server> python setup.py py2exe
   c:\openerp\trunk\server> cd win32
   c:\openerp\trunk\server\win32> python setup.py py2exe
   c:\openerp\trunk\server\win32> cd ..
   c:\openerp\trunk\server> makensis /DVERSION=5.0.0-alpha openerp-server-installer.nsi

   After this instruction, you will get a new file openerp-server-setup-5.0.0-alpha.exe

5. Package the client
---------------------
   c:\openerp\trunk> cd client
   c:\openerp\trunk\client> python setup.py py2exe
   c:\openerp\trunk\client> makensis /DVERSION=5.0.0-alpha openerp-client-installer.nsi

   After this instruction, you will get a new file openerp-client-setup-5.0.0-alpha.exe

6. Package the AllInOne
-----------------------

   You will find the make.bat file, so you can use this script to package the last verison of OpenERP
   make.bat title_of_build version

   ex: make.bat openerp_5_0_7 5.0.7

 

你可能感兴趣的:(windows)