
	    Pakckage for building libidnkitlite on Windows
	     -- internationalized domain name toolkit --
			      version 2
	       Japan Registry Services Co., Ltd.(JPRS)


Table of contents of this file:

  1. Overview
  2. Build from source
  3. Create a binary distribution (optional)
  4. Contact information


1. Overview

This is a package for building the libidnkitlite on Microsoft Windows.
libidnkitlite is a library provided as a part of idnkit.  Note that
this kit supports idnkit version 2 only.

Applications which link to libidnkitlite of this package require
Microsoft Visual C++ 2010 runtime library.  The runtime library is
available from Microsoft download site as "Microsoft Visual C++ 2010
redistributable package".

In addition, Microsoft Visual C++ 2010 (Express or higher edition) and
Windows SDK v7.1 are required to compile libidnkitlite on Windows.

If you'd like to create a Windows Installer-based binary distribution of
libidnkitelite, also Windows Installer XML (WiX) is required.  WiX can
be obtained from:

	http://wix.sourceforge.net/index.html


2. Build from source

Extract idnkit version 2 source distribution (idnkit-2.x.tar.bz2) and
this package (idnkitlite-windows-2.x.zip) at the same directory.
Please confirm that 'README' and 'README-windows.txt' files are placed
at the same directory.

Run Microsoft Visual C++ 2010 and open the 'idnkitlite.sln' solution file.
Then build the solution.  Executable binary files will be generated at
'Debug', 'Release', 'x64\Debug' or 'x64\Release' sub-directory according
with the build target (Debug or Release) and the platform (Win32 or x64).


3. Create a binary distribution (optional)

Run a command prompt (cmd.exe) and go to the directory where 'README'
file exists.

	> cd "Somewhere\Visual Studio 2010\Projects\idnkit-2.1"

To create an installer from the Release target binaries, type the
following commands.

  32-bit (Win32):
	> Release\setversion.exe idnkitlite.wxs
	> Release\setversion.exe misc\README.txt
	> "%WIX%bin\candle.exe" idnkitlite.wxs
	> "%WIX%bin\light.exe" -ext WixUIExtension idnkitlite.wixobj

  64-bit (x64):
	> Release\setversion.exe idnkitlite-x64.wxs
	> Release\setversion.exe misc\README-x64.txt
	> "%WIX%bin\candle.exe" idnkitlite-x64.wxs
	> "%WIX%bin\light.exe" -ext WixUIExtension idnkitlite-x64.wixobj

The installer file 'idnkitlite.msi' (32-bit) or 'idnkitlite-x64.msi'
(64-bit) will be created.


4. Contact information

The latest version and information about idnkit and this package can
be found at:

	http://jprs.co.jp/idn/

Send bug reports and comments to

	idnkit-info@jprs.co.jp
