background image

11. (Optional) Select

Force Reboot after command

if the package requires a reboot after installation.

I

MPORTANT

If you select this option, the target machines will reboot after installation of the current

package without regard to time of day, state of the machine, or other factors.

12. To configure the associated removal command, repeat the above process after selecting

Removal

in

the drop-down list. The files, commands, arguments, and pre- and post-command options may all be
different for each of the actions.

Using Signing Certificates with Software Packages

When creating packages, you have the option to sign the package with a software signing certificate.
Signing a package ensures that package is from an authorized source and has not been altered since it was
published before it are installed on your machines.

About Signing Certificates and Installing Software Packages

Signing packages is an optional function; however, signing software packages is commonly part of the
best practice for proper network security. If you are unfamiliar with certificates, you should have a
network administrator who is familiar with certificate management assign you one with a private key.
You can publish unsigned packages to repositories, but this is not recommended.

If you are familiar with certificates, and decide to sign packages, you must be able to meet the following
prerequisites in order to sign and install packages:

n

The signing certificate must be a trusted certificate.

n

The signing certificate has a private key.

n

The user signing the packages has access to the signing certificate's private key when signing a package.
Access can be to the Certificate Store containing the certificate, an exported .pfx file of the certificate, or
an exported .pvk file of the certificate.

n

The public key of the signing certificate you used to sign a package is available on all the machines on
which you are installing packages.

Using a certificate with an expiration time will require you to generate and publish revised packages after
the certificate expires. If the certificate passes the expiration time, the packages must be individually edited
to point to a different and valid certificate, or new packages must be created.

Sign Packages with Certificates

You have the option to use a certificate to sign the packages you create. For more information about
certificates, see

"About Signing Certificates and Installing Software Packages" on page 32

.

Signing packages is an optional function; however, signing software packages is commonly part of the
best practice for proper network security. If you are unfamiliar with certificates, you should have a
network administrator who is familiar with certificate management assign you one with a private key.
You can publish unsigned packages to repositories, but this is not recommended.

vCenter Configuration Manager Software Provisioning Components Installation and User's Guide

32

VMware, Inc.

Содержание PACKAGE MANAGER 1.1

Страница 1: ...o 1 1 Software Repository for Windows 1 1 Package Manager 1 1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edi...

Страница 2: ...ed by U S and international copyright and intellectual property laws VMware products are covered by one or more patents listed at http www vmware com go patents VMware is a registered trademark or tra...

Страница 3: ...udio to Create Software Packages and Publish to Repositories 21 About Package Naming and Versioning 21 Correct Naming Practices 21 Correct Versioning Practices 22 How Package Names and Versions Are Pr...

Страница 4: ...ager Processes External Software during Installation 44 Define External Software Attributes 46 Using Package Manager for Windows 49 Processing Dependencies 49 Security 49 Add Repository Sources 49 Rem...

Страница 5: ...go to http www vmware com support pubs Online and Telephone Support To use online support to submit technical support requests view your product and contract information and register your products go...

Страница 6: ...vCenter Configuration Manager Software Provisioning Components Installation and User s Guide 6 VMware Inc...

Страница 7: ...x Packages support commercial and custom software that may be installed using any installation technology including msi exe or scripts Python VBScript PowerShell and others Once a package is created a...

Страница 8: ...following diagram displays the general relationship between Package Studio repositories and Package Manager in a working environment vCenter Configuration Manager Software Provisioning Components Ins...

Страница 9: ...ing the msi you must have the same version used to install the application Software Provisioning Requirements VCM Software Provisioning provides the components to create software provisioning packages...

Страница 10: ...epository Prerequisites Target machine meets the supported hardware requirements operating system and software requirements See Software Provisioning Requirements on page 9 for currently supported pla...

Страница 11: ...epository defaults to this path VIRTUAL_DIR_NAME_REPOSITORY SoftwareRepository defaults to this value Software Repository Structure The files for a repository consist of the main folder for example So...

Страница 12: ...Virtual Directory Access Permissions page appears 10 Select Read Run scripts and Browse 11 Click Next The You have successfully completed the Virtual Directory Creation Wizard page appears 12 Click Fi...

Страница 13: ...sRepository 2 Open Internet Information Services IIS Manager 3 Expand machine name Sites 4 Right click Default Web Site and then select Add Virtual Directory The Add Virtual Directory dialog box appea...

