Skip to Content
2
Jun 26, 2023 at 03:37 PM

SAPSetup, how do I call uninstall SAPGUI 32bit version?

424 Views

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