Windows: building a msi installer with the help of Cygwin

General discussion regarding the development of POCO for contributors.
zosrothko
Posts: 30
Joined: 08 Aug 2014, 20:29
Location: Lille, France
Contact:

Windows: building a msi installer with the help of Cygwin

Postby zosrothko » 02 Nov 2015, 08:36

Hi

Running Cygwin as a subsystem of Win7 has a key advantage: both share the same file system. Thus, any file type independent from the underlying system like source code or html can be produced by one and used by the other. That key property is used to produce the Poco documentation under Cygwin by running "mkdoc all" and using those html files for building a msi installer while the binary files are produced by Visual Studio.

These 2 msis: Poco.1.6.1.x86.msi and Poco.1.6.1.x64.msi for VS2013 are available for test and feedback there: https://github.com/Kampbell/distro/releases


Steps for building a msi installer from the source code:
1/ clone the branch packaging from https://github.com/zosrothko/poco/tree/packaging
2/ download and install the latest WiXtoolset from there: https://wix.codeplex.com
3/ build both x86 and x64 VisualStudio binaries for all configurations with samples and tests
4/ build x86 Cygwin version with all components
5/ produce the html documentation by running mkdoc all (see the chapter Build the documentation at https://github.com/pocoproject/poco/wik ... -a-Release)
6/ in a DOS windows, goto the directory $POCO_BASE/release/distro/Windows
7/ run: build VS2013

Feedbacks and comments are welcome.

PS: For those interested by Linux packaging, there is also a work-in-progress rpm spec for Poco in $POCO_BASE/release/distro/Linux/Fedora/gcc-5.0

zosrothko
Posts: 30
Joined: 08 Aug 2014, 20:29
Location: Lille, France
Contact:

Re: Windows: building a msi installer with the help of Cygwin

Postby zosrothko » 05 Nov 2015, 07:11

Windows msi installer for VS3013 Poco-1.6.1 are now located at https://github.com/pocoproject/distro/releases


Return to “Contributors”

Who is online

Users browsing this forum: No registered users and 2 guests

cron