Страница 14: ...configured where one repository is mirrored from another The most common use of mirrored repositories is if you have a repository in your main office and one in your satellite office You do not want t...

Страница 15: ...our settings and close the MIME Types dialog box 19 On the Properties dialog box click OK to close the dialog box 20 Copy and paste the contents of the original Repository folder the hive folder the d...

Страница 16: ...owse for Folder dialog box 9 Click OK to close the Add Virtual Directory dialog box 10 Select the new virtual directory you just added and then double click Directory Browsing in yourdirectoryname Hom...

Страница 17: ...nfiguration steps above from the old repository to the new repository Install Package Studio The VMware vCenter Configuration Manager Package Studio and the repository must be installed on the same ma...

Страница 18: ...gram Files VMware VCM Tools Package Studio on 32 bit machines or C Program Files x86 VMware VCM Tools Package Studio on 64 bit machines To start Package Studio select Start All Programs VMware vCenter...

Страница 19: ...are using the Software Provisioning Components in conjunction with VMware vCenter Configuration Manager VCM you should not install the Package Manager using the following instructions it is installed...

Страница 20: ...ackageManager msi qn l v temp PackageManager log You can add the following arguments if you want to specify locations other than the default directories PACKAGEMANAGER_DIR C Program Files VMware VCM T...

Страница 21: ...riations in content you must properly name and version your software packages Correct Naming Practices When as a system administrator you create a package to install an application for example SQL Ser...

Страница 22: ...er It is usually the version of the application the package contains The format is usually that of the package authors however it may need to be reformatted to fit your package management systems form...

Страница 23: ...ile name which is the package name as it appears on the package Properties tab along with the version and architecture This is usually as the result of the user changing the name of the package file f...

Страница 24: ...cify Package Conflicts on page 27 n Specify Provides for Packages on page 29 b Click Files Import the installation files add pre command files configure the commands and arguments and add post command...

Страница 25: ...qlserver 9 00 1399 06 as an installed package If Package Manager determines that the prerequisite package sqlserver is not installed it downloads this package from the software repository and installs...

Страница 26: ...serves as the container for multiple package dependencies The packages are specified on the Depends tab when you create the package At the time of installation the Package Manager will review the ins...

Страница 27: ...Add other dependencies as needed Specify Package Conflicts Some software packages adversely affect other software packages when they are installed on the same machine When creating a software package...

Страница 28: ...her applications will not work properly if there is more than one version installed Using conflicts you can specify that a package should not be installed if a previous version is installed For exampl...

Страница 29: ...age for McAfee mcafee where the Provides tab is configured with the logical package name of antivirus and the Conflicts is configured with norton You then create a package for Norton norton where the...

Страница 30: ...eferencing Response Files Using System Environment Variables Some software installations require a response file during the install process To accommodate the need for a response file you can add the...

Страница 31: ...n To update the displayed files click the Refresh button 6 Configure the commands and arguments for installing the package In the process type drop down list located above the Pre Command File label s...

Страница 32: ...prerequisites in order to sign and install packages n The signing certificate must be a trusted certificate n The signing certificate has a private key n The user signing the packages has access to th...

Страница 33: ...from Windows Certificate Store a The Browse for Signing Certificate dialog box appears displaying the contents of the Windows Certificate Store b Locate the appropriate signing certificate in the sto...

Страница 34: ...n of the package to the repositories Best Practices When editing a project you should use the following best practices n When you generate a new package from a project you should modify the version lo...

Страница 35: ...ides 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 co...

Страница 36: ...ct 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 locat...

Страница 37: ...ctions 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 rep...

Страница 38: ...vCenter Configuration Manager Software Provisioning Components Installation and User s Guide 38 VMware Inc...

Страница 39: ...chitecture on which the package can be installed In other repository systems such rpm it is common for the platform to represent the operating system architecture Package Manager does not detect the a...

Страница 40: ...artment business groups license type limited or site license Sample Platforms and Sections The following example uses the suggested platform organization and a version of the traditional IT software m...

Страница 41: ...blishing packages to a repository makes the packages available to the Package Manager to add as a source The Package Manager is the application that manages the installation and removal of packages on...

