mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-13 13:57:22 +00:00
Continued review sweep.
This commit is contained in:
parent
fef1684cd2
commit
21ca8942e7
@ -240,15 +240,14 @@ After you download the Office 2016 applications through the Office Deployment To
|
||||
|
||||
After you run the **/packager** command, the following folders appear up in the directory where you specified the package should be saved:<br>
|
||||
|
||||
- **App-V Packages** – contains an Office 2016 App-V package and two deployment configuration files.
|
||||
- **App-V Packages**—contains an Office 2016 App-V package and two deployment configuration files.
|
||||
- **WorkingDir**
|
||||
|
||||
>[!NOTE]
|
||||
>To troubleshoot any issues, see the log files in the %temp% directory (default).
|
||||
|
||||
3. Verify that the Office 2016 App-V package works correctly:
|
||||
|
||||
1. Publish the Office 2016 App-V package, which you created globally, to a test computer, and verify that the Office 2016 shortcuts appear.
|
||||
1. Publish the Office 2016 App-V package that you created globally to a test computer and verify that the Office 2016 shortcuts appear.
|
||||
2. 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
|
||||
@ -257,94 +256,78 @@ 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:
|
||||
Deploy the App-V package for Office 2016 by using the same methods as the other packages that you've already deployed:
|
||||
|
||||
* System Center Configuration Manager
|
||||
|
||||
* App-V Server
|
||||
|
||||
* Stand-alone through Windows PowerShell commands
|
||||
|
||||
### Publishing prerequisites and requirements
|
||||
|
||||
| Prerequisite or requirement | Details |
|
||||
|---------------------------------------|--------------------|
|
||||
| Enable Windows PowerShell scripting on the App-V clients | To publish Office 2016 packages, you must run a script.<br><br>Package scripts are disabled by default on App-V clients. To enable scripting, run the following Windows PowerShell command:<br>`Set-AppvClientConfiguration -EnablePackageScripts 1` |
|
||||
| Publish the Office 2016 package globally | Extension points in the Office App-V package require installation at the computer level.<br><br>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. |
|
||||
| Enable Windows PowerShell scripting on the App-V clients | To publish Office 2016 packages, you must run a script. However, package scripts are disabled by default on App-V clients. To enable scripting, run the following Windows PowerShell command:<br>`Set-AppvClientConfiguration -EnablePackageScripts 1` |
|
||||
| Publish the Office 2016 package globally | Extension points in the Office App-V package require installation at the computer level.<br>When you publish at the computer level, no prerequisite actions or redistributables are needed. 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`
|
||||
```PowerShell
|
||||
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.
|
||||
* You can add permissions to a group of computers instead of just a user group through the Web Management Console on the App-V Server. This lets packages 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, with a few exceptions as outlined in the following sections.
|
||||
|
||||
* [Enabling Office plug-ins by using connection groups](#enabling-office-plug-ins-by-using-connection-groups)
|
||||
|
||||
* [Disabling Office 2016 applications](#disabling-office-2016-applications)
|
||||
|
||||
* [Disabling Office 2016 shortcuts](#disabling-office-2016-shortcuts)
|
||||
|
||||
* [Managing Office 2016 package upgrades](#managing-office-2016-package-upgrades)
|
||||
|
||||
* [Deploying Visio 2016 and Project 2016 with Office](#deploying-visio-2016-and-project-2016-with-office)
|
||||
* [Enabling Office plug-ins by using connection groups](#enabling-office-plug-ins-by-using-connection-groups)
|
||||
* [Disabling Office 2016 applications](#disabling-office-2016-applications)
|
||||
* [Disabling Office 2016 shortcuts](#disabling-office-2016-shortcuts)
|
||||
* [Managing Office 2016 package upgrades](#managing-office-2016-package-upgrades)
|
||||
* [Deploying Visio 2016 and Project 2016 with Office](#deploying-visio-2016-and-project-2016-with-office)
|
||||
|
||||
### 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.
|
||||
The following steps will tell you how 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 only contains the plug-ins (you can't use the Office Deployment Tool to create the plug-ins package). After that, create a connection group that contains the Office package and the plug-ins package.
|
||||
|
||||
#### To enable plug-ins for Office App-V packages
|
||||
To enable plug-ins for Office App-V packages:
|
||||
|
||||
1. Add a Connection Group through App-V Server, System Center Configuration Manager, or a Windows PowerShell cmdlet.
|
||||
1. Add a Connection Group through App-V Server, System Center Configuration Manager, or a Windows PowerShell cmdlet.
|
||||
2. Sequence your plug-ins using the App-V Sequencer. Ensure that Office 2016 is installed on the computer that will be used to sequence the plug-in. We recommend that you use Office 365 ProPlus (non-virtual) on the sequencing computer when sequencing Office 2016 plug-ins.
|
||||
3. Create an App-V package that includes the plug-ins you want.
|
||||
4. Add a Connection Group through the App-V Server, System Center Configuration Manager, or a Windows PowerShell cmdlet.
|
||||
5. Add the Office 2016 App-V package and the plug-ins package you sequenced to the Connection Group you created.
|
||||
|
||||
2. 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 Office 365 ProPlus(non-virtual) on the sequencing computer when you sequence Office 2016 plug-ins.
|
||||
>[!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.
|
||||
6. Ensure that both packages are published to the target computer and that the plug-in package is published globally to match published Office 2016 App-V package's global settings.
|
||||
7. Verify that the plug-in package's Deployment Configuration file has the same settings as the Office 2016 App-V package.
|
||||
|
||||
3. Create an App-V package that includes the desired plug-ins.
|
||||
|
||||
4. Add a Connection Group through App-V server, System Center Configuration Manager, or a Windows PowerShell cmdlet.
|
||||
|
||||
5. 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.
|
||||
|
||||
6. 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.
|
||||
|
||||
7. 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.
|
||||
|
||||
8. Open the Deployment Configuration File and set the value for **Objects Enabled** to **false**.
|
||||
|
||||
9. If you made any changes to the Deployment Configuration file after sequencing, ensure that the plug-in package is published with the file.
|
||||
|
||||
10. 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.
|
||||
|
||||
11. 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.
|
||||
The Office 2016 App-V plug-in package's settings must match those of the operating system to allow for integration. 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.
|
||||
8. Open the Deployment Configuration File and set the value for **Objects Enabled** to **false**.
|
||||
9. If you made any changes to the Deployment Configuration file after sequencing, ensure that the plug-in package is published with the file.
|
||||
10. Ensure that the Connection Group you created on your desired computer is enabled. The Connection Group created will be shown as "pending" if the Office 2016 App-V package is being used while the Connection Group is enabled. If that happens, you'll have to reboot the computer to successfully enable the Connection Group.
|
||||
11. After you successfully publish both packages and enable the Connection Group, verify the plug-ins you published on the Connection Group work 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.
|
||||
You can also disable specific applications in your Office App-V package. For example, if you don't want to use Access, you can disable Access while leaving all other Office applications available. When you disable an application, the user will no longer see its shortcut icon. You don't need to re-sequence the application to do this. When you change the Deployment Configuration File after the Office 2016 App-V package has been published, just save the changes and add the Office 2016 App-V package, 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) when you create the App-V package with the Office Deployment Tool, use the **ExcludeApp** setting.
|
||||
>[!NOTE]
|
||||
>To exclude specific Office applications when you create the App-V package with the Office Deployment Tool, use the **ExcludeApp** setting.
|
||||
|
||||
#### To disable an Office 2016 application
|
||||
|
||||
1. Open a Deployment Configuration File with a text editor such as **Notepad** and search for “Applications."
|
||||
1. Open a Deployment Configuration File with a text editor such as **Notepad** and search for “Applications."
|
||||
2. Search for the Office application you want to disable, for example, Access 2016.
|
||||
3. Change the value of **Enabled** to **false**.
|
||||
4. Save the Deployment Configuration File.
|
||||
5. Add the Office 2016 App-V Package with the new Deployment Configuration File.
|
||||
|
||||
2. Search for the Office application you want to disable, for example, Access 2016.
|
||||
|
||||
3. Change the value of "Enabled" from "true" to "false."
|
||||
|
||||
4. Save the Deployment Configuration File.
|
||||
|
||||
5. Add the Office 2016 App-V Package with the new Deployment Configuration File.
|
||||
|
||||
``` syntax
|
||||
```XML
|
||||
<Application Id="[{AppVPackageRoot}]\officel6\lync.exe" Enabled="true">
|
||||
<VisualElements>
|
||||
<Name>Lync 2016</Name>
|
||||
@ -360,7 +343,6 @@ You may want to disable specific applications in your Office App-V package. For
|
||||
</VisualElements>
|
||||
</Application>
|
||||
```
|
||||
|
||||
6. 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
|
||||
@ -369,12 +351,11 @@ You may want to disable shortcuts for certain Office applications instead of unp
|
||||
|
||||
#### To disable shortcuts for Office 2016 applications
|
||||
|
||||
1. Open a Deployment Configuration File in Notepad and search for “Shortcuts”.
|
||||
1. Open a Deployment Configuration File in Notepad and search for “Shortcuts”.
|
||||
2. To disable certain shortcuts, delete or comment out the specific shortcuts you don’t want. You must keep the subsystem present and enabled. The following example shows how to delete the Microsoft Access shortcuts while keeping the subsystems `<shortcut> </shortcut>` intact.
|
||||
|
||||
2. 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.
|
||||
|
||||
``` syntax
|
||||
Shortcuts
|
||||
``` XML
|
||||
Shortcuts
|
||||
|
||||
-->
|
||||
<Shortcuts Enabled="true">
|
||||
@ -393,10 +374,8 @@ You may want to disable shortcuts for certain Office applications instead of unp
|
||||
<ApplicationId>[{AppVPackageRoot}]\officel6\MSACCESS.EXE</ApplicationId>
|
||||
</Shortcut>
|
||||
```
|
||||
|
||||
3. Save the Deployment Configuration File.
|
||||
|
||||
4. Republish Office 2016 App-V Package with new Deployment Configuration File.
|
||||
4. Republish the Office 2016 App-V Package with the 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.
|
||||
|
||||
@ -406,15 +385,14 @@ To upgrade an Office 2016 package, use the Office Deployment Tool. To upgrade a
|
||||
|
||||
#### How to upgrade a previously deployed Office 2016 package
|
||||
|
||||
1. 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.
|
||||
1. 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:
|
||||
>[!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.
|
||||
|
||||
2. 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.
|
||||
|
||||
3. 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.
|
||||
2. 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.
|
||||
3. 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user