Functions | |
CA_API UINT __stdcall | Service_RenameRegistryEntry (MSIHANDLE hInstall) |
Renames the registry entry of a service. More... | |
CA_API UINT __stdcall | Service_ChangeBinaryPathName (MSIHANDLE hInstall) |
Change the path to the service binary file of a service. More... | |
CA_API UINT __stdcall | Service_ChangeDisplayName (MSIHANDLE hInstall) |
Change the display name of a service. More... | |
CA_API UINT __stdcall | Service_ChangeDescription (MSIHANDLE hInstall) |
Change the description of a service. More... | |
CA_API UINT __stdcall | Service_Control (MSIHANDLE hInstall) |
Control (start/stop/pause/continue) a service. More... | |
CA_API UINT __stdcall | Service_Delete (MSIHANDLE hInstall) |
Delete a service. More... | |
CA_API UINT __stdcall | Service_GetConfig (MSIHANDLE hInstall) |
Get service configuration. More... | |
CA_API UINT __stdcall | Service_Exists (MSIHANDLE hInstall) |
Check whether a service exists. More... | |
CA_API UINT __stdcall | Service_GetState (MSIHANDLE hInstall) |
Get status of a service. More... | |
CA_API UINT __stdcall Service_ChangeBinaryPathName | ( | MSIHANDLE | hInstall | ) |
Change the path to the service binary file of a service.
The path to the service binary file of the service specified in SERVICE_CHANGE_SERVICE_NAME or SERVICE_NAME is set to SERVICE_CHANGE_BINARY_PATH_NAME.
SERVICE_CHANGE_SERVICE_NAME | name of the service |
SERVICE_NAME | alternative property for service name, used when SERVICE_CHANGE_SERVICE_NAME is not set |
SERVICE_CHANGE_BINARY_PATH_NAME | new fully qualified path to the service binary file. |
CA_API UINT __stdcall Service_ChangeDescription | ( | MSIHANDLE | hInstall | ) |
Change the description of a service.
Changes the description of the service specified in SERVICE_CHANGE_SERVICE_NAME or SERVICE_NAME. The description is changed to SERVICE_CHANGE_DESCRIPTION.
SERVICE_CHANGE_SERVICE_NAME | name of the service |
SERVICE_NAME | alternative property for service name, used when SERVICE_CHANGE_SERVICE_NAME is not set |
SERVICE_CHANGE_DESCRIPTION | new description |
CA_API UINT __stdcall Service_ChangeDisplayName | ( | MSIHANDLE | hInstall | ) |
Change the display name of a service.
Changes the display name of the service specified in SERVICE_CHANGE_SERVICE_NAME or SERVICE_NAME. The display name is changed to SERVICE_CHANGE_DISPLAY_NAME.
SERVICE_CHANGE_SERVICE_NAME | name of the service |
SERVICE_NAME | alternative property for service name, used when SERVICE_CHANGE_SERVICE_NAME is not set |
SERVICE_CHANGE_DISPLAY_NAME | new display name |
CA_API UINT __stdcall Service_Control | ( | MSIHANDLE | hInstall | ) |
Control (start/stop/pause/continue) a service.
SERVICE_NAME | service name |
SERVICE_CONTROL | action, one of SERVICE_CONTROL_START, SERVICE_CONTROL_STOP, SERVICE_CONTROL_PAUSE, SERVICE_CONTROL_CONTINUE |
CA_API UINT __stdcall Service_Delete | ( | MSIHANDLE | hInstall | ) |
Delete a service.
SERVICE_NAME | service name |
CA_API UINT __stdcall Service_Exists | ( | MSIHANDLE | hInstall | ) |
Check whether a service exists.
SERVICE_NAME | service name |
CA_API UINT __stdcall Service_GetConfig | ( | MSIHANDLE | hInstall | ) |
Get service configuration.
SERVICE_NAME | service name |
CA_API UINT __stdcall Service_GetState | ( | MSIHANDLE | hInstall | ) |
Get status of a service.
SERVICE_STATE_SERVICE_NAME | service name |
SERVICE_NAME | alternative property for service name, used when SERVICE_STATE_SERVICE_NAME is not set |
CA_API UINT __stdcall Service_RenameRegistryEntry | ( | MSIHANDLE | hInstall | ) |
Renames the registry entry of a service.
Renames HKLM to HKLM.
SERVICE_RENAME_REGISTRY_ENTRY_FROM | current service name in the registry |
SERVICE_RENAME_REGISTRY_ENTRY_TO | new service name in the registry |
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |