Windows installations are not officially supported. By this we mean don't ask the developers for help as we have never tried to install on Windows and don't have any desire to. However, there have been numerous users that have managed to do so on their own. Here are some pointers:
1.Add a .txt file extension to your corresponding patch file (\bugzilla\testopia\patch-3.0[.x]).
2.Edit the above patch file to remove *nix line feed characters, and putting in classic DOS/Windows carriage returns.
You can do this manually, or with WordPad (write.exe) or numerous utilities such as unix2dos or tofrodos.
3.Download GNU Patch and install it in a directory in your path.
It can be downloaded from http://gnuwin32.sourceforge.net/packages/patch.htm
4.Change PERL "shebang" paths from native *nix, to a Windows Format.
If you have MySQL Server installed, the Replace utility does a great job at this:
C:\<apache path>\htdocs\bugzilla> for %i in (*.cgi) do ("<MySQL path>\bin\replace.exe" "#!/usr/bin/perl" "#!C:\perl\bin\perl" -- %i)
C:\<apache path>\htdocs\bugzilla> for %i in (*.pl) do ("<MySQL path>\bin\replace.exe" "#!/usr/bin/perl" "#!C:\perl\bin\perl" -- %i)
C:\<apache path>\htdocs\bugzilla\Bugzilla> for %i in (*.pm) do ("<MySQL path>\bin\replace.exe" "#!/usr/bin/perl" "#!C:\perl\bin\perl" -- %i)
From here the steps should be fairly identical to those above, meaning patch the files and run checksetup.pl.