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?