Difference between revisions of "CDDHowtoRollARelease"

Line 1: Line 1:
== Building an msi installer on windows
+
 
  
 
* prepare some directory <INSTALL_DIR> like this:
 
* prepare some directory <INSTALL_DIR> like this:

Revision as of 07:58, 30 January 2008


  • prepare some directory <INSTALL_DIR> like this:
    • INSTALL_DIR/EiffelStudio : contains the complete delivery without the ec.exe binaries (there are several ways to do this, one is take the official release version and simply add/replace the new cdd files. Currently for 6.0 these are: cdd base library classes -> library/base/ise/support/cdd, the manual_test_class.cls file -> studio/help/defaults, the new 16x16.png -> studio/bitmaps/png/, the cdd examples folder -> /examples)
    • INSTALL_DIR/gcc: the gcc directory (check out $EIFFEL_SRC/free_add_ons/gcc 'as' this)
    • INSTALL_DIR/releases/gpl_version/ec.exe (the cdd version exe, obviously)
    • INSTALL_DIR/releases/enterprise_version/ec.exe (take the same ec.exe, it's a dummy for script and won't be used)
  • let env variable INSTALL_DIR point to this <INSTALL_DIR>
  • let env variable INIT_DIR point to your Delivery/scripts/windows folder (i checked out trunk)
  • finalize the "hallow" tool (Src/tools/hallow/hallow.ecf)
  • create if not exists directory INIT_DIR/install/bin
  • copy content of Src/tools/hallow/EIFGENs/hallow/F_code to INIT_DIR/install/bin
  • get a proper setup.dll (from manus probably) and put it into INIT_DIR/install/binaries/x86/
  • (create directories that don't exist)
  • start command line, go to INIT_DIR/install/content/eiffelstudio and run:
    • nmake /nologo clean
    • nmake /nologo
    • nmake /nologo gpl_x86
  • wait some minutes .... and pray :-)