Every time I attempt to install the software, the install process gets hung at the 'running package script' and shows about 1 minute install time remaining. I have tried the following strategies and none of them have worked: 1.) Install while in 'safe mode' 2.) Go to Activity Monitor and force quit the install, and 3.).
- Installing Microsoft Office 2016 For Mac Running Package Scripts
- Install Microsoft Office Mac Running Package Scripts Download
2020-3-23 I just downloaded Office 365 for Mac, and tried to install it in macOS Sierra 10.12.5. The installation froze when Running Package Scripts. It is a common problem. I followed this answer and launched Disk Utility, but it seems that there is no repair disk permission in Sierra. Then, I found the answer of dianeoforegon here. 2020-3-31 These directions describe how to install the latest version of Microsoft Office 2016 on a Mac. The current version of Microsoft Office 2016 for the Mac is Version 15.x. Please note that the minimum requirements are that your computer is running MacOS 10.10 or above and contains at least 4GB of RAM. Please contact the HUIT Service Desk (617-495-7777) for assistance if your computer needs. I've been trying to install MacPorts 2.3.4 on my new Macbook Air, and it is stuck on the Running Package Scripts screen. I assume that it is trying to download the packages with selfupdate, but despite the fact that I have a good broadband, it is now more than an hour and I cannot tell from the log (attached) whether it has actually downloaded any packages. Script Lab, a Microsoft Garage project With Script Lab you can create and run Office Add-in code snippets from within Excel, Word, or PowerPoint, using JavaScript, HTML, CSS, and data from the web. Script Lab is available for Office 2016, Office 2013, Office 2016 for Mac, and Office Online.
-->Syntax
Description
The
Install-Package
cmdlet installs one or more software packages on the local computer. If youhave multiple software sources, use Get-PackageProvider
and Get-PackageSource
https://articlenew102.weebly.com/microsoft-home-business-for-mac.html. to display detailsabout your providers.Examples
Example 1: Install a package by package name
The
Install-Package
cmdlet installs a software package and its dependencies.Install-Package
uses parameters to specify the packages Name and Source. TheCredential parameter uses a domain user account with permissions to install packages. Thecommand prompts you for the user account password.Example 2: Use Find-Package to install a package
In this example, the object returned by
Find-Package
is sent down the pipeline and installed byInstall-Package
.Find-Package
uses the Name and Source parameters to locate a package. The object is sentdown the pipeline and Install-Package
installs the package on the local computer.Example 3: Install packages by specifying a range of versions
Install-Package
uses the MinimumVersion and MaximumVersion parameters to specify a rangeof software versions.Install-Package
uses the Name and Source parameters to find a package. TheMinimumVersion and MaximumVersion parameters specify a range of software versions. Thehighest version in the range is installed.Parameters
-AcceptLicense
AcceptLicense automatically accepts the license agreement during installation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Install-Package
installs all available versions of the package. By default, only the newestversion is installed.Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Overrides warning messages about conflicts with existing commands. Overwrites existing commands thathave the same name as commands being installed.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Allows the installation of packages marked as prerelease.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies one or more commands that
Install-Package
searches.Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a path that contains a configuration file.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Install-Package
gets objects if the Contains parameter specifies a value that matches any ofthe object's property values.Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a user account that has permission to access the computer and run commands. Type a username, such as User01, Domain01User01, or enter a PSCredential object, generated by the
Get-Credential
cmdlet. If you type a user name, you're prompted for a password.When the Credential parameter isn't specified,
Install-Package
uses the current user.Type: | PSCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a path to an input object.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies one or more Desired State Configuration (DSC) resources that are searched by
Install-Package
. Use the Find-DscResource
cmdlet to find DSC resources.Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Switch to exclude the version number in the folder path.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies terms to search for within the Name and Description properties.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
![Download Download](/uploads/1/3/3/9/133916602/677506590.png)
Specifies a tag that filters results and excludes results that don't contain the specified tag.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation. Overrides restrictions that prevent
Install-Package
from succeeding, with the exception of security.Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Forces PackageManagement to automatically install the package provider for the specifiedpackage.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the package headers.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies whether
Install-Package
should find all package types. The acceptable values for thisparameter are as follows:- Cmdlet
- DscResource
- Function
- RoleCapability
- Workflow
Type: | String[] |
Accepted values: | Cmdlet, DscResource, Function, RoleCapability, Workflow |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Accepts pipeline input. Specifies a package by using the package's SoftwareIdentity type.
Find-Package
outputs a SoftwareIdentity object.Type: | SoftwareIdentity[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Indicates that
Install-Package
installs updates.Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the maximum allowed package version that you want to install. If you don't specify thisparameter,
Install-Package
installs the package's newest version.Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the minimum allowed package version that you want to install. If you don't add thisparameter,
Install-Package
installs the package's newest version that satisfies any versionspecified by the MaximumVersion parameter.Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies one or more package names. Multiple package names must be separated by commas.
Type: | String[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
NoPathUpdate only applies to the
Install-Script
cmdlet. NoPathUpdate is a dynamicparameter added by the provider and isn't supported by Install-Package
.Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of the PackageManagement provider.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies one or more package provider names to which to scope your package search. You can getpackage provider names by running the
Get-PackageProvider
cmdlet.Type: | String[] |
Aliases: | Provider |
Accepted values: | Bootstrap, NuGet, PowerShellGet |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies a proxy server for the request, rather than connecting directly to an internet resource. Microsoft print to pdf for mac free.
Type: | Uri |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a user account that has permission to use the proxy server specified by the Proxyparameter.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the path to a package's published location.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the exact allowed version of the package that you want to install. If you don't add thisparameter,
Install-Package
installs the package's newest version that satisfies any versionspecified by the MaximumVersion parameter.Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies an array of role capabilities.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the scope for which to install the package. The acceptable values for this parameter areas follows:
- CurrentUser
- AllUsers
Type: | String |
Accepted values: | CurrentUser, AllUsers |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the path to a script's published location.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the script source location.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Skips the installation of software dependencies.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Allows you to get a package version that is newer than your installed version. For example, aninstalled package that is digitally signed by a trusted publisher but a new version isn't digitallysigned.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Switch that skips validating the credentials of a package.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies one or more package sources. Multiple package source names must be separated by commas.You can get package source names by running the
Get-PackageSource
cmdlet.Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByPropertyName) |
Accept wildcard characters: | False |
Specifies one or more strings to search for in the package metadata.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies whether to search for packages with a module, a script, or both. The acceptable values forthis parameter are as follows:
- Module
- Script
- All
Type: | String |
Accepted values: | Module, Script, All |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if
Install-Package
cmdlet is run. The cmdlet is not run.Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
`Install-Package` accepts input from the pipeline.
Outputs
SoftwareIdentity[]
Notes
Including a package provider in a command can make dynamic parameters available to a cmdlet. Dynamicparameters are specific to a package provider. The
Get-Help
cmdlet lists a cmdlet's parameter setsand includes the provider's parameter set. For example, Install-Package
has the PowerShellGetparameter set that includes -NoPathUpdate
, AllowClobber
, and SkipPublisherCheck
.Related Links
-->Applies to:Office for Mac, Office 2019 for Mac, Office 2016 for Mac
Microsoft AutoUpdate (MAU) version 3.18 and later includes the msupdate command-line tool. This can be used to start the update process for Microsoft applications produced for Mac, such as Office. The tool is primarily designed for IT administrators so that they have more precise control over when updates are applied. You can download the latest version of MAU from this link.
msupdate works by sending Apple Events to the MAU daemon. On macOS 10.14 Mojave and later, you may see a privacy prompt when running msupdate for the first time. If you are using an enterprise management tool such as Jamf Pro, you should deploy a Privacy Preferences Policy Control (PPPC) payload to pre-approve access. Samples of such a payload can be downloaded from here.
Use the following steps to start using the tool:
- Open the Terminal application
- Enter
cd /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS
- Run
./msupdate --help
The following options are displayed:
![Running Running](/uploads/1/3/3/9/133916602/416132136.png)
Examples of how to use msupdate
Installing Microsoft Office 2016 For Mac Running Package Scripts
- Display the current configuration parameters for AutoUpdate:
./msupdate --config
- Display the current configuration parameters in machine-readable format:
./msupdate --config --format plist
- List all available updates:
./msupdate --list
- Download and install all available updates:
./msupdate --install
- Download and install the latest updates for Word, Excel, and PowerPoint:
./msupdate --install --apps MSWD2019 XCEL2019 PPT32019
- Download and install a version-specific update for Outlook:
./msupdate --install --apps OPIM2019 --version 16.17.180090901
Application identifiers
The following table lists the applications for Mac supported by AutoUpdate. The identifier is used when specifying the
--apps
parameter. When specifying multiple applications on the command-line, separate identifiers with a space.Application | Latest version1 | 2016 version2 |
---|---|---|
Word | MSWD2019 | MSWD15 |
Excel | XCEL2019 | XCEL15 |
PowerPoint | PPT32019 | PPT315 |
Outlook | OPIM2019 | OPIM15 |
OneNote | ONMC2019 | ONMC15 |
MAU | MSau04 | MSau04 |
OneDrive | ONDR18 | |
Teams | TEAM01 | |
Skype for Business | MSFB16 | |
Remote Desktop | MSRD10 | |
Intune Company Portal | IMCP01 | |
Defender ATP | WDAV00 | |
Edge Canary | EDCN01 | |
Edge Dev | EDDV01 | |
Edge Beta | EDBT01 | |
Edge Stable | EDGE01 |
1 These identifiers are used for Office 2019 for Mac, either a retail or a volume licensed version, and for Office for Mac (from an Office 365 plan) running on macOS version 10.12 (Sierra) or higher.
2 These identifiers are used for Office 2016 for Mac, either a retail or a volume licensed version, and for Office for Mac (from an Office 365 plan) running on macOS version 10.11 (El Capitan) or earlier.
Note
- If an update is pending for MAU itself, that update must be applied before any applications can be updated.
- Identifiers are not case-sensitive when run interactively from the command-line, but use the character casing from the table above when running from a management tool such as Jamf Pro.
Related topics
Install Microsoft Office Mac Running Package Scripts Download
- Update history and release notes for Office for Mac