From 7dc06118cc6537e55b489c68e506f9c8a903f0bf Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 15 Nov 2005 11:06:14 +0000 Subject: [PATCH] Add installer upgrade script. --- Makefile.am | 7 ++++--- installer/upgrade.bat | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 installer/upgrade.bat diff --git a/Makefile.am b/Makefile.am index 757f829..3dcdc16 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ # # Makefile.am for psqlodbc (PostgreSQL ODBC driver) # -# $Header: /home/heikki/psqlodbc-cvs-copy/psqlodbc/Makefile.am,v 1.28 2005/11/04 19:30:16 petere Exp $ +# $Header: /home/heikki/psqlodbc-cvs-copy/psqlodbc/Makefile.am,v 1.29 2005/11/15 11:06:14 dpage Exp $ # #------------------------------------------------------------------------- @@ -49,8 +49,9 @@ EXTRA_DIST = license.txt readme.txt odbcinst.ini \ docs/unix-compilation.html docs/win32-compilation.html \ installer/banner.bmp installer/lgpl.rtf \ installer/new.bmp installer/up.bmp \ - installer/Make.bat installer/psqlodbc.wxs \ - installer/psqlodbcm.wxs installer/README.txt + installer/Make.bat installer/upgrade.bat \ + installer/psqlodbc.wxs installer/psqlodbcm.wxs \ + installer/README.txt MAINTAINERCLEANFILES = \ Makefile.in config.guess config.h.in config.sub configure \ diff --git a/installer/upgrade.bat b/installer/upgrade.bat new file mode 100644 index 0000000..fd097a3 --- /dev/null +++ b/installer/upgrade.bat @@ -0,0 +1,23 @@ +@echo off +cls +echo This file will upgrade your psqlODBC installation. +echo. +echo You must have psqlODBC 08.01.xxxx installed +echo from the official MSI installation to use this upgrade path. +echo. +echo If psqlODBC 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 psqlodbc.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 psqlodbc.msi REINSTALLMODE=vamus REINSTALL=ALL /qr -- 2.39.5