cancel
Showing results for 
Search instead for 
Did you mean: 

upgrading from SAP GUI 6.40 to SAP GUI 7.20 using Script.

0 Kudos
256

Dear All.

Currently we have in our organization 550 pcs, with Windows XP, Windows 7.

When we implemented SAP ERP 6.0 (NW 7.0) was installed manually the SAP GUI VERSION 6.40.

Nowadays we require to deploy the SAP GUI version 7.20 to all the pcs through SAP INSTALLATION SERVERS but we are facing problems uninstalling the old version SAP GUI 6.40.

For that purpose I created an script which the following steps:

echo START uninstalling GUI640

C:\WINDOWS\SAPwksta\setup\sapsetup.exe /noRestart /uninstall /Silent

echo END uninstalling GUI640

echo START INSTALLING GUI720 PATCH3 using INSTALLATION SERVER.

*
10.39.19.101\SAPGUISETUP\Setup\NwSapSetup.exe /Silent /Package="GUI720STD"*

echo END INSTALLING GUI720 PATCH3

Result: SAP GUI 7.20 does not work. When I double click it does not start. There is no error message in the screen.

I have checked logs but there is no errors when it is uninstalled the old SAP GUI 6.40 version.

The temporary solution that we have is to :

- uninstall manually old SAP GUI version 6.40, which implies visit each PC. We have 550 pcs which is a lot of work.

- restart the PC.

- install SAP GUI 7.20 using INSTALLATION SERVER.

Question:

Does anybody knows an effective way to uninstall the old version 6.40 (which was installed previously manually) using scripts ?

Thanks for your comments.

MCM.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear MCM,

our company supports more than 3000 PCs and we have the same issue as yours.

One of my colleague find another temporary solution:

1. Upgrade the SAP GUI 6.40 to 7.10 (Patch level 20)

2. Upgrade the SAP GUI 7.10 to 7.20 (Patch level 4)

This isn't an optimal workaround and I'd like to know is there any better solution? Does anybody know how should we upgrade the SAP GUI's in one round from 6.40 to 7.20?

Many thanks for your reply.

AMCM2022
Explorer
0 Kudos

Dear Péter.

I am very glad to help you. I was thinking to apply the same procedure as you said, but it is complicated.

I found the following solution, it is working fine through script in GROUP POLICY - Active Directory-

Because GUI720 is built with Visual Studio 2008, I performed the

following steps in a PC with GUI640 already installed manually (no through Central Installation).

1. Install Microsoft Visual C++ 2008 Redistributable Package (x86) in SILENT MODE

2. Uninstall GUI640 (old version)

4. Timeout 30sec.

5. Install GUI 720.

The script is taking : 6:30 minutes.

RESULTS: SAPGUI 720 now works.

You can download Microsoft Visual C++ 2008 Redistributable Package (x86) from :

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&dis...

@echo off

echo please wait...

echo ===BEGINNING OF SCRIPT============ >> c:SAPGUIUPgradelog.txt

echo Started %date% %time% >> c:SAPGUIUpgradelog.txt

echo START INSTALLING Microsoft Visual C++ 2008 Redistributable Package (x86) %date% %time% >> c:SAPGUIUpgradelog.txt

(vcredist_x86.exe /q /norestart)

echo END INSTALLING Microsoft Visual C++ 2008 Redistributable Package (x86) %date% %time% >> c:SAPGUIUpgradelog.txt

echo START uninstalling GUI640 %date% %time% >> c:SAPGUIUpgradelog.txt

C:WINDOWSSAPwkstasetupsapsetup.exe /noRestart /uninstall /Silent

echo END uninstalling GUI640 %date% %time% >> c:SAPGUIUpgradelog.txt

echo START TIMEOUT 30 SEC BEF INSTALL GUI720 %date% %time% >> c:SAPGUIUpgradelog.txt

ping -n 30 -w 1000 0.0.0.1

echo END TIMEOUT 30 SEC BEF INSTALL GUI720 %date% %time% >> c:SAPGUIUpgradelog.txt

echo START INSTALLING GUI720 PATCH3 %date% %time% >> c:SAPGUIUpgradelog.txt

10.39.19.101SAPGUISETUPSetupNwSapSetup.exe /Silent /Package="GUI720STD"

echo END INSTALLING GUI720 PATCH3 %date% %time% >> c:SAPGUIUpgradelog.txt

echo START UPDATING SAPLOGON.INI TO APPDATA -WINDOWS XP- %date% %time% >> c:SAPGUIUpgradelog.txt

copy /V /Y /A "%WINDIR%"saplogon.ini "%APPDATA%"SAPCommonsaplogon.ini

echo END UPDATING SAPLOGON.INI TO APPDATA -WINDOWS XP- %date% %time% >> c:SAPGUIUpgradelog.txt

echo ===END OF SCRIPT============ >> c:SAPGUIUPgradelog.txt

Test it in a Pilot Project and then you can decide how you can roll out.

Regards.

Mauricio.

Former Member
0 Kudos

Hi Maurico,

What about the network bandwith? During the update process,would it utilise the network bandwith?

Hope to hear from you..

Thanks,

Azir

Former Member
0 Kudos

Hi Mauricio,

In our environment we are trying to upgrade from SAP GUI 6.4 to SAP GUI 7.20. We are not using SAP Server installation . We are trying to upgrade SAP using BBCA . We completed the phase 1 that is from SAP GUI 7.10 to SAP GUI 7.20 successfully using BBCA. the script which we used for the same is as below

@echo off

cd C:\WIN32\setup

"C:\WIN32\setup\NwSAPsetup.exe" /silent

But the same script is not working for SAP GUI 6.40 to SAP GUI 7.20 .

Please assist us on how to procedd further .

Thanks and Regards,

Nishanth Kumar G