Wise Package Studio Reference
278
Wise Package Studio Command Line Options
Examples
The following table shows how you would use the options above to run this tool, using
variables to provide information required by the program.
See
Wise Package Studio Variables
on page 75.
Note
These examples are shown as they would be entered at the command prompt. When
you define a command-line option in Tool Setup, you do not need to include the .EXE in
the command line.
Command Line Options for Package Relationships
The following table lists the command-line option you can use with Manager.exe to
access the Package Relationships dialog box.
See About Package Relationships in the Software Manager Help.
/src="path\file_name"
Specify the name of the file to distribute, which will populate Source
Installation on the Specify File to Distribute dialog box. Place the
full path (or appropriate variables) of the output file within quotation
marks after the equals sign.
/tgt=1
Run Package Distribution, without the ability to distribute to the
share point directory or to distribute an installation package.
/tgt=21
Select Distribute to share point directory in the Distribution
Method dialog box.
/tgt=23
Select Network / Project file and source files in the Distribution
Method dialog box.
/tgt=23="path\file_name"
Select Network / Project file and source files in the Distribution
Method dialog box. To populate Network Directory in the Network
Directory dialog box, place the full path (or appropriate variables) of
the output directory within quotation marks after the equals sign.
Desired behavior
Example command line
Distribute the default project
.WSE and prompt for the
destination.
path\workbench.exe /tool="Package Distribution" /
src="[ProjectDir]\[FileName].wse"
Distribute the default project
.WSI to the share point
directory and assign the default
project Application and Package
names.
path\workbench.exe /tool="Package Distribution" /
tgt=21="[SharePoint]|[ProjectDir]\[FileName].wsi|[ApplicationName]|[Packa
geName]" /src="[ProjectDir]\[FileName].wsi"
Distribute the default project
.WSI to a network directory.
path\workbench.exe /tool="Package Distribution" /tgt=23 /
src="[ProjectDir]\[FileName].wsi"
Option
Results
Содержание SOFTWARE MANAGER 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0
Страница 1: ...Wise Package Studio Reference ...