Wouldnt it be easier to use the nullsoft installer? From my experience
it is much easier to use and there is lots of documentation and snippets
flying around.

Niko
----------
Corinis OpenSource Community & Content Management System
www.corinis.org

Ron Alleyne wrote:

---------- Forwarded message ----------
From: Ron Alleyne <[EMAIL PROTECTED]>
Date: Jan 2, 2006 10:35 AM
Subject: otlkcon Project MSI installer HowTo
To: "Kervin L. Pierre" <[EMAIL PROTECTED]>


Kervin,

       This e-mail serves as a description of the simple msi installer we
developed for the project last week. It might be helpful to pass this
information on to others so that it can be used and improved. Please
let me know if you have any questions.

-Ron

I. Installer Development

 A. Process Overview

1. Downloaded wix, a command-line based xml->msi conversion tool from
http://sourceforge.net/project/showfiles.php?group_id=105970. Toolset
includes compiling functionality (candle.exe), linking functionality
(light.exe) and reverse-engineering capability (msi->xml - dark.exe).
Among other things, the package also includes an        xml schema (.xsd )
for the wix "language grammar." An important concept to grasp is that
the     xml is used to describe the state the system should be in
following the installation.

2. Reviewed one of the few tutorials available from
http://www.tramontana.co.hu/wix/.  With         documentation being limited
and the schema being somewhat intimidating at first glance, the         first
four lessons along with the attendant examples were really helpful. It
should be noted that    the tutorial does not use the most recent schema
in its examples. There have been some minor     changes. It is helpful to
consult the wix schema or reverse-engineer other msi example.

3. Reviewed 6 installation requirements for open connector at
http://cvs.sourceforge.net/viewcvs.py/*checkout*/otlkcon/otlkcon0/mstore/INSTALL.txt
The plan was to just use the    msi installer to handle the first two
steps and invoke ochelper to help with the third. Additionally, a new
version 
(http://www.microsoft.com/downloads/details.aspx?familyid=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&displaylang=en
) of the redistributable Microsoft XML Parser installer module needed
to be merged with the otlkcon installer to get the xml dlls installed
properly. (Currently, the otlkcon installer does it automatically. An
optimal approach would be to see if it is installed already).

4. Hashed out .wxs file based on installation requirements and sample
tutorial. Used  compiler to produce "object" file (.wixobj). The
compiler's error reporting was very useful.     (Currently, the
description of the installer does not include an expansive user
interface. It might     be helpful to describe one that includes
licensing information. Lesson 2 of tutorial should prove        useful in
this regard)
               >> candle.exe oc.wxs

       Use linker to create actual msi. Before running linker, all files
referenced  must be in place    because tool attempts to package all of
it at link time.   (currently, this includes mstore32.dll,
       ochelper.exe, sqlite32.dll and msxml4sys32.msm)
               >> light.exe -out openconnector.msi oc.wixobj


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
otlkcon-devel mailing list
otlkcon-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/otlkcon-devel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
otlkcon-devel mailing list
otlkcon-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/otlkcon-devel

Reply via email to