Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member201355
Participant

How to add a Branding Logo to your SAP GUI Package using Installation Server Scripts.

Branding:  The branding feature can be used for SAP Signature and Cobu Design only.  Administrators can add a logo in the title bar to allow customer specific branding on SAP GUI screens.

You can integrate a company/branding logo in the titlebar of a SAP GUI session using the below script. This feature is set read-only by default In the SAP GUI Options.

The size and format of the logo should be as follows:

The optimal height for the picture is 27 pixel. The shown width can be up to 160 pixel, but only if the height of 27 is not exceeded.

Create your own logo file and copy it to the Installation Server before packaging

Add the following Scripts in the Installation Sever:

On Installation End - Script to copy the logo file from the Installation Server to the user workstation:

            strSrcFile   = NwEngine.Variables.ResolveString("%SapSrcDir%\<FilePath>\Logo.png")

            strDstFile   = "C:\<InstallationPath>\SAP\Logo.png"

NwEngine.Shell.CopyFile strSrcFile, strDstFile

On Installation End - Script to add Registry Entries to the user workstation:

NwEngine.Shell.SetRegValue "HKLM\SOFTWARE\SAP\General\Appearance\BrandingImage", "REG_SZ", "C:\<InstallationPath>\SAP\Logo.png"  

NwEngine.Shell.SetRegValue "HKLM\SOFTWARE\SAP\General\Appearance\UseBrandingImage", "REG_DWORD", "1"

Restart SAP GUI after the installation to see the logo on top right corner of your SAP GUI Screen.

See: http://wiki.sdn.sap.com/wiki/display/NWTech/SAP+GUI+Branding

1 Comment