
Create New Package from Existing Projects or Packages
It is sometimes easier to create a new package from an existing project or package, allowing you to
leverage existing configuration settings. For example, a new software version is issued. When researching
the changes, you determine that the installation command information is the same for new software as it
was for the previous version. In this case it may be faster to use the previous package as the base for the
new package. You would need to change the version, the description, and the installation files, but you can
use all the dependencies, and the pre- and post-commands.
Prerequisites
The package to be used as the base package is saved as a project (*.prj) or as a generated package (*.crate)
saved locally, and the files are available to Package Studio user.
Procedure
1. Click Manage Packages.
2. Use one of the following methods, depending on the type of file with which you want to work:
n
Project (*.prj):
a. Click Open. The Choose a project dialog box appears.
b. Select the project (*.prj).
c. Click Open. The Properties, Files, and Signing tabs now display the settings of the source
project.
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. On the Properties tab, update the Version and the Description so you can continue to track the
changes to the package. Edit any other settings as needed.
4. On the Files tab, modify files, commands, and scripts as needed.
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.
Using Package Studio to Create Software Packages and Publish to Repositories
VMware, Inc. 37
Commentaires sur ces manuels