How to create a SAP Package for SCCM2012 and automatically configured SAPlogin.ini file

 
clip_image001
1. Copy the whole SAP 7.2 installer to one folder and look for one folder call setup.
clip_image002
2. Double click on NwSapSetupAdmin.exe.
clip_image003
3. Under SAP Installation Server Administration Tool, you can click on New Package.
clip_image005
4. Click on Next.
clip_image007
5. Select the SAP Component that you want to install and click on Next.
clip_image009
6. Key in the display name for your new package.
clip_image011
7. You can input the command-line name for the new package.
clip_image013
8. The new package was created successfully.
clip_image015
9. Back to the SAP Installation Administration Tools, Select the Configure Packages and click on Expand Editor.
clip_image017
10. In the Configure package page , select the On End Install and Right click to Insert Script.
clip_image019
11. Choose the Sample 1: Copying a file and then click on Insert.
clip_image021
12. No need to change anything ,just click on Save button.
clip_image023
13. Once you Save it will show changes to package was saved sucessfully
clip_image024
14. Create a folder name call CustomerFiles in SAP installer folder.
clip_image025
15. Copy the saplogon.ini inside the CustomerFiles folder.
clip_image026
16. Click on Packages and select the create package Definition File.
clip_image028
17. Key in the file name and save it .
clip_image029
18. Once you save it’s will show Pdf and SMS file created successfully.
clip_image030
19. Click on Packages and select the compress to single –file installer.
clip_image032
20. Click on Next.
clip_image034
21. Click on Browse to choose the directory you want to save the SAP packages.
clip_image035
22. SAP Setup Package compression in progress………
clip_image037
23. Click on done once is successfully created the packages.
clip_image038
24. Using this SAP Packages you can install the SAP with Command line.
Below are the command line that you can either choose /noDlg or /Silent.
clip_image039
clip_image041
25. Start installing with no Dialog SAP packages.
clip_image043
26. Successfully install SAP packages with one Packages and SAPlogin.ini is configured.
27. So in SCCM 2012 you just create a normal package with command line either /noDlg or /Silent .

Post a Comment

3 Comments

  1. Thanks for this valuable information. The sap support package stack and the automatic configuration of SAP login always give me a hard time.

    ReplyDelete
  2. hi.. Jacky,
    thank you for your sharing, it's very useful for me.
    but I think this step will not success for SAP 7.30
    could you check this step with SAP 7.30 Version
    I try many time with this step and try deploy to windows 7 clients.
    but always failed with return code: 48 (SAP logs)

    Thank you inadvance

    ReplyDelete