1 2 Previous Next 16 Replies Latest reply on Dec 2, 2015 4:11 PM by GJHorn

    Mac Silent Software Push

    GJHorn Apprentice

      Is there a way to create a silent software distribution for a dmg file for a Mac software push? The dmg file has a single package installer file on it. The switches that I see in the software distribution template refer to msi only installers.

        • 1. Re: Mac Silent Software Push
          martin.gannon Expert

          Hi GJHorn

           

          This article should provide you with all the information that you want :

          https://community.landesk.com/support/docs/DOC-34654

           

          Martin

          • 2. Re: Mac Silent Software Push
            GJHorn Apprentice

            Excellent document, Martin. Thanks. The only other item I need is the switches for the silent install. The document does not show what the switches are for any Mac software distribution package.

            • 3. Re: Mac Silent Software Push
              GJHorn Apprentice

              If I use Apple Remote Desktop software, the push goes down silently. Can Landesk do the same thing? That is the question.

              • 4. Re: Mac Silent Software Push
                martin.gannon Expert

                Hi GJHorn,

                 

                Silent switches are dependant on the package and the application. As you would in windows , without the appropriate switch in place the software will not install silently, depending on how it was designed.

                For a rules of thumb i would follow these steps:

                1. can i install the software silently with the package on the mac desktop using the package path in terminal and the appropriate switch

                2. Can i use apple remote desktop to replicate this, but remotely . If yes then

                3. Test with a landesk distrbution package. Using the pkg file. If this does not work. Create a shell script to deploy as the primary file and the pkg file as the additional file as in the document above and put the silent switch in the shell script that is run.

                 

                Martin

                • 5. Re: Mac Silent Software Push
                  GJHorn Apprentice

                  How would you use the REMEXEC commands in a custom script to run unix commands? Or run a shell script directly?

                   

                  Thanks,

                  Jerry

                  • 6. Re: Mac Silent Software Push
                    GJHorn Apprentice

                    Unfortunately the package needs to run as admin when Terminal commands. By use use of - sudo. If I use sudo in the REMEXEC command, will LD know to input the correct password in automatically?

                     

                    Regards,

                    Jerry

                    • 7. Re: Mac Silent Software Push
                      csoto Specialist

                      Jerry, any custom scripts are "run as root" already, so you do not use the sudo command. No passwords required.

                       

                      Charles

                      • 8. Re: Mac Silent Software Push
                        msalmon Apprentice

                        Are you installing a .pkg/.mpkg or a .app? I use different techniques for each.  When installing a .pkg/.mpkg using the installer command, it is done sliently.  When installing a .app, I have seen some prompt and you need to find out from the vendor what their silient install switches are.

                        My general rule is if it's a .pkg/.mpkg, I let LANDesk install it via DIstribution Package, but if it's an .app then I create a shell script to install it and use LANDesk to execute the shell script.  Most of our software I distribute are .pkg/.mpkg packages though.  I don't use the REMEXEC much since I haven't found a lot of documentation on this and I just trust shell scripts more.

                        as csoto says, all executation is done as root on Macs too, so no need to include sudo commands.

                        1 of 1 people found this helpful
                        • 9. Re: Mac Silent Software Push
                          GJHorn Apprentice

                          I understand what you are saying. I assumed most packages would run silent. However, I went to push the new Microsoft Office 2016 for Mac package and the installer window appeared on the client being pushed to. There must be something in the package which causes it not to run silently. What do you think?

                          • 10. Re: Mac Silent Software Push
                            msalmon Apprentice

                            Interesting that you are referring to Office 2016 for Mac.  I have not yet deployed it (but will be doing so "soon").  Please check out this blog I recently found regarding deploying Office 2016 via LANDesk.  Hope it helps.

                            http://blog.landesk.com/en/install-office-2016-for-mac-using-landesk-management-suite/

                            1 of 1 people found this helpful
                            • 11. Re: Mac Silent Software Push
                              Northice Expert

                              GJHorn, I've deployed Office 2016 without any prompts.  I even wrote a blog on how to install not too long ago - How to Install Microsoft Office 2016 for Mac Using LANDESK Management Suite | Apple in the Enterprise  You can review it for the steps I went through, but I didn't do anything special to the package at all.  I do zip pkg files before I put them on the core server, just to make sure the Windows OS doesn't mess with any permissions, but that's all I did when I deployed.

                              1 of 1 people found this helpful
                              • 12. Re: Mac Silent Software Push
                                Northice Expert

                                GJHorn, I just re-pushed a Office 2016 to one of my test Mac machines and it installed silently as expected.  Were you able to do the same in your environment?  If you're still getting a prompt, you may want to take a look at your Distribution and Patch agent settings and make sure it's not set to display the install (check the Distribution-only settings menu tree item).

                                • 13. Re: Mac Silent Software Push
                                  GJHorn Apprentice

                                  Here is something I tried as well. I tried a shell script. Do you think this should install silently?

                                   

                                  #!/bin/sh

                                   

                                  #change the current location to that of the sdcache

                                  cd /Library/Application\ Support/LANDesk/sdcache 

                                   

                                  #download the Microsoft Office 2016 for Mac installer package

                                  curl -O http://mycoreserver/software/mac/Microsoft_Office_2016_Volume_Installer.pkg

                                   

                                  #install the files

                                  /usr/sbin/installer -pkg Microsoft_Office_2016_Volume_Installer.pkg -target /

                                   

                                  exit 0

                                   

                                  It did not install silently. What do you think?

                                   

                                  Thanks for you help and input.

                                   

                                  Regards,

                                  Jerry

                                  • 14. Re: Mac Silent Software Push
                                    GJHorn Apprentice

                                    Hello,

                                     

                                    I've just done it again and the Microsoft Office installer window appears on the client desktop screen. I've used the zipped pkg file. The other thing which is very annoying that happens is the task goes to async mode every time I enable the scheduled task. Does anyone have any insight on the "Client has initiated asynchronous policy execution" result/status? I've run into this many times and don't see why this occurs many times.

                                     

                                    Regards,

                                    Jerry

                                    1 2 Previous Next