background image

vCenter Configuration Manager

Software Provisioning Components

Installation and User's Guide

Package Studio 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 edition. To
check for more recent editions of this document, see

http://www.vmware.com/support/pubs

.

EN-000455-00

Summary of Contents for PACKAGE MANAGER 1.1

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 6: ...vCenter Configuration Manager Software Provisioning Components Installation and User s Guide 6 VMware Inc...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 38: ...vCenter Configuration Manager Software Provisioning Components Installation and User s Guide 38 VMware Inc...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 48: ...vCenter Configuration Manager Software Provisioning Components Installation and User s Guide 48 VMware Inc...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 64: ...vCenter Configuration Manager Software Provisioning Components Installation and User s Guide 64 VMware Inc...

Page 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...

Page 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...

Reviews: