Skip to Content
1
Jul 03, 2018 at 11:37 AM

Is it possible to uninstall /all on "On installation Start" from SAP Installation server?

421 Views

Hi,

I'm trying to add a script that uninstalls all old SAP components before installing a new.

I've added a script to "On installation Start" that in essence boils down to this:

strCmdLine = strAppPath + "NwSapSetup.exe /uninstall /all /nodlg /Force /ForceWindowsRestart"

NwEngine.Shell.Execute strCmdLine, vbFalse

This returns error: "An instance of NwSapSetup with Admin rights is already running, going to EXIT"

Any ideas if this is possible and what the script should look like?