Install Panotools-Script on Windows
Panotools::Script is a Perl module, so for Windows you need to download and install ActiveState Perl first, I got the MSI installer for ActivePerl-126.96.36.1992.
For some reason, the installer doesn't set the PATH correctly for manually built modules, so go to Explorer -> My Computer -> right-click -> Properties -> Advanced -> Environment Variables -> System variables. Scroll to Path, click edit, and add this path to the front of the existing list of paths:
You need an extra module that isn't installed by default: In Explorer, browse to C:\Perl\bin and double-click the Perl Package Manager ppm.bat, you can use this to install pre-built add-on modules. In this case you want to install Math-Matrix.
ImageMagick is a general purpose command-line image manipulation suite, Panotools::Script uses it for various purposes such as resizing and playing with alpha channels. I downloaded the Win32 dynamic at 16 bits-per-pixel version from the ImageMagick site. Make sure that you select Install perlMagick for ActiveState Perl when you run the installer.
Autotrace is a tool for converting bitmap images to vector graphics, only install this if you plan on editing enblend masks in Inkscape.
Download autotrace from here. You need to manually extract and install this one, put the folder containing the various DLLs and EXE files somewhere like C:\Program Files\autotrace and add this to your PATH as you did for Perl and hugin.
Download the latest source-code for Panotools::Script. This is a gzipped tar archive, so you will need something like 7-zip to extract it.
make is required to build and install Perl modules, download nmake from Microsoft and double-click it to extract. Copy NMAKE.EXE and NMAKE.ERR to the directory where you extracted the Panotools::Script sources.
Test and install
Open a command window: Click Start -> Run... -> cmd -> OK.
Change to the directory where you extracted the sources:
Then run the tests:
perl Makefile.PL nmake test
The tests will produce lots of output and warnings, but at the end it should report 100% success. Finally install everything: