Skip to main content
Solved

How to deploy Asana ?

  • Apr 10, 2023 3:01 PM UTC
  • 14 replies
  • 228 views

Forum|alt.badge.img+6

Asana application does not have a .pkg file inside the .DMG? any suggestion 

 

Here is the download link: https://asana.com/download 

Best answer by Levi_

Hey Ren,

I'm just going to go over the steps in brief here. 

 

  1. Open the .dmg & move asana to applications folder
  2. Open Composer, Drag Asana from the applications folder to the composer project panel
  3. Set Group and Owner on Asana App
  4. Click build as package up top
  5. Upload .pkg to Jamf & Create Policy & Scope to test device
  6. Run Policy from Self Service and verify installation

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. 

View original

14 replies

Forum|alt.badge.img+7
  • Valued Contributor
  • Apr 10, 2023 4:42 PM UTC

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 


Forum|alt.badge.img+6
  • Author
  • Contributor
  • Apr 10, 2023 7:56 PM UTC

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 


I was able to do as the video described but not seeing application installed. video seem straight forward.


Forum|alt.badge.img+7
  • Valued Contributor
  • Answer
  • Apr 10, 2023 8:11 PM UTC

Hey Ren,

I'm just going to go over the steps in brief here. 

 

  1. Open the .dmg & move asana to applications folder
  2. Open Composer, Drag Asana from the applications folder to the composer project panel
  3. Set Group and Owner on Asana App
  4. Click build as package up top
  5. Upload .pkg to Jamf & Create Policy & Scope to test device
  6. Run Policy from Self Service and verify installation

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. 


Forum|alt.badge.img+6
  • Author
  • Contributor
  • Apr 10, 2023 8:31 PM UTC

Hey Ren,

I'm just going to go over the steps in brief here. 

 

  1. Open the .dmg & move asana to applications folder
  2. Open Composer, Drag Asana from the applications folder to the composer project panel
  3. Set Group and Owner on Asana App
  4. Click build as package up top
  5. Upload .pkg to Jamf & Create Policy & Scope to test device
  6. Run Policy from Self Service and verify installation

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. 


Levi,

Thank you for your assistance I was able to confirm this is working as you described. thank you for the detailed information


Forum|alt.badge.img+3
  • New Contributor
  • Apr 10, 2023 8:43 PM UTC

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

 


Forum|alt.badge.img+6
  • Author
  • Contributor
  • Apr 11, 2023 12:26 PM UTC

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

 


Thanks for the response ill save this for future reference since it looks like i can use it at a later date.


marktway
Forum|alt.badge.img+5
  • New Contributor
  • May 26, 2023 11:27 AM UTC

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

 


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. 


Forum|alt.badge.img+5
  • New Contributor
  • Jun 14, 2023 3:39 PM UTC

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. 


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

 


Forum|alt.badge.img+6
  • Author
  • Contributor
  • Jun 14, 2023 5:03 PM UTC

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

 


How will i manage updating this platform if i use this method?. Thanks in advance


Forum|alt.badge.img+3
  • New Contributor
  • Jun 14, 2023 5:16 PM UTC

How will i manage updating this platform if i use this method?. Thanks in advance


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.


Forum|alt.badge.img+6
  • Author
  • Contributor
  • Jun 19, 2023 2:05 PM UTC

I can get the app deployed however not sure how I can get this app to auto install new updates.? 


Ahadub
Forum|alt.badge.img+5
  • Contributor
  • Nov 11, 2026 2:34 PM UTC

Any suggestions on the configuration profile it needs?  Is there a json to simplify the settings it uses?


Ahadub
Forum|alt.badge.img+5
  • Contributor
  • Nov 11, 2026 5:39 PM UTC

The Support AI emailed this to me:

The recommended best practice for Jamf and enterprise MDM deployments is to disable the native auto-updater via a managed configuration profile. This eliminates the pop-up for your users, allowing your IT team to package and push updates centrally on your own schedule.

Here are the steps on how you can disable it:

  1. Create a managed preferences configuration profile.

  2. Set the domain to com.asana.asana

  3. Add key DisableAutoUpdate and set it to 1

  4. To disable auto-update (set to 1): sudo defaults write /Library/Preferences/com.asana.asana DisableAutoUpdate -int 1

  5. To re-enable auto-update (remove the key): sudo defaults delete /Library/Preferences/com.asana.asana DisableAutoUpdate

  6. To verify the current value: defaults read /Library/Preferences/com.asana.asana DisableAutoUpdate

  7. Push the profile through your MDM solution.

since we use installomator for the asana.app, this works for us and the app auto patch script udates asana with installomator.


Forum|alt.badge.img+8
  • Valued Contributor
  • Nov 11, 2026 5:54 PM UTC

we just use jamf mac apps, ez pz