Страница 42: ...latforms and sections and then click Publish The package is added to the selected platforms and sections and the package information is displayed in the packages list If the section is identified as a...

Страница 43: ...ture but each one contains one or more user defined attributes rather than files Once added to the list the entries are referred to in this documentation as external software packages External softwar...

Страница 44: ...Identify the applications add them to the External Software list and publish the list to the repository used by the machines Managing External Software Lists You can publish only one version of the l...

Страница 45: ...receives a command to install serversetup 2 Package Manager checks the dependencies in the serversetup package and determines that there is a dependency on sqlserver equal to or later than version 9 0...

Страница 46: ...he drop down list and the value is added to the text box When the external software list is published to the repository the file name is Repository options The file is published to the hive folder in...

Страница 47: ...e a copy locally click Save The Save Repository Options dialog box appears You can save it with a locally unique name provided you do not change the options extension 11 Click Save The default save lo...

Страница 48: ...vCenter Configuration Manager Software Provisioning Components Installation and User s Guide 48 VMware Inc...

Страница 49: ...Package Manager assumes that all packages must be signed with a private key before they are installed or uninstalled To accommodate organizations that do not use software signing or where the immediat...

Страница 50: ...sections to the repository list allows you to control which repository sources the Package Manager for Windows uses when installing and removing software CAUTION If you remove a repository source fro...

Страница 51: ...epository source in Package Manager for Windows Procedure 1 At the Package Manager command prompt type wasp list The installed packages are displayed in a table 2 Type wasp switches remove packagename...

Страница 52: ...hes in any order 3 command 4 arguments use double quotes around the argument for example sqlserver 9 00 1399 06 b Example wasp q y AllowUnsigned y install sqlserver 9 00 1399 06 b Wasp Command Line Op...

Страница 53: ...etwork LoginDomain For unattended installs requiring reboot you can call install with LoginName LoginPassword and LoginNetwork d Download packages from repository If no arguments are added it only dow...

Страница 54: ...attempting to verify the signature ContinueOnInsufficientSpace Default value n If you use y the installation proceeds even if the system drive does not have enough space for the package contents overw...

Страница 55: ...LoginName LoginPassword and LoginNetwork LoginDomain For unattended uninstalls requiring reboot you can call with LoginName LoginPassword and LoginNetwork d Download packages from repository If no ar...

Страница 56: ...mple AllowUnsigned y remove notepad NoSignature Default value n If you use y the package is uninstalled without attempting to verify the signature overwrite Default value n If you use y the removal pr...

Страница 57: ...LoginName LoginPassword and LoginNetwork d Download packages from repository If no arguments added it only downloads the packages to the local cratecache n all Downloads all packages before uninstall...

Страница 58: ...Switches Comments list List of installed packages all List of known packages Possible status values n Candidate Package Manager is aware of the package in at least one repository n Installed Package...

Страница 59: ...s wasp clear status notepad or wasp clear status notepad 2 0 Table 6 7 Clear Status Command Line Switches and Arguments Resume Execution of Commands Commands Command Line Arguments Command Line Switch...

Страница 60: ...addrepository bin repositoryUri platformname sectionname where bin specifies the format Use single or double quotes around the repositoryUri if it contains spaces Example wasp addrepository bin http s...

Страница 61: ...ndex 0 based index of the position to insert the record into Example wasp insertrepository bin http server softwarerepository Win7 Release 2 In this example the wasp command is also displayed and the...

Страница 62: ...nstalled and candidates type wasp list all Installed packages have been installed on the machine candidates are packages in source repositories that are eligible for installation but not installed on...

Страница 63: ...al cratecache folder you will not be able to uninstall the package Some packages are installed as dependencies for other packages You can remove unused dependencies using wasp autoremove See Package M...

Страница 64: ...vCenter Configuration Manager Software Provisioning Components Installation and User s Guide 64 VMware Inc...

Страница 65: ...ns 51 installing 19 Package Studio installing 17 reponse file 30 packages arguments 30 certificates 32 commands 30 conflicts 27 dependencies 25 dependency contaner 26 external software 44 46 installin...

Страница 66: ...ificates package 32 sources repository adding 49 removing 50 U uninstall files package 30 V versioning package 21 66 VMware Inc vCenter Configuration Manager Software Provisioning Components Installat...

Отзывы: