/log "C:\programdata\lumu-agent-installation-output.log" /quiet WRAPPED_ARGUMENTS="/activationcode=""AAAA0000"" /acceptlicense=""true"" "
Now, we’ll go over the procedure to automate the installation of the Lumu Agent for MacOS.
This procedure applies to devices with both Intel and ARM processor architectures.
1. First, you must upload the installers using the Kaseya VSM file manager. To do this, go to the Schedule/Create section in the Manage Procedures dropdown menu using the side panel, then click on the Manage Files option as shown in the picture below.
Manage files
2. Now, you will be able to upload the installers of your choosing, just like we did in the Lumu Agent for Windows deployment procedure.
Upload macOS installers
3. Next, you must create the package installation procedure, to do this, select the New Procedure option.
Select New procedures
4. A new window will pop up where you will be prompted to name the new procedure. Give it a name and click on New. We will refer to the script as LumuMacOS for the remainder of this document.
Create the new procedure 5. An editor window will open for the LumuMacOS script. There, inside the SYSTEM folder, use the search bar to look for the following tasks, copy them and add them in order to the LumuMacOS script as individual command lines:
-
writeFile
-
installPKG
-
executePowershell
Look for each line and add them to the procedure
6. You can use the editor’s assistant to add the reference to the package easily for each command line.
Add the reference to each line
7. The following browser will pop up where you can look for the package’s location.
Pacakage's location
Once done, this is how the file should look like:
Finished file
This is an example of the content of the file’s parameters:
-
Write file: VSASharedFiles\lum_agent_mac_arm.pkg
-
installPKG: #vAgentConfiguration.agentTempSecureDir#/lum_agent_mac_arm.pkg
-
executeShellCommand: '/Applications/Lumu Agent.app/Contents/MacOS/lumuagentctl' activation_code ABcAB1aB
8. Now, save your changes and close the editor.
Save and close 9. Finally, execute the script in the devices where you want to install the agent.
Execute the script 10. You can verify the status of the procedure by checking the Agent Procedure Status section