- Script To Mount Dmg And Copy App To Applications Folder On Mac
- Script To Mount Dmg And Copy App To Applications Folder Windows 7
![Applications Applications](https://static.makeuseof.com/wp-content/uploads/2014/02/getmacapps-pick-apps.png)
Install your downloaded Mac OS X Applications right from Alfred 2.
Description
Alfred App Install searches through your
~/Downloads
folder and lists installable Objects like .app
or .dmg
in Alfred, sorted by most-recent downloaded. Upon selection, it will automatically install it to your /Applications/
folder.Apr 02, 2019 The file is downloaded from the internet from the software manufacturer’s website and upon mounting the DMG file, a virtual disk is generated from where the user can either copy the application to the applications folder or run an installation script depending on the type of installation. If you want to script the install it requires a few more steps since the name of the.dmg file, the name of the Volume created, the name of the application, and the name of the device that needs to be detached can all be different. Plus they can have spaces in them. Also a.dmg can have an.app file or a.pkg file in it. To install the app, drag it into your Applications folder. It may take a second to copy over, but when it’s done, you can launch the app from Launchpad or Spotlight like you would any other app. Note: Do not launch the app right from the DMG. The app will no longer be there after you eject the DMG. When you’re done installing. I want to install a dmg file on a remote server. All I have is an ssh access. Since a DMG is a disk image, I tried to mount it, but mount does not seem to recognize its format. File says my dmg f.
How to use
The script will run through the supplied paths and list all supported filetypes, sorted by most-recently-downloaded, so that new applications will be on top. It will then install (copy) all
.app
s to your /Applications/
folder, overwriting any existing app (think of 'upgrade'). Depending on your pressed modifier, it will then delete the source.The search path and installation path setting can be configured inside the Workflow (see: Settings).
![Script To Mount Dmg And Copy App To Appliations Folder Script To Mount Dmg And Copy App To Appliations Folder](/uploads/1/3/4/3/134375654/265242389.png)
As Keyword:
- Simply type
install
into Alfred - Select the Download and install with
Enter
(usingCMD-Enter
willdelete the Download after successful installation)
- You can filter the list of results by entering a substring after the keyword
As File-Action:
- Select a supported File in Alfred
- type
install
Supported Filetypes
App Install will find and install the following files:
- Disk Images
.dmg
:- Will automatically mount and unmount the Image, installing all
.app
and.pkg
s inside.
- Will automatically mount and unmount the Image, installing all
- Archives
.zip
:- Will extract the zip to a temporary location and install all
.app
and.pkg
s inside. If the zip does not contain any installable files, the zip will not be extracted.
- Will extract the zip to a temporary location and install all
- OS X Installation Packages
.pkg
:- Will open the Graphical Installer
- Individual Applications
.app
:- Will copy them to
/Applications/
- Will copy them to
- Alfred Workflows
.alfredworkflow
:- Will open the Workflow in Alfred
How to install
Download the workflow. If you want to develop or build the workflow yourself, clone this repository.
Settings
Alfred App Install currently lags a direct configuration through Alfred, but some of the settings can be easily changed inside the workflow.
Search Path
To edit the search path, i.e. the locations where this script looks for installable files, you need to modify the Script Filter. In the Edit-Dialogue you should see the following code:
To add for example
~/Desktop
as a path, you simply need to add him into the list like this:Please don't forget the comma at the end of the line and the single-quotes around the path.
Installation Prefix
Sims for mac free. download full version. To change the installation path (prefix) you need to modify bothRun Script Actions (One of the Actions is for normal
Enter
, the other one for CMD+Enter
).To set a new install location, simply change the value of
prefix='/Applications/'
to something else, for example prefix='/Users/NAME/Applications/'
to install to your own User Directory (substitute NAME
for your username).Please be aware, that the Prefix is only used for
.app
s, .pkg
s will install to the location specified in the opening dialogue.Changelog
Current Version
- v1.0:
- Complete Rewrite
- Now uses an individual library for the installation (
install.py
) - New Icon by metalcabana
- Now uses an individual library for the installation (
- Bugfix: Symbolic Links inside
.app
s should now be preserved duringinstallation. - Feature: Filter results by entering a substring after the keyword
- Complete Rewrite
Script To Mount Dmg And Copy App To Applications Folder On Mac
Earlier Versions
- v0.4:
- Ability to install .pkg-Files
- Ability to find and install Alfred.Workflows
- Some bug fixes
- v0.3:
- Fix Symlinkproblem in Zipfiles
- Add ability to delete Download after install (by pressing⌘-↩)
- v0.2:
- Add ability to install from
*.zip
-Files - Show all possible matches instead of only one
(This is still sorted by most-recent)
- Add ability to install from
- v0.1:
- Initial Release
Support and Contribution
If you find a Bug or if you have a feature request (i.e. additional filetypes) please open an issue on Github.
License and Credits
This workflow is inspired by the Alfred v1 Extension from ChristianSchlensker, but written completely new. Diablo 2 mac download. It uses the alp-PythonEnvironment for Alfred and the send2trash Module. The Icon was designed by metalcabana on deviantart.
Script To Mount Dmg And Copy App To Applications Folder Windows 7
Alfred App Install, including
install.py
and alfred.py
are licensed under the Simplified BSD License (see LICENSE
).