Skip to Content
avatar image
Former Member

SAPLogon Copying

I created an installation server and having issues getting the customized SapLogon.Ini onto the remote workstation. My script on both On Installation End and On Update End looks like this:

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

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

My installation server is located on \\server\sapgui\CustomerFiles

I have shared the Sapgui folder with Everyone(read only access and admins full access)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers