Hi there,
Thank you for reaching out to Hexnode Connect.
I understand that you are looking to deploy the ManageEngine SDP Cloud application to your endpoints and execute a post-installation script so that your asset details are reflected on the ManageEngine cloud.
Let me guide you on how to achieve this for both Windows and macOS devices using Hexnode UEM.
1. For Windows Devices (Deploying the EXE package & Executing the Script):
You can deploy your EXE package as an enterprise app and execute custom scripts alongside it.
- Uploading the App: Navigate to Apps > +Add Apps > Enterprise App in your Hexnode portal. Choose Windows as the platform, select the “EXE File” category, and upload your package.
- Installation Settings: During configuration, you can add command-line parameters (for example, using /s ensures the app installs silently). You must also define a Success Criteria (such as App exists, Path exists, or Registry exists) so Hexnode can validate the installation.
- Post-Installation Script: Hexnode allows you to configure Custom scripts directly within the EXE app uninstallation/installation settings. You can embed your post-installation script here so that it executes automatically once the EXE is deployed, successfully syncing your asset details to the cloud.
2. For macOS Devices (Deploying the App & Executing the Script):
(Please note: macOS does not support EXE files, so you will need to upload the ManageEngine app package in a macOS-supported format like PKG or DMG to your Hexnode app inventory first. Also, automating macOS app deployment with scripts is viable specifically for enterprise and VPP apps).
- Deploying the Package: You can enforce the app installation by navigating to Policies > New Policy (or edit an existing one). Go to macOS > App Management > Required Apps, and click Configure.
- Adding the App: Click +Add to select the ManageEngine app from your local app repository. Just like in Windows, you can define success criteria to verify the installation (such as App Exists via bundle ID, or File Exists via file path).
- Executing the Post-Installation Script: Once the app is added, click on Configure next to the app under the Scripts column. In the Configure Scripts dialog box, switch to the Post-install Script tab. You can upload your asset-syncing script file from your device or the Hexnode repository (the file name and binary path will be auto-filled). Add any arguments if needed, and click Save. This script will execute right after the application is deployed on the system, ensuring your asset details are correctly configured.
For a deeper dive into these configurations, please check out our detailed help guides:
Please feel free to reach out, if there are any more doubts.
Best regards,
George
Hexnode UEM