I manage to push the pkg to the Mac (add new > custom App> I have the file on dropbox with a direct link) with Meraki. I can see the pkg-file coming in the /tmp/xxxxxx/ folder when I open the folder in Finder. But then it won'y install. And when it fails, the pkg is removed.
The same pkg downloaded from dropbox installs fine if double-clicked.
some ideas?
Below is the log from m_agent.log:
2018-05-17 22:17:38.439594 [0x70000d06a000]: fetch_to_file(): curl returned 0 for download url https://www.dropbox.com/s/qjue96kqudojx8x/dreamw2_Install.pkg?dl=1
2018-05-17 22:17:38.447865 [0x70000d06a000]: Download [647392446758154251]: Download complete: /tmp/A54B2E31-E994-5D8B-AD93-4D92C0BD199A/download/dreamw2_Install.pkg
2018-05-17 22:17:38.447906 [0x70000d06a000]: Unpack [647392446758154251]: Unpack started: /tmp/A54B2E31-E994-5D8B-AD93-4D92C0BD199A/download/dreamw2_Install.pkg
2018-05-17 22:17:38.447919 [0x70000d06a000]: Unpack [647392446758154251]: Unpack complete: /tmp/A54B2E31-E994-5D8B-AD93-4D92C0BD199A/download/dreamw2_Install.pkg
2018-05-17 22:17:38.447925 [0x70000d06a000]: Install [647392446758154251]: Install started: /tmp/A54B2E31-E994-5D8B-AD93-4D92C0BD199A/download/dreamw2_Install.pkg
2018-05-17 22:17:38.447935 [0x70000d06a000]: Install [647392446758154251]: executing in (/tmp/A54B2E31-E994-5D8B-AD93-4D92C0BD199A): /usr/sbin/installer -pkg '/tmp/A54B2E31-E994-5D8B-AD93-4D92C0BD199A/download/dreamw2_Install.pkg' -target / && echo "SUCCESS" || echo "FAILURE"
2018-05-17 22:17:38.824274 [0x70000d06a000]: Install [647392446758154251]: Install failed for /tmp/A54B2E31-E994-5D8B-AD93-4D92C0BD199A/download/dreamw2_Install.pkg: installer: Error the package path specified was invalid: '/tmp/A54B2E31-E994-5D8B-AD93-4D92C0BD199A/download/dreamw2_Install.pkg'.
FAILURE