Re: [WiX-users] How to Start a Service?

2007-11-08 Thread ar

we have a setup.exe to install our product.
If I install  using setup.exe I am able to see the sevice running
I am using the same Exe for my .msi . I think there is no problem with the
exe.

If you have some sample service shall you  please share it with me.
I appreciate your help. Thanks.

Richard-45 wrote:
 
 
 In article [EMAIL PROTECTED],
 ar [EMAIL PROTECTED]  writes:
 
 Error 1923. Service 'foobar Service' (Foobar.exe) could not be installed. 
 Verify that you have sufficient privileges to install system services.
 MSI (s) (18:E8) [10:42:57:784]: Product: Foobar 1.0 -- Error 1923.
 Service
 'foobar Service' (Foobar.exe) could not be installed.  Verify that you
 have
 sufficient privileges to install system services.
 
 How do you know that your service starts properly at all?
 
 Since you're installing it, I assume that you've written and debugged
 it already, but you didn't say.
 -- 
 The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
   http://www.xmission.com/~legalize/book/download/index.html
 
 Legalize Adulthood! http://blogs.xmission.com/legalize/
 
 -
 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
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-Start-a-Service--tf4768465.html#a13656012
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to Start a Service?

2007-11-07 Thread ar

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
Ltd.'

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'
Guid='BF5335E2-E60D-4b38-9772-30DAE2F20C6D'
   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' /
/Component

  /Directory
/Directory
  /Directory
-- 
View this message in context: 
http://www.nabble.com/How-to-Start-a-Service--tf4768465.html#a13639641
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Question on DIFxApp.msm, DIFXAppSample.msi ?

2007-10-23 Thread ar

DIFXAppSample.msi is not able to install drivers properly.

I am trying to develop an installer (*.msi) to install drivers  application
using DIFxApp.msm.
(Toaster sample from WIN DDK)

I can merge DIFXApp.msm into the package and can see an empty
MsiDriverPackages custom table, MsiProcessDrivers, etc custom actions.
 
Using Orca.exe, I  add a record to the MsiDriverPackages custom table.


From the log, I can say why it has failed.   
DIFXAPP: ERROR:  One or more files referenced by 'C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf' cannot be found in the package. 
DIFXAPP: INFO:   RETURN: DriverPackageInstallW  (0xE303)
DIFXAPP: ERROR encountered while installing driver package C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf
 
But I can see the toastpkg.inf in  C:\Program Files\Microsoft\DIFxAppSample\
From the log also, we can confirm that it is copying that file.
 
Action 9:14:23: InstallFiles. Copying new files
InstallFiles: File: toastpkg.inf,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 3228
InstallFiles: File: PlugAndPlay.cat,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 8695 
 

I  am searching for a solution to install the DIFXApp.msm sample from WIN
DDK.
If you are able to install the drivers using DIFXApp.msm, DIFXAppSample.msi
from WIN DDK, Please let me the procedure.

 
As I am trying this for the first time , I might be having a completely
wrong understanding. 
 
I appreciate your help if you can point me in the right direction.
 
Thanks,
Anuradha. 

-- 
View this message in context: 
http://www.nabble.com/Question-on-DIFxApp.msm%2C-DIFXAppSample.msi---tf4681153.html#a13376403
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users