ArcFM Desktop Developer Guide
Install Method (ServiceInstallerWithDescription)


An System.Collections.IDictionary that contains the context information associated with the installation.
Installs the service by writing service application information to the registry. This method is meant to be used by installation tools, which process the appropriate methods automatically.
Syntax
'Declaration
 
Public Overrides Sub Install( _
   ByVal stateSaver As IDictionary _
) 
'Usage
 
Dim instance As ServiceInstallerWithDescription
Dim stateSaver As IDictionary
 
instance.Install(stateSaver)
public override void Install( 
   IDictionary stateSaver
)

Parameters

stateSaver
An System.Collections.IDictionary that contains the context information associated with the installation.
Exceptions
ExceptionDescription
System.ExceptionThe installation does not contain a System.ServiceProcess.ServiceProcessInstaller for the executable.-or- The assembly to install could not be found.-or- The service name is invalid.-or- The Service Control Manager could not be opened.
System.ComponentModel.Win32ExceptionThe system could not generate a handle to the service.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ServiceInstallerWithDescription Class
ServiceInstallerWithDescription Members

 

 


Send Comment