File: README.TXT

package info (click to toggle)
myodbc 5.1.6-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,096 kB
  • ctags: 2,202
  • sloc: ansic: 31,914; sh: 10,400; cpp: 3,472; xml: 1,328; makefile: 389; perl: 43
file content (57 lines) | stat: -rw-r--r-- 1,390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
MSI build instructions

1) Prerequisites

- Wix 3.0 or above (http://wix.sourceforge.net)
- Resources from connectors-svnroot/wix-installer
- Microsoft Visual Studio environment
- CMake 2.4.6 (http://www.cmake.org)

2) Environment variables

- WIX_DIR
If Wix executables are not in your default path, you need to specify
WIX_DIR environment variable which points to your Wix installation 
directory.

- WIX_RESOURCE
Resource directory from connectors-svnroot/wix-installer

3) Copying files

Create the directories "doc" (for chm and license files), and "x86"
(for 32-bit binaries). To create a 64-bit package you create a "x64"
bit directory as well, i.e. a 64-bit package contains both 32-bit and
64-bit binaries. Copy the required files:

  doc/connector-odbc.chm
  doc/MYODBC5-LICENSE.TXT
  doc/MYODBC5-EXCEPTIONS.TXT
  x86/myodbc5.lib
  x86/myodbc5.dll
  x86/myodbc5S.lib
  x86/myodbc5S.dll
  x86/myodbc-installer.exe

and in addition if a 64-bit package

  x64/myodbc5.lib
  x64/myodbc5.dll
  x64/myodbc5S.lib
  x64/myodbc5S.dll
  x64/myodbc-installer.exe

4) CMake

There are two CMake options you can use to control the build

  -DMSI_64=1   build a 64-bit package
  -DPDB=1      include .pdb files

In the simple 32-bit case you just run

  cmake -G "NMake Makefiles"

5) Build MSI

Start nmake for building MyODBC msi file