n
Package (*.crate):
a. Select
New | Project from Package
. The
New Project
dialog box appears.
b. In the
Project Name
text box, type a name that will be saved as a .prj file.
c. Specify the
Project Directory
.
d. Click
OK
. The
Choose a package
dialog box appears. Browse to the location of the .crate file
you are editing. You can use a local copy or browse to a repository if there is not a copy save
locally.
e. Click
Open
. The
Properties
,
Files
, and
Signing
tabs now display the settings of the source
package.
3. Make any necessary changes, for example, add a command line argument or post install script.
4. On the
Properties
tab, update the
Version
. The best practice is to add or modify the package version,
after the UpstreamVersion in the version format. For example, if the previous version was 3.5.1-a
where "-a" is the local package version, change the version to 3.5.1-b, indicating this is a revision of the
package rather than the version of the application you are installing.
5. Click
Save
. Saving the .prj file provides a backup of the package settings. In the
Save project
dialog
box, browse to the location of your project files (*.prj files), and then click
Save
.
6. Click
Generate
.
Generating the .crate file provides a copy of the package that you can publish now or later, and edit
again if necessary.
7. In the
Generate Software Package for Windows
dialog box, browse to the location of your saved
packages (*.crate files), and then click
Save
. The new version and architecture are automatically
appended to the file name.
8. Click the
Manage Repositories
tab.
9. Select a
section
in a
platform
to which you are publishing the package.
10. Click
Publish Package
.
The
Choose a Package
dialog box appears.
11. Select the .crate file to publish, and then click
Open
.
The
Publish a Package
dialog box appears.
12. Select the
platforms
and
sections
where you want the package categorized. See
"About Repository
Platforms and Sections" on page 39
for more information.
13. Click
Publish
.
The package is added to the repository. If it published to repository source already added to Package
Manager, the package is immediately available for installation.
Using Package Studio to Create Software Packages and Publish to Repositories
VMware, Inc.
35