cancel
Showing results for 
Search instead for 
Did you mean: 

SAPGUI 7.30 SAPLOGON.INI file

former_member201355
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

jude_bradley
Advisor
Advisor
0 Kudos

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

former_member201355
Participant
0 Kudos

Jude,

Thanks for your reply.

I have already configured and distributed the general saplogon.ini file to the workstations using Installation Server.

Now, I need to distribute the INI file to the workstations based on the user type automatically. (Using VBScript or Batch file, etc.)

Example:  I want to distribute the INI file1 for "General" users, INI file2 for "Training" users and INI file3 for "Dialup" users.

I have the pre-configured INI files for these types of users. 

Thanks

Thirumal

jude_bradley
Advisor
Advisor
0 Kudos

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

Answers (0)