Install App

An Alfred Workflow


Short Description

Install apps from zip, dmg, pkg or just copy .app to /Applications folder

Last Updated

18 May 2015

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.11
 

Bundle ID

com.mcskrzypczak.install
 

Introduction

The Install App workflow speeds installation process (or rather copy) of applications downloaded outside of Mac App Store. The workflow is completely written using Bash Script.

How it works?

There are two ways to invoke that workflow:

  • through keyword — install — which shows all eligible files/packages1 found in specified folder (default is ~/Downloads) and copy, run, mount or extract them dependably of what kind of file/package we choose; you can also use install name so Alfred will narrow results;
  • through File Action Install App which behave in similar way as above.

The Install App behaves as follow:

  • if you choose .app package it will be copied to /Applications folder;
  • if you choose .pkg file it will be opened;
  • if you choose .dmg file it will be mounted and searched for .app or .pkg to copy or run them;
  • if you choose .zip file it will be unzipped into folder which will be searched for .app, .pkg or .dmg to copy, run or mount them.

Tips

  • to change folder to search for mentioned files you need to edit Script Filter element of workflow → uncomment SEARCHDIR variable and edit its value

Release info:

1.11:

  • improve mounting dmg files – now works with images with EULA.

1.10:

  • displays app icon if user has that app already (eligible for app updates files)

1.9:

  • bug fixes
  • dramatically reduces workflow size (from ~700 KB to 150 KB)
  • workflow now searches in subdirectories of main directory
  • if workflow finds .app package it will display that app's real icon (not a placeholder)

1.8:

  • bug fixes
  • following last update the workflow will open installed application if it was opened

1.7:

  • workflow checks now if app is already running and if so it asks to quit it

1.6:

  • fixed file matching
  • fixed post-install notifications

1.5:

  • unmount .dmg image after copying/installing app,
  • remove temporary .zip folder after copying/installing app,
  • ability to remove source files after copying/installing app (the dialog window will appear).

1.3

  • initial public release.

Thanks

I would like to thank Franz Greiling who inspired me to make this workflow with his own version.


  1. .app package, .zip archive, .dmg image and .pkg installer. 

Screenshots