Skip to Content
Aug 21, 2015 at 01:36 PM

Copying ini files into client workstation



I am requiring suggestion for deploying saplogon.ini files into client workstation.

As of now I have performed below activities-

1. Installed SAP GUI Installation server

2. Configured LSH

3. Created customized package and able to deploy on other client desktop successfully

I have gone through various available help which suggests to add "Copy File" option as event script-

Accordingly , I have created below event, after On Installation End tab-

strSrcFile = NwEngine.Variables.ResolveString("%SapSrcDir%\CustomerFiles\saplogon.ini")

strDstFile = "C:\Users\<User Name>\AppData\Roaming\SAP\Common\saplogon.ini"

NwEngine.Shell.CopyFile strSrcFile, strDstFile

However , SAPGUI gets installed to path C:\Users\<User Name>\AppData\Roaming\SAP\Common\saplogon.ini

where <User name> differs for each user , how can I standadarized this script for all users without much efforts upon GUI server.

I really appriciate your quick help upon this,

Thank You,