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

Reply via email to