on 07-03-2018 12:37 PM
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?
Realize this is an old post, but to execute an external program, you have to use NwEngine.Shell.ExecuteEx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.