InstallManager.Load Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the installers associated with the current InstallManager object.
Overloads
Load(String, IDictionary<String,String>) | |
Load(IEnumerable<Installer>) |
Loads a collection of installers from the given generic IEnumerable collection of Installer objects. |
Load(String) |
Loads a collection of installers from the file at the given location. |
Load(String, IDictionary<String,String>)
public:
void Load(System::String ^ fileLocation, [Runtime::InteropServices::Out] System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ % extraData);
public void Load (string fileLocation, out System.Collections.Generic.IDictionary<string,string> extraData);
member this.Load : string * -> unit
Public Sub Load (fileLocation As String, ByRef extraData As IDictionary(Of String, String))
Parameters
- fileLocation
- String
- extraData
- IDictionary<String,String>
Applies to
Load(IEnumerable<Installer>)
Loads a collection of installers from the given generic IEnumerable collection of Installer objects.
public:
void Load(System::Collections::Generic::IEnumerable<Microsoft::Web::PlatformInstaller::Installer ^> ^ installers);
public void Load (System.Collections.Generic.IEnumerable<Microsoft.Web.PlatformInstaller.Installer> installers);
member this.Load : seq<Microsoft.Web.PlatformInstaller.Installer> -> unit
Public Sub Load (installers As IEnumerable(Of Installer))
Parameters
- installers
- IEnumerable<Installer>
An IEnumerable collection of Installer objects.
Exceptions
The installers
parameter is null
(Nothing
in Visual Basic)
The per-installation install log folder was not null or empty. This indicates the InstallManager is being reused and has not been properly reinitialized.
Applies to
Load(String)
Loads a collection of installers from the file at the given location.
public:
void Load(System::String ^ fileLocation);
public void Load (string fileLocation);
member this.Load : string -> unit
Public Sub Load (fileLocation As String)
Parameters
- fileLocation
- String
The location of the file that contains a list of installers to load.