The
Ready to Install
page appears.
9. Click
Install
.
When the installation is completed, the
Setup Complete
page appears.
10. Click
Finish
.
The repository and the virtual directory are added to the locations specified during installation. The default
location for the repository is
C:\Program Files\VMware\VCM\Tools\Repository
(on 32-bit
machines) or
C:\Program Files (x86)\VMware\VCM\Tools\Repository
(on 64-bit machines). The
default virtual directory SoftwareRepository is added to
Internet Information Services (IIS) | Web Sites
| Default Web Site
.
Procedure (unattended using .msi)
1. On your Collector, navigate to
C:\Program Files\VMware\VCM\AgentFiles\Products.
2. Locate the
Repository.msi
file, and then copy it to the target machine. You can also run it from a
shared location.
3. On the target machine, run the .msi file using the following command line syntax.
msiexec /i [path]\Repository.msi /qn /l*v %temp%\Repository.log
You can add the following arguments if you want to specify locations other than the default
directories:
REPOSITORY_ROOT="C:\Program Files\VMware\VCM\Tools\Repository\" (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, SoftwareRepository). In this file are the
following:
n
.hive: Contains the repository management files, including such files as repository.index and
repository.toc.
n
crates: Contains alphabetical sub folders. It is to this location that the packages (.crate files) are
published.
n
dists: Contains crates.gz files. These files are metadata about the .crate files.
Manually Uninstall the Repository
Use the following script to run an unattended uninstall the software repository. To uninstall the
application, you must use the version of the Repository.msi that was used to install the application.
Procedure
1. Copy the Repository.msi to the machine on which you are uninstalling the application or point to the
file in a shared directory.
2. Run the .msi file using the following command line syntax:
msiexec /x [path]\Repository.msi /l*v %temp%\Repository.log
Manually Configure Repositories
Although you can use an installation file to install a repository on a machine, it may be necessary to
manually create one.
Installing the Software Provisioning Components
VMware, Inc.
11