perldist_strawberry - Build strawberry-perl-like distribution for MS Windows
This script is used by Strawberry Perl [http://strawberryperl.com] project for building release packages (MSI, MSM, ZIP, portable/ZIP).
To build strawberry-perl-like distribution you will need to prepare a build environment:
We recommend using portable edition. BEWARE You'll need to install Strawberry Perl to a directory OTHER THAN C:\strawberry.
Take this module either from CPAN or the latest version from SVN [http://svn.ali.as/cpan/trunk/Perl-Dist-Strawberry/]
We recommend using version 3.8.
Download WiX from [http://wix.sourceforge.net].
No need to install WiX via MSI installer,
you can only download/unpack ZIPped WiX binaries and use option
The build process can be launched by:
c:\> perldist_strawberry -job "<dist_sharedir>/32bit-220.127.116.11.pp" or c:\> perldist_strawberry -job "<dist_sharedir>/64bit-18.104.22.168.pp"
The whole build process uses only 2 directories:
-working_dir to change the defaults.
The results of the build process (*.MSI, *.MSM, *.ZIP) can be found in:
If you are about to try to build your own distribution you probably want to create a new job desription file (e.g. by cloning any of share/*.pp files distributed with this module).
Then you will run:
c:\> perldist_strawberry -job c:\buildperl\myperl-32bit.pp
When debugging your own build you should investigate some of the additional options e.g.
filename sould contain build job description, you can use placeholder '<dist_sharedir>' to choose predefined jobs which are distributed with this module (check 'share' folder in this module tarball)
default: c:\strawberry (BEWARE: dir will be destroyed during build!!)
default: autodetect WiX toolkit install directory
flag - default: 1 (0 = skip tests when installing perl modules)
flag - default: 0 (0 = skip tests when installing perl core)
level - default: 3 (you can use values 1/silent to 5/verbose)
flag - default: 1 (0 = no interactive questions)
flag - default: 0 (1 = create restorepoint after each finished step, in the next run you will be offered to continue from any of the saved restorepoints)
flag - default: 0 (1 = internet connection unavailable during build)
flag - default: 0 (1 = build perl core with debug enabled)
Show this usage info.
2011+ KMX, <email@example.com>
2009-2011 Curtis Jewell, <firstname.lastname@example.org>
2007-2009 Adam Kennedy, <email@example.com>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.