Skip to Content
avatar image
Former Member

SAPGUI 7.30 SAPLOGON.INI file

I am installing SAPGUI 7.30 with Package Installer.....

How to determine a user to copy the relevant SAPLOGON.INI file to that particular user. 

(For example:  I want to create SAPLOGON.INI file for "General User" automatically with the package installer.  How can we acheive this?)

We can select the user type by launching the tool "SAP Logon INI Change" from the start menu to create a proper SAPLOGON.INI file for a particular user on the workstation. But, I want to automate this process.

Is there any way to automate this process?  Using VBScript or Command Line parameters.

I appreciate any help in this matter.

Thanks

Thirumal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 01, 2013 at 09:02 AM

    Take a look at the following note:

    http://service.sap.com/sap/support/notes/1426178

    Regards,

    Jude.

    Also, from the installation server help files - nwsapsetupadmin.exe => Help -> Installation

    Server Help

    Regards,

    Jude

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Thurumal,
      Did you review point 9 of the above note?

      Also,under the submenu under the installation server help file.

      Administering an Installation Server

      => Maintaining Installation Packages

           => Configuring Packages and Scripting Events

                => Package Event Scripting Samples

      There are some sample vb scripts.

      Example 1: Copying a customized “SapLogon.ini” and
      “sercvices”-file:

      'This
      scripting can be added to the “On End Install” section of a SAP GUI 710 package
      event script.
      'It distributes your special version of the “SapLogon.ini” and
      services file
      'given these files exist inside a folder ‘\
      CustomerFiles’ on your
      installation server share.
      '

      1. NwEngine.Context.Log.Write
        "Event: Copying customized SapLogon.ini"
        strSrcFile = NwEngine.Variables.ResolveString("%SapSrcDir%\CustomerFiles\SapLogon.ini")
        strDstFile
        = NwEngine.Variables.ResolveString("%WinDir%\SapLogon.ini")

      If
      NwEngine.Shell.FileExist( strSrcFile ) Then
            NwEngine.Shell.CopyFile strSrcFile,
      strDstFile
      End If

      1. NwEngine.Context.Log.Write
        "Event: Copying customized services file"
        If NwEngine.Shell.FileExist("%SAPSrcDir%\CustomerFiles\services")
        Then
              NwEngine.Shell.CopyFile
        "%SAPSrcDir%\CustomerFiles\services", "%WinSysDir%\drivers\etc\services"
        End
        If