/build/static/layout/Breadcrumb_cap_w.png

SAP 7.30 saplogon.ini and Kace

Hi,

I created an executable using the NwSapSetupAdmin.exe and added in the after install script to copy the saplogon.ini file from the CustomerFiles folder within the install. 

Now it successfully installs and puts the correct saplogon.ini file in the correct folder when i install it locally through the exe that was created from the package. However when i upload this exe to the Dell Kace and try to deploy it, the program is installed but the saplogon.ini file is not the correct one and is just the default.

 

Anyways to fix this?

 

Thanks


1 Comment   [ + ] Show comment
  • Doesn't that file get copied to the user's profile? If I'm right, then it will of course have been copied to the profile of the local System account. I don't know anything about how KBoxes work to advise you but in your shoes, I'd simply build an MSI containing the INI and deploy that after the main deployment. Make sure that either the second MSI checks that SAPGui is installed or that the KBox does. - anonymous_9363 10 years ago

Answers (1)

Answer Summary:
I got it working now. The script was working but wouldn't overwrite an existing saplogon.ini file. I didn't want it to do that so its good. I have a basic saplogon.ini with some default connections that i wanted passed on a fresh install and now its doing that.
Posted by: dunnpy 10 years ago
Red Belt
2

I always thought that SAPLOGON.INI was one of those files you just didn't inlcude in your package - like TNSNAMES.ORA for Oracle.

Because of the potential need to change the file regularly, there are mechanisms to place for both to redirect the client to a network location that holds the file, making it much easier to update the file - which is the method I've always used.

This would remove the need to package an update to the file, and the messing about with populating it into user profiles in this case.

I believe that you can add an environment variable 'SAP_LOGON_INI_FILE' to point to the UNC path where your saplogon.ini (and sapshortcut.ini if required) is located.

SAP_LOGON_INI_FILE=\\<servername>\<sharename>\saplogon.ini

Hope that helps,

Dunnpy

 


Comments:
  • I got it working now.
    The script was working but wouldn't overwrite an existing saplogon.ini file. I didn't want it to do that so its good.
    I have a basic saplogon.ini with some default connections that i wanted passed on a fresh install and now its doing that.

    Thanks for the help! - jay316@hotmail.com 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