It is assumed that wget, gzip, tar, and svn are available.

Do this first step on a Strawberry build.

1) Create a par file for Alien::wxWidgets, because we need to install a patched version. ($CPAN is to be replaced by your choice of CPAN mirror.)

cd C:\
wget $CPAN/authors/id/M/MB/MBARBON/Alien-wxWidgets-0.43.tar.gz
wget http://csjewell.comyr.com/perl/version-rc.patch.txt
wget http://www.commandline.co.uk/mtee/mtee.zip
gzip -d Alien-wxWidgets-0.43.tar.gz
tar -xf Alien-wxWidgets-0.43.tar
./Alien-wxWidgets-0.43/inc/bin/patch version-rc.patch.txt 
cd Alien-wxWidgets-0.43
perl Makefile.PL
perl -MPAR::Dist -eblib_to_par
(wait 40 minutes)
copy Alien-*.par c:\
cd ..

You really need to use a Bootstrap installation for the rest of these steps, because at the end of this, this will install into c:\strawberry, and you can't overwrite the host perl.

A usable Bootstrap build is at http://strawberryperl.com/download/bootstrap-perl-5.10.0.6-beta-2.msi, or you can build one yourself.

2) Install Inno Setup from http://www.innosetup.com/download.php/is.exe and WiX from http://wix.sourceforge.net/releases/3.0.5419.0/Wix3.msi

3) Install Perl::Dist::WiX from CPAN.

4) Install Perl::Dist::Strawberry from svn.

svn co http://svn.ali.as/cpan/trunk/Perl-Dist-Strawberry
cd Perl-Dist-Strawberry
perl Makefile.PL && dmake && dmake test
dmake install
cd ..

5) Install Perl::Dist::Padre from svn or from CPAN. SVN directions are below.

svn co https://svn.perlide.org/padre/trunk/Perl-Dist-Padre
cd Perl-Dist-Padre
perl Makefile.PL && dmake && dmake test
dmake install
cd ..

5a) If you want to build off a minicpan, do this:

svn co http://svn.ali.as/cpan/trunk/Perl-Dist-WiX/script
svn co http://svn.ali.as/cpan/trunk/Perl-Dist-WiX/share/minicpan_filters.txt
perl script/perldist_pdwix --dist Perl-Dist-WiX --dist Perl-Dist-Strawberry --dist Perl-Dist-Padre --minicpan C:\Padre-minicpan\

6) Actually build the dist...

set PERL_DIST_PADRE_ALIENWXWIDGETS_PAR_LOCATION=C:\Alien-wxWidgets-0.4301-MSWin32-x86-multi-thread-5.10.0.par.zip
perldist Padre 2>&1 | mtee padre-install.txt
(wait for 3-6 hours)

(pass the --cpan file://C:/Padre-minicpan/ parameter in the last line before the 2>&1 in if 4a was done.)
