Automatic installations of SAP on each User PC

If you plan to do automatic installations for your SAP applications on each computer using the Windows logon scripts.
e.g. c:\winnt\system32\repl\import\scripts\ntlogon.bat

There's 3 command lines needed:

1. If you do have a GUI 4.5B or earlier already installed on the local PC, you should run SAPSWEEP to clean up the
    Windows registry. The command is:
    >Installation server>\Netinst\ SAPSWEEP /all /y /nocancel /delsubdirs /delregkeys

2. To install the GUI use command: \Netinst\SapSetup.exe /p:"Package name" /install /noDialog /silent

3. To automatically apply patches you have installed on the Installation server add the following command to your logon script:
    \Netinst \sapsetup.exe /Intellimode /CheckDB /p:

In addition you need to distribute the needed INI files

Before you can use the sapsetup /p:package name , you have to install SAPGUI Installation Server using sapgui installation CD, run sapsetup on dialog choose SAPGUI installation server.

It will then create SAPGUI Installation server and copy all the packages to the server.

It will also create a shortcut SAPADMIN.

Run SAPADMIN and it will prompt you to configure the installation server, and configure netinstall. After you have do that, you can also create your own packages using SAPADMIN dialog.

From then onwards, you can use netsetup /p:"packagename" /install /intellimode on (which is in the installation directory) your login script. You have to use options Intellimode so the user don't have to choose any options and if don't want the user to know about your installation use option /silent.

If you happened have 46B installed, you can use netsetup /update and it will update the component to 46D (an example of the new upgrade version), then you don't have to uninstall the 46B installation.

SAP Basis Reference Books:
SAP Basis Components, System Administration, Security, ALE and iDoc Books

Back to Basis Menu:
SAP BC (Basis Components) Hints and Tips

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.