Shopping Cart
Your Cart is Empty
Quantity:
Subtotal
Taxes
Shipping
Total
There was an error with PayPalClick here to try again
CelebrateThank you for your business!You should be receiving an order confirmation from Paypal shortly.Exit Shopping Cart

Chapter 5 - Installing Windows Services (Download Solution)


Excercise 5.1: The ServiceInstall Table


In this exercise you will author the ServiceInstall table to install the Blaster Master Service.


Thus, open your blastermaster.msi with InstEd and add the following new record to the ServiceInstall table:

COLUMN

VALUE

ServiceInstall

BMService

Name

BMService

DisplayName

Blaster Master Service

ServiceType

0x00000110

StartType

0x00000002

ErrorControl

0x00000001

LoadOrderGroup

<null>

Dependencies

<null>

StartName

<null>

Password

<null>

Arguments

<null>

Component_

Comp_File_BMService.exe

Description

Blaster Master Service

Next modify the component of the file BMService.exe in the Component table to make this file the KeyPath of that component:

COLUMN

VALUE

Component

Comp_File_BMService.exe

ComponentId

<GUID>

Directory_

TARGETDIR

Attributes

0x0000

Condition

<null>

KeyPath

File_BMService.exe

Excercise 5.2: The ServiceControl Table


In this exercise you will author the ServiceControl table to control the Blaster Master Service.


Thus, add the following new record to the ServiceControl table:

COLUMN

VALUE

 ServiceControl

ControlBMService

Name

BMService

Event

0x0081

Arguments

<null>

Wait

0

Component_

Comp_File_BMService.exe

0