Thread: SVN Commit by dpage: r4829 - trunk/pgadmin3/pkg/win32

SVN Commit by dpage: r4829 - trunk/pgadmin3/pkg/win32

From
svn@pgadmin.org
Date:
Author: dpage
Date: 2005-12-10 14:43:24 +0000 (Sat, 10 Dec 2005)
New Revision: 4829

Added:
   trunk/pgadmin3/pkg/win32/upgrade.bat
Log:
Add an upgrade script

Added: trunk/pgadmin3/pkg/win32/upgrade.bat
===================================================================
--- trunk/pgadmin3/pkg/win32/upgrade.bat    2005-12-10 14:22:17 UTC (rev 4828)
+++ trunk/pgadmin3/pkg/win32/upgrade.bat    2005-12-10 14:43:24 UTC (rev 4829)
@@ -0,0 +1,23 @@
+@echo off
+cls
+echo This file will upgrade your pgAdmin III installation.
+echo.
+echo You must have pgAdmin III v1.4.x installed
+echo from the official MSI installation to use this upgrade path.
+echo.
+echo If pgAdmin III or any of it's components are in use
+echo a reboot will be required once the upgrade is completed.
+echo.
+echo.
+echo Press Ctrl-C to abort the upgrade or
+pause
+
+REM Parameters described:
+REM  /i pgadmin3.msi           - pick MSI file to install. All properties
+REM                              will be read from existing installation.
+REM  REINSTALLMODE=vamus       - reinstall all files, regardless of version.
+REM                              This makes sure documentation and other
+REM                              non-versioned files are updated.
+REM  REINSTALL=ALL             - Reinstall all features that were previously
+REM                              installed with the new version.
+msiexec /i pgadmin3.msi REINSTALLMODE=vamus REINSTALL=ALL /qr