- Microsoft Office 2016 Install Stuck On Running Package Scripts Without
- Microsoft Office 2016 Install Stuck On Running Package Scripts Pastebin
- Microsoft Office 2016 Install Stuck On Running Package Scripts For A
In older Office versions such as Office 2003, 2007, etc, Microsoft used to provide traditional MSI (Windows Installer) to Office users to install Office suite in their computers. The MSI installer allowed users to select or deselect desired Office programs at the time of installation so that the Office setup wizard installs only selected programs. To publish Office 2016 packages, you must run a script. Package scripts are disabled by default on App-V clients. To enable scripting, run the following PowerShell command: Set-AppvClientConfiguration –EnablePackageScripts 1: Publish the Office 2016 package globally.
Use the information in this article to use Microsoft Application Virtualization 5.0, or later versions, to deliver Microsoft Office 2016 as a virtualized application to computers in your organization. For information about using App-V to deliver Office 2013, see Deploying Microsoft Office 2013 by Using App-V. For information about using App-V to deliver Office 2010, see Deploying Microsoft Office 2010 by Using App-V.
This topic contains the following sections:
What to know before you start
Before you deploy Office 2016 by using App-V, review the following planning information.
Supported Office versions and Office coexistence
Use the following table to get information about supported versions of Office and about running coexisting versions of Office.
|Information to review||Description|
Considerations for installing different versions of Office on the same computer
Packaging, publishing, and deployment requirements
Before you deploy Office by using App-V, review the following requirements.
Deploying any of the following products to a shared computer, for example, by using Remote Desktop Services:
You must enable shared computer activation.
Excluding Office applications from a package
The following table describes the recommended methods for excluding specific Office applications from a package.
Use the ExcludeApp setting when you create the package by using the Office Deployment Tool.
Modify the DeploymentConfig.xml file
Creating an Office 2016 package for App-V with the Office Deployment Tool
Complete the following steps to create an Office 2016 package for App-V 5.0 or later.
Important In App-V 5.0 and later, you must use the Office Deployment Tool to create a package. You cannot use the Sequencer to create packages.
Review prerequisites for using the Office Deployment Tool
The computer on which you are installing the Office Deployment Tool must have:
.Net Framework 4
Supported operating systems
Note In this topic, the term “Office 2016 App-V package” refers to subscription licensing.
Create Office 2016 App-V Packages Using Office Deployment Tool
You create Office 2016 App-V packages by using the Office Deployment Tool. The following instructions explain how to create an Office 2016 App-V package with Subscription Licensing.
Create Office 2016 App-V packages on 64-bit Windows computers. Once created, the Office 2016 App-V package will run on 32-bit and 64-bit Windows 7, Windows 8.1, and Windows 10 computers.
Download the Office Deployment Tool
Office 2016 App-V Packages are created using the Office Deployment Tool, which generates an Office 2016 App-V Package. The package cannot be created or modified through the App-V sequencer. To begin package creation:
- Download the Office 2016 Deployment Tool for Click-to-Run.
Important You must use the Office 2016 Deployment Tool to create Office 2016 App-V Packages.2. Run the .exe file and extract its features into the desired location. To make this process easier, you can create a shared network folder where the features will be saved.
- Check that a setup.exe and a configuration.xml file exist and are in the location you specified.
Download Office 2016 applications
After you download the Office Deployment Tool, you can use it to get the latest Office 2016 applications. After getting the Office applications, you create the Office 2016 App-V package.
The XML file that is included in the Office Deployment Tool specifies the product details, such as the languages and Office applications included.
Customize the sample XML configuration file: Use the sample XML configuration file that you downloaded with the Office Deployment Tool to customize the Office applications:
Open the sample XML file in Notepad or your favorite text editor.
With the sample configuration.xml file open and ready for editing, you can specify products, languages, and the path to which you save the Office 2016 applications. The following is a basic example of the configuration.xml file:
Note The configuration XML is a sample XML file. The file includes lines that are commented out. You can “uncomment” these lines to customize additional settings with the file. To “uncomment” these lines, remove the '<! - -' from the beginning of the line, and the '-- >' from the end of the line.
The above XML configuration file specifies that Office 2016 ProPlus 32-bit edition, including Visio ProPlus, will be downloaded in English to the serverOffice 2016, which is the location where Office applications will be saved to. Note that the Product ID of the applications will not affect the final licensing of Office. Office 2016 App-V packages with various licensing can be created from the same applications through specifying licensing in a later stage. The table below summarizes the customizable attributes and elements of XML file:
Input Description Example
Specifies the products and languages to include in the package.
OfficeClientEdition (attribute of Add element)
Specifies the edition of Office 2016 product to use: 32-bit or 64-bit. The operation fails if OfficeClientEdition is not set to a valid value.
Specifies the application. Project 2016 and Visio 2016 must be specified here as an added product to be included in the applications.
For more information about the product IDs, see Product IDs that are supported by the Office Deployment Tool for Click-to-Run
Product ID ='O365ProPlusRetail '
Product ID ='VisioProRetail'
Product ID ='ProjectProRetail'
Specifies the language supported in the applications
Version (attribute of Add element)
Optional. Specifies a build to use for the package
Defaults to latest advertised build (as defined in v32.CAB at the Office source).
SourcePath (attribute of Add element)
Specifies the location in which the applications will be saved to.
Sourcepath = 'ServerOffice2016”
Channel (attribute of Add element)
Optional. Specifies the update channel for the product that you want to download or install.
For more information about update channels, see Overview of update channels for Microsoft 365 Apps for enterprise.
After editing the configuration.xml file to specify the desired product, languages, and also the location which the Office 2016 applications will be saved onto, you can save the configuration file, for example, as Customconfig.xml.
Download the applications into the specified location: Use an elevated command prompt and a 64 bit operating system to download the Office 2016 applications that will later be converted into an App-V package. Below is an example command with a description of details:
In the example:
is the network share location that contains the Office Deployment Tool and the custom Configuration.xml file, Customconfig.xml.
is the Office Deployment Tool.
downloads the Office 2016 applications that you specify in the customConfig.xml file. These bits can be later converted in an Office 2016 App-V package with Volume Licensing.
passes the XML configuration file required to complete the download process, in this example, customconfig.xml. After using the download command, Office applications should be found in the location specified in the configuration xml file, in this example ServerOffice2016.
Convert the Office applications into an App-V package
After you download the Office 2016 applications through the Office Deployment Tool, use the Office Deployment Tool to convert them into an Office 2016 App-V package. Complete the steps that correspond to your licensing model.
Summary of what you’ll need to do:
Create the Office 2016 App-V packages on 64-bit Windows computers. However, the package will run on 32-bit and 64-bit Windows 7, Windows 8 or 8.1, and Windows 10 computers.
Create an Office App-V package for Subscription Licensing package by using the Office Deployment Tool, and then modify the CustomConfig.xml configuration file.
The following table summarizes the values you need to enter in the CustomConfig.xml file for the licensing model you’re using. The steps in the sections that follow the table will specify the exact entries you need to make.
Note You can use the Office Deployment Tool to create App-V packages for Microsoft 365 Apps for enterprise. Creating packages for the volume-licensed versions of Office Professional Plus or Office Standard is not supported.
|Product ID||Subscription Licensing|
Office 2016 with Visio 2016
Office 2016 with Visio 2016 and Project 2016
How to convert the Office applications into an App-V package
In Notepad, reopen the CustomConfig.xml file, and make the following changes to the file:
Parameter What to change the value to
Point to the Office applications downloaded earlier.
Specify Subscription licensing, as shown in the following example:
In this example, the following changes were made to create a package with Subscription licensing:
is the path, which was changed to point to the Office applications that were downloaded earlier.
for Office was changed to
for Visio was changed to
Lets you specify Office programs that you don’t want included in the App-V package that the Office Deployment Tool creates. For example, you can exclude Access and InfoPath.
By default, all App-V packages created by the Office Deployment Tool share the same App-V Package ID. You can use PACKAGEGUID to specify a different package ID for each package, which allows you to publish multiple App-V packages, created by the Office Deployment Tool, and manage them by using the App-V Server.
An example of when to use this parameter is if you create different packages for different users. For example, you can create a package with just Office 2016 for some users, and create another package with Office 2016 and Visio 2016 for another set of users.>Note Even if you use unique package IDs, you can still deploy only one App-V package to a single device.
Use the /packager command to convert the Office applications to an Office 2016 App-V package.
In the example:
is the network share location that contains the Office Deployment Tool and the custom Configuration.xml file, Customconfig.xml.
is the Office Deployment Tool.
creates the Office 2016 App-V package with the type of licensing specified in the customConfig.xml file.
passes the configuration XML file (in this case customConfig) that has been prepared for the packaging stage.
specifies the location of the newly created Office App-V package.
Verify that the Office 2016 App-V package works correctly:
Publish the Office 2016 App-V package, which you created globally, to a test computer, and verify that the Office 2016 shortcuts appear.
Start a few Office 2016 applications, such as Excel or Word, to ensure that your package is working as expected.
Publishing the Office package for App-V
Use the following information to publish an Office package.
Methods for publishing Office App-V packages
Deploy the App-V package for Office 2016 by using the same methods you use for any other package:
System Center Configuration Manager
Stand-alone through PowerShell commands
Publishing prerequisites and requirements
|Prerequisite or requirement||Details|
Enable PowerShell scripting on the App-V clients
To publish Office 2016 packages, you must run a script.
Package scripts are disabled by default on App-V clients. To enable scripting, run the following PowerShell command:
Publish the Office 2016 package globally
Extension points in the Office App-V package require installation at the computer level.
When you publish at the computer level, no prerequisite actions or redistributables are needed, and the Office 2016 package globally enables its applications to work like natively installed Office, eliminating the need for administrators to customize packages.
How to publish an Office package
Run the following command to publish an Office package globally:
Add-AppvClientPackage <Path_to_AppV_Package> Publish-AppvClientPackage –global
From the Web Management Console on the App-V Server, you can add permissions to a group of computers instead of to a user group to enable packages to be published globally to the computers in the corresponding group.
Customizing and managing Office App-V packages
To manage your Office App-V packages, use the same operations as you would for any other package, but there are a few exceptions, as outlined in the following sections.
Enabling Office plug-ins by using connection groups
Use the steps in this section to enable Office plug-ins with your Office package. To use Office plug-ins, you must use the App-V Sequencer to create a separate package that contains just the plug-ins. You cannot use the Office Deployment Tool to create the plug-ins package. You then create a connection group that contains the Office package and the plug-ins package, as described in the following steps.
To enable plug-ins for Office App-V packages
Add a Connection Group through App-V Server, System Center Configuration Manager, or a PowerShell cmdlet.
Sequence your plug-ins using the App-V Sequencer. Ensure that Office 2016 is installed on the computer being used to sequence the plug-in. It is recommended you use Microsoft 365 Apps for enterprise(non-virtual) on the sequencing computer when you sequence Office 2016 plug-ins.
Create an App-V package that includes the desired plug-ins.
Add a Connection Group through App-V server, System Center Configuration Manager, or a PowerShell cmdlet.
Add the Office 2016 App-V package and the plug-ins package you sequenced to the Connection Group you created.
Important The order of the packages in the Connection Group determines the order in which the package contents are merged. In your Connection group descriptor file, add the Office 2016 App-V package first, and then add the plug-in App-V package.
Ensure that both packages are published to the target computer and that the plug-in package is published globally to match the global settings of the published Office 2016 App-V package.
Verify that the Deployment Configuration File of the plug-in package has the same settings that the Office 2016 App-V package has.
Since the Office 2016 App-V package is integrated with the operating system, the plug-in package settings should match. You can search the Deployment Configuration File for “COM Mode” and ensure that your plug-ins package has that value set as “Integrated” and that both 'InProcessEnabled' and 'OutOfProcessEnabled' match the settings of the Office 2016 App-V package you published.
Open the Deployment Configuration File and set the value for Objects Enabled to false.
If you made any changes to the Deployment Configuration file after sequencing, ensure that the plug-in package is published with the file.
Ensure that the Connection Group you created is enabled onto your desired computer. The Connection Group created will likely “pend” if the Office 2016 App-V package is in use when the Connection Group is enabled. If that happens, you have to reboot to successfully enable the Connection Group.
After you successfully publish both packages and enable the Connection Group, start the target Office 2016 application and verify that the plug-in you published and added to the connection group works as expected.
Disabling Office 2016 applications
You may want to disable specific applications in your Office App-V package. For instance, you can disable Access, but leave all other Office application main available. When you disable an application, the end user will no longer see the shortcut for that application. You do not have to re-sequence the application. When you change the Deployment Configuration File after the Office 2016 App-V package has been published, you will save the changes, add the Office 2016 App-V package, and then republish it with the new Deployment Configuration File to apply the new settings to Office 2016 App-V Package applications.
Note To exclude specific Office applications (for example, Access and InfoPath) when you create the App-V package with the Office Deployment Tool, use the ExcludeApp setting.
To disable an Office 2016 application
Open a Deployment Configuration File with a text editor such as Notepad and search for “Applications.'
Search for the Office application you want to disable, for example, Access 2016.
Change the value of 'Enabled' from 'true' to 'false.'
Save the Deployment Configuration File.
Add the Office 2016 App-V Package with the new Deployment Configuration File.
Re-add the Office 2016 App-V package, and then republish it with the new Deployment Configuration File to apply the new settings to Office 2016 App-V Package applications.
Disabling Office 2016 shortcuts
You may want to disable shortcuts for certain Office applications instead of unpublishing or removing the package. The following example shows how to disable shortcuts for Microsoft Access.
To disable shortcuts for Office 2016 applications
Open a Deployment Configuration File in Notepad and search for “Shortcuts”.
To disable certain shortcuts, delete or comment out the specific shortcuts you don’t want. You must keep the subsystem present and enabled. For example, in the example below, delete the Microsoft Access shortcuts, while keeping the subsystems <shortcut> </shortcut> intact to disable the Microsoft Access shortcut.
Save the Deployment Configuration File.
Republish Office 2016 App-V Package with new Deployment Configuration File.
Many additional settings can be changed through modifying the Deployment Configuration for App-V packages, for example, file type associations, Virtual File System, and more. For additional information on how to use Deployment Configuration Files to change App-V package settings, refer to the additional resources section at the end of this document.
Managing Office 2016 package upgrades
To upgrade an Office 2016 package, use the Office Deployment Tool. To upgrade a previously deployed Office 2016 package, perform the following steps.
How to upgrade a previously deployed Office 2016 package
Create a new Office 2016 package through the Office Deployment Tool that uses the most recent Office 2016 application software. The most recent Office 2016 bits can always be obtained through the download stage of creating an Office 2016 App-V Package. The newly created Office 2016 package will have the most recent updates and a new Version ID. All packages created using the Office Deployment Tool have the same lineage.
Note Office App-V packages have two Version IDs:
- An Office 2016 App-V Package Version ID that is unique across all packages created using the Office Deployment Tool.
- A second App-V Package Version ID, x.x.x.x for example, in the AppX manifest that will only change if there is a new version of Office itself. For example, if a new Office 2016 release with upgrades is available, and a package is created through the Office Deployment Tool to incorporate these upgrades, the X.X.X.X version ID will change to reflect that the Office version itself has changed. The App-V server will use the X.X.X.X version ID to differentiate this package and recognize that it contains new upgrades to the previously published package, and as a result, publish it as an upgrade to the existing Office 2016 package.
Globally publish the newly created Office 2016 App-V Packages onto computers where you would like to apply the new updates. Since the new package has the same lineage of the older Office 2016 App-V Package, publishing the new package with the updates will only apply the new changes to the old package, and thus will be fast.
Upgrades will be applied in the same manner of any globally published App-V Packages. Because applications will probably be in use, upgrades might be delayed until the computer is rebooted.
Deploying Visio 2016 and Project 2016 with Office
The following table describes the requirements and options for deploying Visio 2016 and Project 2016 with Office.
How do I package and publish Visio 2016 and Project 2016 with Office?
You must include Visio 2016 and Project 2016 in the same package with Office.
If you aren’t deploying Office, you can create a package that contains Visio and/or Project, as long as you follow the packaging, publishing, and deployment requirements described in this topic.
How can I deploy Visio 2016 and Project 2016 to specific users?
Use one of the following methods:
Dynamic ConfigurationHello taliboliver,
Thank you for posting in the Apple Support Communities. I understand you've been unable to install new software recently.
To double-check, does this happen when installing a particular app, or is it with all apps? If it seems to be just one app, you might try deleting the installer and then re-downloading to test.
If the issue is happening with all apps, you might try installing an app in safe mode to test. This will run a quick diagnostic/repair, and then it prevents certain items from loading that could be causing this behavior. Here's how to Use safe mode to isolate issues with your Mac:
Start up in safe mode
To start up in safe mode:
- Start or restart your Mac, then immediately press and hold the Shift key. The Apple logo appears on your display. If you don't see the Apple logo, learn what to do.
- Release the Shift key when you see the login window. If your startup disk is encrypted with FileVault, you might be asked to log in twice: once to unlock the startup disk, and again to log in to the Finder.
To leave safe mode, restart your Mac without pressing any keys during startup.
If an issue doesn't happen in safe mode
If an issue doesn't happen when your Mac is started in safe mode, try restarting without pressing any keys.
- If the issue comes back, you might have incompatible login items.
- If the issue doesn't come back, it was probably caused by a cache or directory issue with your startup disk, which safe mode fixed.
Microsoft Office 2016 Install Stuck On Running Package Scripts WithoutDepending on how safe mode goes, you might also try installing the software in a new user. This will determine if there's an issue with your user account that's preventing the install from completing. Here's How to test an issue in another user account on your Mac:
Use another account for testing
If another user account is already set up on your Mac, you can simply log out of your account (Apple menu > Log Out) and log in with the other account. But the best way to test is with a newly created account:
- Choose Apple menu () > System Preferences, then click Users & Groups.
- Click , then enter an administrator name and password.
- Click the Add button (+) below the list of users.
- Complete the fields shown for a Standard or Administrator account, then click Create Account (or OK).
If you plan to test with any of the documents in your own account, make those documents available to the new account. Drag them to the Shared folder of the Users folder on your hard drive (~/Users/Shared). You can then move them to other folders after you log in as the new user.
Then log out of your account and log in with the new account:
- Choose Apple menu > Log out.
- At the login window, log in with the name and password of the new account. If you're also asked to sign in with an iCloud account or Apple ID, skip that step.
Now try to reproduce the issue in the new account. If you need to set up an email account or other account in order to test, you can do so.
If the issue doesn't happen in the other account
If the issue doesn't happen in the new user account, the issue is related to the settings or files in your own account.
If you need help with a specific alert or issue, search the Apple Support website for the text of the alert. If the issue happens in only one app in your account, it might be related to one of that app's settings. Check the app's documentation or support website for help.
You can remove the new user account when you're done testing. Follow the steps for creating a new account, but click the Remove button (–) instead of the Add button (+). Before removing the account, make sure that you don't need any of the files or settings you created or copied in that account.
If the issue happens in the other account
Microsoft Office 2016 Install Stuck On Running Package Scripts Pastebin
If the issue happens in the other user account:
- Make sure that your software is up to date.
- Try using Safe Mode to resolve the issue.
- Check for other software or hardware issues.
I hope these steps help with the installation issue.
Microsoft Office 2016 Install Stuck On Running Package Scripts For A
Nov 25, 2018 8:43 AM