wrCHpoA
(= wr change ports all)All Rights Reserved
Except where otherwise noted, all of the documentation and programs included in this software package are Copyright 2001, 2005 Wolfgang Riesterer. All rights reserved.
This software package is provided "as-is," without any warranty of any kind. The author disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall the author or his suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if the author or his suppliers have been advised of the possibility of such damages by using this software package. Your use of this software package is entirely at your own risk.
This license agreement does not authorize you to: rent, lease, reverse engineer, de-compile or disassemble the software package or its components. By using this software package you accept above license agreement.
You are hereby licensed to use this software package in a non-commercial (home/campus use only) environment. The ownership of this software package remains with the author. No redistribution without prior written permission.
www.wrUSA.net
Click here to ReadMe
wrCHpoA
(= wr change ports all)Toggle your Endeavor Voyager between DEMO and production databases.
This small utility allows toggling Endeavor Voyager applications automatically between DEMO and production databases. This is like editing your "voyager.ini" file on-the-fly and changing port settings from "Port=7xxx" to "Port=8xxx" (case sensitive!) and vice versa before the actual start of the Voyager system application. This program presumes a version 2000.1.x installation to the default folder.
This program will create a folder on your desktop that includes all shortcuts necessary to run Voyager modules in production or DEMO mode.
Usage: wrCHpoA DEMO OPAC.EXE
where you can replace "DEMO" with your institution's 3-letter symbol to run OPAC.EXE in the production databases environment. You may change OPAC.EXE to any valid executable filename of the installed Voyager system. Make sure there is a <space> character between the mode and the application's filename (between DEMO and OPAC.EXE). This program is friendly: it will make a back-up copy of your "voyager.ini" file in "voyager.bak.ini" on the first run.
Review the properties of all the shortcuts as supplied for more assistance. If you desire you may integrate the shortcuts into your START MENU to standardize all clients in your institution.
For a utility to switch between 3 different production databases (DEMO, YOURS & OTHER) or other useful/library utilities contact the internet site below.
In order to change non-standard ports (or IP addresses & timeouts etc.), a configuration file must be provided, and will override the hard coded swap values/string "Port=7xxx" to "Port=8xxx".
Create a text file using NOTEPAD that contain one line for each value/string swap in following format:
the source value, followed by a "pipe" character "|" (=ASCII
124), followed by the target value/string. Entries are case-sensitive.
Save this file to the wrCHpoA home folder, and call it: wrCHpoA.cfg. Blank lines, lines starting with the symbols ‘ : ; # * will be ignored, leading and trailing line spaces are removed. See following
example:
wrCHpoA.cfg:
; this line ignore, and all that start with either ‘ ; : # *
7010|12310
7020|12320
7030|12330
7040|12340
7050|7055
Timeout=1800|Timeout=3600
The above configuration file will switch all occurrences of 7010 to 12310, 7020 to 12320,……., Timeout=1800 to Timeout=3600
www.wrUSA.net