Files
Latest commit
wix
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
MSI build instructions 1) Prerequisites - Wix 3.0 or above (http://wix.codeplex.com/) - 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 with the files needed for building MSI. WIX_RESOURCE has to specify the full path to the resource subdirectory in this source package. 3) Copying files Create the directors "doc" (for 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: NOTE: X in the file names below represents a MAJOR version of the Connector ODBC Driver. doc/README.txt doc/LICENSE.txt x86/myodbcXa.lib x86/myodbcXa.dll x86/myodbcXw.lib x86/myodbcXw.dll x86/myodbcXS.lib x86/myodbcXS.dll x86/myodbc-installer.exe and in addition if a 64-bit package x64/myodbcXa.lib x64/myodbcXa.dll x64/myodbcXw.lib x64/myodbcXw.dll x64/myodbcXS.lib x64/myodbcXS.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 In the simple 32-bit case you just run cmake -G "NMake Makefiles" 5) Build MSI Start nmake for building MyODBC msi file