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:\PeopleSoft\E811\OneWorld Client Install_897\Install.inf"   GOTO :Activate897
IF NOT EXIST "E:\PeopleSoft\E811\OneWorld Client Install_897\Install.inf"   GOTO :Activate896

:Activate896
ECHO Activating 896
PAUSE
MOVE "E:\PeopleSoft\E811\OneWorld Client Install" "E:\PeopleSoft\E811\OneWorld Client Install_897"
MOVE "E:\PeopleSoft\E811\OneWorld Client Install_896" "E:\PeopleSoft\E811\OneWorld Client Install"
MOVE "E:\PeopleSoft\E811\SYSTEM" "E:\PeopleSoft\E811\SYSTEM_897"
MOVE "E:\PeopleSoft\E811\SYSTEM_896" "E:\PeopleSoft\E811\SYSTEM"
MOVE "E:\PeopleSoft\E811\SYSTEMCOMP" "E:\PeopleSoft\E811\SYSTEMCOMP_897"
MOVE "E:\PeopleSoft\E811\SYSTEMCOMP_896" "E:\PeopleSoft\E811\SYSTEMCOMP"
SET WHATDONE=Activated 896
GOTO :END

:Activate897
ECHO Activating 897
PAUSE
MOVE "E:\PeopleSoft\E811\OneWorld Client Install" "E:\PeopleSoft\E811\OneWorld Client Install_896"
MOVE "E:\PeopleSoft\E811\OneWorld Client Install_897" "E:\PeopleSoft\E811\OneWorld Client Install"
MOVE "E:\PeopleSoft\E811\SYSTEM" "E:\PeopleSoft\E811\SYSTEM_896"
MOVE "E:\PeopleSoft\E811\SYSTEM_897" "E:\PeopleSoft\E811\SYSTEM"
MOVE "E:\PeopleSoft\E811\SYSTEMCOMP" "E:\PeopleSoft\E811\SYSTEMCOMP_896"
MOVE "E:\PeopleSoft\E811\SYSTEMCOMP_897" "E:\PeopleSoft\E811\SYSTEMCOMP"
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:\Windows\JDE.INI" "C:\Windows\JDE_897.INI"
REN "C:\Windows\JDE_896.INI" "C:\Windows\JDE.INI"
Tags: EnterpriseOne - General, Microsoft, oneworld, peoplesoft, world

Related posts

Post a Comment