[This is preliminary documentation and is subject to change.]
The LocalInstallation type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| LocalInstallation |
Initializes local installation, tries to read local manifest from rootPath or localManifestDir if it is !=null
|
Methods
| Name | Description | |
|---|---|---|
| BeginInstallation |
Starts the installation so InstallPackage() can be called
| |
| CheckLocalAndInstallIfNeeded |
Checks local installation first for missing of different packages and if there are no differences then returns false,
otherwise re-installs all packages defined by in install-set locally and returns true.
Pass force=true to re-install regardless of manifest comparison (false by default)
| |
| Destructor | (Overrides DisposableObject Destructor .) | |
| Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) | |
| EndInstallation |
Updates local installation manifest if changes have been made (Modified=true)
| |
| EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) | |
Determines whether the specified object is equal to the current object. (Inherited from | ||
| Finalize | (Inherited from DisposableObject.) | |
| FindMissingOrDifferentPackage |
Finds a package form the install set which is either missing on local machine or is not the same as the one in installSet.
Returns the package info from install set
| |
Serves as the default hash function. (Inherited from | ||
Gets the (Inherited from | ||
| InstallPackage |
Unconditionally installs a package - copies a set of files contained in the FileSystemDirectory assigning it some mnemonic name
| |
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from |
Extension Methods
Properties
| Name | Description | |
|---|---|---|
| Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) | |
| DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) | |
| InstallationStarted |
Returns true to indicate that BeginInstallation() has been called
| |
| Item |
Returns installed package manifest by name or null
| |
| Modified |
Returns true to indicate that local installation has changed as the result of package installation
| |
| PackageManifests |
Gets package manifests
| |
| PackageNames |
Gets package names
| |
| RootPath |
Root path of the installation
|
See Also