I am trying to start a service Foobar.exe . 
I created a sample.msi using the following code.

When I run sample.msi under administrator I am getting this following Error.

Error 1920. Service 'Foobar.exe' (Foobar.exe) failed to start.  Verify that
you have sufficient privileges to start system services.
MSI (s) (8C:24) [17:03:56:442]: Product: Foobar 1.0 -- Error 1920. Service
'Foobar.exe' (Foobar.exe) failed to start.  Verify that you have sufficient
privileges to start system services.

Shall any one please let me know How to start a service?
I appreciate your Help . Thanks.

Sample.wxs Code for sample.msi

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
  <Product Name='Foobar 1.0' Id='223C2E86-57FE-40aa-B748-35A45FF3DF30'
    Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Acme

    <Package Id='????????-????-????-????-????????????' Keywords='Installer'
      Description="Acme's Foobar 1.0 Installer"
      Comments='Foobar is a registered trademark of Acme Ltd.'
Manufacturer='Acme Ltd.'
      InstallerVersion='100' Languages='1033' Compressed='yes'
SummaryCodepage='1252' />

    <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1"
    <Property Id='DiskPrompt' Value="Acme's Foobar 1.0 Installation [1]" />

    <Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
        <Directory Id='Acme' Name='Acme'>
          <Directory Id='INSTALLDIR' Name='Foobar10' LongName='Foobar 1.0'>

            <Component Id='FoobarExe_Component'
                       SharedDllRefCount='no' KeyPath='no'
NeverOverwrite='no' Permanent='no' Transitive='no'
                       Win64='no' Location='either'>
              <File Id='FoobarExe_File' Name='Foobar.exe' 
Source='Foobar.exe' ReadOnly='no' Compressed='yes'
                    KeyPath='yes' Vital='yes' Hidden='no' System='no'
Checksum='no' DiskId='1' />
              <ServiceInstall Id='FoobarExe_ServiceInstall'
DisplayName='foobar Service' Name='FoobarExe' ErrorControl='normal'
                              Start='auto' Type='ownProcess' Vital='yes' />
              <ServiceControl Id='FoobarExe_ServiceControl'
Name='Foobar.exe'  Start='install' Stop='uninstall' Remove='uninstall' />

View this message in context: 
Sent from the wix-users mailing list archive at Nabble.com.

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
WiX-users mailing list

Reply via email to