Considering that the SAP setup for most is customized, this is more a proof of concept rather than an actual "one script to fit all" solution.


Script Name: Deploy SAP 7
Script Description:

IF True
THEN
Impersonate User
Parameter 1 : username
Parameter 2 : password
Parameter 3 : domainname
OS Type : 8
Execute File
Parameter 1 : \\servername\path\win32\Setup\NwSapSetup.exe
Parameter 2 : /noDlg /Package="packagename"
Parameter 3 : 1
OS Type : 8
Execute File
Parameter 1 : \\servername\path\PL6\GUI710_6-10002995.EXE
Parameter 2 : /S
Parameter 3 : 1
OS Type : 8
Execute File
Parameter 1 : \\servername\path\sapgui720\PatchLevel9\BI710SP06P_602-10004472.EXE
Parameter 2 : /noDLG
Parameter 3 : 1
OS Type : 8
Execute File
Parameter 1 : \\servername\path\sapgui720\PatchLevel9\GUI710_9-10002995.EXE
Parameter 2 : /noDLG
Parameter 3 : 1
OS Type : 8
ELSE


I am using "Impersonate user" to give network access to the agent for the install. This allows the install to be done after hours, even when the end user has been logged out. The SAP install does take a little while, so if you want to do a lot of installs, space them out a little so you won't have too many accessing the install source at the same time.

There may be more patches and other updates to be installed at the same time, and they all should have either the /noDLG or /S option available for a sort-of silent install.

Note that SAP7 breaks internet explorer 7 and 8. You will have to re-install IE7 or IE8 after the SAP install to fix this.

Legacy Forum Name: SAP Installation,
Legacy Posted By Username: Lmhansen