Skip to Content
0

SAPLogon Copying

Feb 10, 2017 at 10:31 PM

59

avatar image

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)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers