PostGIS 1.3,1.4,1.5 can coexist in the same PostgreSQL server, but must be installed in separate databases.  
This makes it a little easier to cross test different versions.  However -- all versions will share the same proj and geos dlls so you
may want to back these up libproj.dll, geos*.dll, shp2pgsql, pgsql2shp in the bin folder of your PostgreSQL install before continuing. 

--Creating a template postgis database or new postgis database  --
1) Copy the contents of this folder into C:\Program Files\PostgreSQL\8.3 or where you have installed
2) "C:\Program Files\PostgreSQL\8.3\bin\psql" -p 5432 -U postgres -c "CREATE DATABASE template_postgis15"
3) "C:\Program Files\PostgreSQL\8.3\bin\psql" -p 5432 -U postgres -d template_postgis15 -c "CREATE LANGUAGE plpgsql"
4) "C:\Program Files\PostgreSQL\8.3\bin\psql" -p 5432 -U postgres -d template_postgis15 -f "C:\Program Files\PostgreSQL\8.3\share\contrib\postgis\postgis.sql"
5) "C:\Program Files\PostgreSQL\8.3\bin\psql" -p 5432 -U postgres -d template_postgis15 -f "C:\Program Files\PostgreSQL\8.3\share\contrib\postgis\spatial_ref_sys.sql"
6) "C:\Program Files\PostgreSQL\8.3\bin\psql" -p 5432 -U postgres -d template_postgis15 -f "C:\Program Files\PostgreSQL\8.3\share\contrib\postgis\postgis_comments.sql"
7) Now you can connect via pgAdmin III and create a new postgis 1.5 database and set template to template_postgis15

-- THE SHP2PGSQL-GUI -- 
The shp2pgsql-gui can run standalone or as a plugin under PgAdminIII. To run under a PgAdminIII install,
1) copy the postgis-gui folder to your bin directory which is identified in PgAdminIII -> Options -> General -> PG-binpath
2) overwrite the plugins.ini (assuming you haven't customized it), with the one in here,
or alternatively cut in these lines into your existing PgAdmin III plugins.ini.  This should work for PgAdmin III 1.9+

----Start here --
;
; PostGIS shp2pgsql-gui (Windows):
;
Title=PostGIS Shapefile and DBF loader
Command="$$PGBINDIR\postgisgui\shp2pgsql-gui.exe" -h "$$HOSTNAME" -p $$PORT -U "$$USERNAME" -d "$$DATABASE" -W "$$PASSWORD"
Description=Open a PostGIS ESRI Shapefile or Plain dbf loader console to the current database.
KeyFile=$$PGBINDIR\postgisgui\shp2pgsql-gui.exe
Platform=windows
ServerType=postgresql
Database=Yes
SetPassword=Yes

--- End Here --

--NOTE FOR UPGRADERS --
PostGIS 1.5, 1.4,1.3  can coexist on the same PostgreSQL install but must reside in different databases, but if you wish to maintain more than one
, make sure to copy the .sql scripts into separate folders so as to not get confused


The only caveat is that there can only be one proj and one geos install, so when you copy the above, you 
will automatically upgrade your proj to 4.6.1 and your GEOS to 3.2 (3.2 has some fixes for Union topological rounding issues but is in Release candidate)

Since 1.5 is still a work in progress -- you might want to just work with test databases or restore your production
into a blank postgis 1.5 db.

If you are upgrading from 1.3 to 1.5, there are two approaches you can use.  
-- For older versions - you can only use approach B

If you are upgrading from 1.3 or 1.4 or recent SVN 1.5
-- Approach A -- this approach you should be able to use if you are upgrading a 1.3/1.4 or a fairly recent 1.5 SVN
1) Backup your database just in case (or you can skip if you are testing)
2) Run the appropriate upgrade script in share\contrib\postgis-1.5


If you are upgrading from 1.3 or 1.4 to 1.5 or older install (or earlier 1.5 SVN snapshot)
-- Approach B -- this approach you should be able to use if you are upgrading a 1.3/1.4 or an older install
1) Backup your existing database with PgAmin III (make sure not to choose drop objects before restore)
2) Create a new postgis database in PostgreSQL 8.4 using the above instructions
3) Restore your backup into this new postgis db (again you can use PgAdmin III for this)




