on 2023 Jun 26 4:37 PM
Hello SAPSetup Guru's
I am pretty new to using SAPSetup.exe and I am having trouble removing SAPGUI 7.70 32bit from our devices via SAPSetup onWindows 10 (OS-19044.3086) 64bit devices.
I can manually remove the previous 32bit SAPSUI version if I open a command promt as admin, change directory and run:
C:\Program Files (x86)\SAP\SapSetup\Setup>NwSapSetup.exe /uninstall /all /DisableRuntimeInstall /NoDlg
I was expecting to be able to be able to remove 32bit SAPGUI via SAPSetup using the below:
'====================================================================================================='
' Uninstall Previous SAP intallatios
'====================================================================================================='
NwEngine.Shell.ExecuteRC(String cmdline, Bool visible)
cmdline = %SapSrcDir%\NwSapSetup.exe /all /silent /uninstall /DisableRuntimeInstall /NoDlg
Else
NwEngine.Context.Log.Write ""%SapSrcDir%\NwSapSetup.exe " does not exist"
End If
The install fails complaining there can't be both 32 and 64bit versions in red text
Request clarification before answering.
Thank You Harish,
I am able to un-install the 32bit version via the command prompt as you say.
My question is:
Can I get NwSAPSetup.exe to remove/un-install the previous 32bit SAPGUI and also Install the new SAPGUI 8SP 64bit version?
Many thanks
Stuart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Stuart,
Yes, you can install SAPGUI 8SP 64 bit version with NWSAPSetup.exe with the following command:
C:\Program Files\SAP\SapSetup\Setup>NwSapSetup.exe /install /silent /configpath="C:\path\to\config.xml"
Kindly update the parameters as per your system.
Note: Please run the above command as an administrator.
--Regards,H.V.Dear stuart.corrigan,
If your query is resolved and you don't have any further questions, request you to accept the answer.
--
Regards,
H.V.
Dear stuart.corrigan,
The error message you encountered suggests that the installation failed due to the presence of both 32-bit and 64-bit versions of SAP GUI on your device.
To resolve this issue, you need to uninstall the SAPGUI 32-bit version from your device. You can use the following command for uninstallation:
C:\Program Files (x86)\SAP\SapSetup\Setup>NwSapSetup.exe /uninstall /all /DisableRuntimeInstall /NoDlg
After successfully uninstalling the 32-bit version, you can proceed with the installation of the SAPGUI 64-bit version using the SAPSetup.exe tool.
--
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK now i have a Reply from Support:
Dear Mr. Heckscher,
It is notpossible to perform an uninstall during an installation process using event scripts.
The reason for this behavior is that the uninstall will start a new process of NwSapSetup.exe,
however only 1 instance of NwSapSetup.exe is possible (which is already running for the installation procedure).
What you can try is to use a VBS or windows logon script to perform an uninstall first, and then start the new installation.
Best regards,
Marc
SAP Product Support
OK We will start NwSapSetup.exe twice, first for the uninstallation of SAP GUI and then for the installation..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your advise and help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.