Posted on 04-10-2023 08:01 AM
Asana application does not have a .pkg file inside the .DMG? any suggestion
Here is the download link: https://asana.com/download
Solved! Go to Solution.
Posted on 04-10-2023 01:11 PM
Hey Ren,
I'm just going to go over the steps in brief here.
In brief these are the steps to build a .pkg for an app quickly without any additional customizations. If you did the above and are not seeing the app after executing the policy on your test machine we would want to verify where the app is being deployed to from the .pkg, screenshot the composer window for Asana so we can verify the directory it's being placed in.
Posted on 04-10-2023 01:43 PM
You could also consider deploying Asana via Curl script, so you don't have to keep jumping back to your policy & re-do the Composer process to get the latest version.
Instead of your Asana policy having a pkg, you could use this script instead.
#!/bin/bash
#Script to download & install Asana
cd /tmp
curl -Lo asana.dmg "https://desktop-downloads.asana.com/darwin_universal/prod/latest/Asana.dmg"
hdiutil mount asana.dmg
cp -R /Volumes/Asana/Asana.app /Applications
hdiutil unmount /Volumes/Asana
rm /tmp/asana.dmg
exit
Posted on 04-10-2023 09:42 AM
Hey Ren,
You would use Composer to install Asana and then package it. Here is Jamf's documentation on Composer and a YT Video that you can reference but please feel free to look around for a video of your choice - Composer Tutorial - YT
Posted on 04-10-2023 12:56 PM
I was able to do as the video described but not seeing application installed. video seem straight forward.
Posted on 04-10-2023 01:11 PM
Hey Ren,
I'm just going to go over the steps in brief here.
In brief these are the steps to build a .pkg for an app quickly without any additional customizations. If you did the above and are not seeing the app after executing the policy on your test machine we would want to verify where the app is being deployed to from the .pkg, screenshot the composer window for Asana so we can verify the directory it's being placed in.
Posted on 04-10-2023 01:31 PM
Levi,
Thank you for your assistance I was able to confirm this is working as you described. thank you for the detailed information
Posted on 04-10-2023 01:43 PM
You could also consider deploying Asana via Curl script, so you don't have to keep jumping back to your policy & re-do the Composer process to get the latest version.
Instead of your Asana policy having a pkg, you could use this script instead.
#!/bin/bash
#Script to download & install Asana
cd /tmp
curl -Lo asana.dmg "https://desktop-downloads.asana.com/darwin_universal/prod/latest/Asana.dmg"
hdiutil mount asana.dmg
cp -R /Volumes/Asana/Asana.app /Applications
hdiutil unmount /Volumes/Asana
rm /tmp/asana.dmg
exit
Posted on 04-11-2023 05:26 AM
Thanks for the response ill save this for future reference since it looks like i can use it at a later date.
Posted on 05-26-2023 04:27 AM
Looks like Asana has done something that breaks the create package method on 1.14.1. On the upside, the curl script does work. I had been using the package method and patch management to keep this silently updated. If anyone know how to get the package method working again, please post here.
Posted on 06-14-2023 08:39 AM
You could use the pkgbuild command, it may need to be run with sudo. Mount the dmg before running the command.
pkgbuild --install-location /Applications --component /Volumes/Asana/Asana.app ./Desktop/Asana.pkg
Posted on 06-14-2023 10:03 AM
How will i manage updating this platform if i use this method?. Thanks in advance
Posted on 06-14-2023 10:16 AM
So if you mean updating the Asana App, there's two methods, but both require to create a Smart Computer Group that knows which MAC has an outdated version of Asana so you can properly target which MACs get the update policy.
Posted on 06-19-2023 07:05 AM
I can get the app deployed however not sure how I can get this app to auto install new updates.?