mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-13 22:07:22 +00:00
105 lines
2.8 KiB
Markdown
105 lines
2.8 KiB
Markdown
---
|
||
title: PUBLISH PACKAGE
|
||
description: PUBLISH PACKAGE
|
||
author: jamiejdt
|
||
ms.assetid: a33e72dd-194f-4283-8e99-4584ab13de53
|
||
ms.pagetype: mdop, appcompat, virtualization
|
||
ms.mktglfcycl: deploy
|
||
ms.sitesec: library
|
||
ms.prod: w8
|
||
ms.date: 06/16/2016
|
||
---
|
||
|
||
|
||
# PUBLISH PACKAGE
|
||
|
||
|
||
Publishes the contents of an entire package.
|
||
|
||
`SFTMIME PUBLISH PACKAGE:package-name /MANIFEST manifest-path [/GLOBAL] [/LOG log-pathname | /CONSOLE | /GUI]`
|
||
|
||
<table>
|
||
<colgroup>
|
||
<col width="50%" />
|
||
<col width="50%" />
|
||
</colgroup>
|
||
<thead>
|
||
<tr class="header">
|
||
<th align="left">Parameter</th>
|
||
<th align="left">Description</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr class="odd">
|
||
<td align="left"><p>PACKAGE:<package-name></p></td>
|
||
<td align="left"><p>User-visible and user-friendly name for the package.</p></td>
|
||
</tr>
|
||
<tr class="even">
|
||
<td align="left"><p>/MANIFEST <manifest-path></p></td>
|
||
<td align="left"><p>The path or URL of the manifest file that lists the applications included in the package and all of their publishing information.</p></td>
|
||
</tr>
|
||
<tr class="odd">
|
||
<td align="left"><p>/GLOBAL</p></td>
|
||
<td align="left"><p>If present, the package will be available for all users on this computer.</p></td>
|
||
</tr>
|
||
<tr class="even">
|
||
<td align="left"><p>/LOG</p></td>
|
||
<td align="left"><p>If specified, output is logged to the specified path name.</p></td>
|
||
</tr>
|
||
<tr class="odd">
|
||
<td align="left"><p>/CONSOLE</p></td>
|
||
<td align="left"><p>If specified, output is presented in the active console window (default).</p></td>
|
||
</tr>
|
||
<tr class="even">
|
||
<td align="left"><p>/GUI</p></td>
|
||
<td align="left"><p>If specified, output is presented in a Windows dialog box.</p></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
|
||
|
||
For version 4.6, the following option has been added.
|
||
|
||
<table>
|
||
<colgroup>
|
||
<col width="50%" />
|
||
<col width="50%" />
|
||
</colgroup>
|
||
<tbody>
|
||
<tr class="odd">
|
||
<td align="left"><p>/LOGU</p></td>
|
||
<td align="left"><p>If specified, output is logged to the specified path name in UNICODE format.</p></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
|
||
|
||
**Important**
|
||
The package must already have been added to the Application Virtualization Client, and the manifest file is required.
|
||
|
||
To use the **GLOBAL** parameter, the PUBLISH PACKAGE command must be run as local Administrator; otherwise, only **ManageTypes** and **PublishShortcut** permissions are needed.
|
||
|
||
Publishing without the **GLOBAL** parameter grants the user access to the applications in the package and publishes the file types and shortcuts listed in the manifest to the user’s profile.
|
||
|
||
Publishing with the **GLOBAL** parameter adds the file types and shortcuts listed in the manifest to the “All Users” profile.
|
||
|
||
If the package is not global before the call and the **GLOBAL** parameter is used, the package is made global and available to all users.
|
||
|
||
|
||
|
||
## Related topics
|
||
|
||
|
||
[SFTMIME Command Reference](sftmime--command-reference.md)
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|