I have a service that is an ATL service as well. This may not be the same
situation, but I had to add a <RegistryValue/> element in the
HKLM\Software\Classes\AppID\MY-SERVICE-GUID with the @Name=LocalService and
the @Value=[service name] to get it to work. I think that's the same thing
that the svc.exe /Service does.
On 2/21/07, Lexa Rogovoy <[EMAIL PROTECTED]> wrote:
Hello.
I want to install simple ATL Service.
In WiX script i am adding next string:
<Component Id="Service" Guid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx">
<File Id="svc" Name="svc.exe" DiskId="1" Source="svc.exe"
KeyPath="yes" Vital="yes">
<AppId Id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" Advertise="no"
LocalService="my service" />
<TypeLib Id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" Advertise="no"
Description="svc 1.0 Type Library" Language="0" MajorVersion="1"
MinorVersion="0">
<Class Id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" Advertise="no"
Description="SvcObj Class" Context="LocalServer32" Programmable="yes">
<ProgId Id="svc.SvcObj.1" Description="SvcObj Class">
<ProgId Id="svc.SvcObj" Description="SvcObj Class" />
</ProgId>
</Class>
</TypeLib>
</File>
<ServiceInstall Id="svcI" Name="svc" Description="my service"
Type="ownProcess" Start="auto" ErrorControl="normal" DisplayName="my
service" />
</Component>
After install i try to start service and get next error:
---------------------------
Services
---------------------------
Could not start the my service service on Local Computer.
Error 1053: The service did not respond to the start or control
request in a timely fashion.
---------------------------
OK
---------------------------
If i do svc.exe /Service - all work.
--
Lexa
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users