I have a service created by Visual Studio 2008 as ATL model service. After install the service does not starting. I investigate this problem and discovered that there is absence of the required registry entries.
ATL service model create RGS script which contains the entries.
In my case it looks like this:
Code: Select all
HKCR
{
NoRemove AppID
{
'%APPID%' = s 'M3SAlarmRecv'
'M3SAlarmRecv.EXE'
{
val AppID = s '%APPID%'
}
}
}
Executing this command performs RGS script that creates the registry entries.
Can you do something to the AI works correctly with ATL service model?
I suggested that the AI looked into the resources of EXE file, found the RGS script, parse him and create registry entries in AIP file.
This is REG file which corresponds to the RGS script.
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AppID\M3SAlarmRecv.EXE]
"AppID"="{7559AC8D-BE8B-437B-9216-140626A607AC}"
[HKEY_CLASSES_ROOT\AppID\{7559AC8D-BE8B-437B-9216-140626A607AC}]
@="M3SAlarmRecv"
"LocalService"="M3SAlarmRecv"
Marek
FOLLOW US
Get the latest news in Application Packaging