Easy Tools Release Version Switch

While trying to do testing of the 8.97 Tools Release, we end up with having both the 8.96 Tools Release and the 8.97 Tools Release on our Deployment Server. This is required so that we can continue to support package builds of the 8.96 environments.

When switching from one to the other, I usually just rename the 3 important directories (OneWorld Client Install, SYSTEM & SYSTEMCOMP) by appending the Tools Release version to the end (i.e. SYSTEM -> SYSTEM_897). This can get a little tedious.

So, I through together a quick BAT file to take care of it for me.

@ECHO OFF
IF EXIST "E:PeopleSoftE811OneWorld Client Install_897Install.inf" GOTO :Activate897
IF NOT EXIST "E:PeopleSoftE811OneWorld Client Install_897Install.inf" GOTO :Activate896

:Activate896
ECHO Activating 896
PAUSE
MOVE "E:PeopleSoftE811OneWorld Client Install" "E:PeopleSoftE811OneWorld Client Install_897"
MOVE "E:PeopleSoftE811OneWorld Client Install_896" "E:PeopleSoftE811OneWorld Client Install"
MOVE "E:PeopleSoftE811SYSTEM" "E:PeopleSoftE811SYSTEM_897"
MOVE "E:PeopleSoftE811SYSTEM_896" "E:PeopleSoftE811SYSTEM"
MOVE "E:PeopleSoftE811SYSTEMCOMP" "E:PeopleSoftE811SYSTEMCOMP_897"
MOVE "E:PeopleSoftE811SYSTEMCOMP_896" "E:PeopleSoftE811SYSTEMCOMP"
SET WHATDONE=Activated 896
GOTO :END

:Activate897
ECHO Activating 897
PAUSE
MOVE "E:PeopleSoftE811OneWorld Client Install" "E:PeopleSoftE811OneWorld Client Install_896"
MOVE "E:PeopleSoftE811OneWorld Client Install_897" "E:PeopleSoftE811OneWorld Client Install"
MOVE "E:PeopleSoftE811SYSTEM" "E:PeopleSoftE811SYSTEM_896"
MOVE "E:PeopleSoftE811SYSTEM_897" "E:PeopleSoftE811SYSTEM"
MOVE "E:PeopleSoftE811SYSTEMCOMP" "E:PeopleSoftE811SYSTEMCOMP_896"
MOVE "E:PeopleSoftE811SYSTEMCOMP_897" "E:PeopleSoftE811SYSTEMCOMP"
SET WHATDONE=Activated 897
GOTO :END

:END
ECHO %WHATDONE%
pause

Yes, I realize that I will need to do some replacing for the next Tools Release.

UPDATE: Don’t forget about changing the JDE.INI file to set the correct ports:

[JDENET]
serviceNameListen=
serviceNameConnect=

I added lines similar to the following:

REN "C:WindowsJDE.INI" "C:WindowsJDE_897.INI"
REN "C:WindowsJDE_896.INI" "C:WindowsJDE.INI"

One thought on “Easy Tools Release Version Switch

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Previous post How To Throttle The Job Queue
Next post Adding To PeopleBooks Documenation