Antivirus with DMG installer and arguments

New Contributor

We moved to a new antivirus named DeepInstinct and they provided a DMG file for installation. During install there is data need to be entered (for example server address and tags). Please see pic below.


Command line install instruction from vendor is below.
1. Mount the DMG installation file :open <path><DMG_installation_file>
2. Install : sudo "/Volumes/Deep Instinct/" <servername> [/tag <tag>]

Converting the DMG as source in Composer shows the following files inside the package.

I am fairly new to packaging and this looks little complicated for me. I can't package this using snapshot method (since it is an Antivirus). Any suggestions would be greatly appreciated.


New Contributor

Did you ever get this working successfully? In the same boat, with no luck. Please let me know!

Contributor II

Not used this app, but the way I would get this working is to package the installer and the files, not to install just to copy to a temp location such as /private/tmp. You do that by putting the files where you want them in a temp location, then in composer, drag them to the source on the left and package as a dmg. The policy you make when run will not install anything just copy to the target device. Then you can have a script that will run the command from the temp location.