I made changes as Richard mentioned Still I have a following error. 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.
I found this code from http://www.tramontana.co.hu/wix/lesson6.php But there is no sample. Shall Anyone please point out some example for service installation. <Component Id='ServiceExeComponent' Guid='YOURGUID-D752-4C4F-942A-657B02AE8325' SharedDllRefCount='no' KeyPath='no' NeverOverwrite='no' Permanent='no' Transitive='no' Win64='no' Location='either'> <File Id='ServiceExeFile' Name='SRVCEX~2.EXE' LongName='ServiceExe.exe' Source='ServiceExe.exe' ReadOnly='no' Compressed='yes' KeyPath='yes' Vital='yes' Hidden='no' System='no' Checksum='no' PatchAdded='no' /> <ServiceInstall Id='MyServiceInstall' DisplayName='My Test Service' Name='MyServiceExeName' ErrorControl='normal' Start='auto' Type='ownProcess' Vital='yes' /> <ServiceControl Id='MyServiceControl' Name='MyServiceExeName' Start='install' Stop='uninstall' Remove='uninstall' /> </Component> -- View this message in context: http://www.nabble.com/How-to-Start-a-Service--tf4768465.html#a13655336 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