Hi Rob,
Now i have commented the service start code , but it is giving same error.
 
Code:
 
<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";

xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

<Product Id="0a41e965-5d82-4f3d-81b2-c796203dcafb" Name="WixWinService" 
Language="1033" Version="1.0.0.0" Manufacturer="WixWinService" 
UpgradeCode="4613b69f-66ce-4139-9ff2-5c6c1a9445e9">

<Package InstallerVersion="200" Compressed="yes" />

<Media Id="1" Cabinet="WixWinService.cab" EmbedCab="yes" />

<util:User Name="wewewe" Id="sssss" Password="wwwww123" 
Domain="tenix"></util:User>

<Directory Id="TARGETDIR" Name="SourceDir">

<Directory Id="ProgramFilesFolder">

<Directory Id="INSTALLLOCATION" Name="WixWinService">

<!-- TODO: Remove the comments around this Component element and the 
ComponentRef below in order to add resources to this installer. -->

<Component Id="ProductComponent" Guid="d0260f47-58b1-4720-9cd3-ec7de55521c3">

<File Id='WindowsService.exe' Name='WindowsService.exe' 
Source='C:\IMES_NOVA\Proof of 
Concept\WixProjectSample\WindowsService\WindowsService\bin\Debug\WindowsService.exe'

ReadOnly='no' Compressed='yes' KeyPath='yes' Vital='yes' Hidden='no' System='no'

Checksum='no' />

<ServiceInstall Id='WindowsService.exe' DisplayName='My New C# Windows Service' 
Name='WindowsService'

ErrorControl='normal' Account='sssss' Start='auto' Type='shareProcess' 
Vital='yes' />

<!--<ServiceControl Id='WindowsServiceControl' Name='WindowsService.exe'

Start='install' Stop='uninstall' Remove='uninstall' />-->

<!-- TODO: Insert files, registry keys, and other resources here. -->

</Component>

</Directory>

</Directory>

</Directory>

<Feature Id="ProductFeature" Title="WixWinService" Level="1">

<!-- TODO: Remove the comments around this ComponentRef element and the 
Component above in order to add resources to this installer. -->

<ComponentRef Id="ProductComponent" />

</Feature>

</Product>

</Wix>

________________________________

From: [EMAIL PROTECTED] on behalf of Rob Mensching
Sent: Tue 29/07/2008 9:33 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] : Problem when installing Windows service using Wix.



That (unfortunately) is the standard error message you'll get when the service 
has any problem installing or starting.  First thing I usually do, is not try 
to start the service in the install.  If that succeeds, then it is almost 
certainly a dependency problem... your service needs something installed before 
it can be started.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chandra Vuppala
Sent: Monday, July 28, 2008 20:59
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] : Problem when installing Windows service using Wix.

It is for privillages though i have given required privillages.

errror  : Verify that you have sufficient privileges to install system services.

________________________________

From: [EMAIL PROTECTED] on behalf of Rob Mensching
Sent: Tue 29/07/2008 9:22 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] : Problem when installing Windows service using Wix.



What's the problem?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chandra Vuppala
Sent: Sunday, July 27, 2008 23:27
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] : Problem when installing Windows service using Wix.

Hi All,
Can any give the solution for Windows service installation  using Wix, i have 
attached the log fiel and Code is as follows

<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";

xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

<Product Id="0a41e965-5d82-4f3d-81b2-c796203dcafb" Name="WixWinService" 
Language="1033" Version="1.0.0.0" Manufacturer="WixWinService" 
UpgradeCode="4613b69f-66ce-4139-9ff2-5c6c1a9445e9">

<Package InstallerVersion="200" Compressed="yes" />

<Media Id="1" Cabinet="WixWinService.cab" EmbedCab="yes" />

<util:User Name="chandrashekar.vuppala" Id="chandrashekar.vuppal" 
Password="xxxx" Domain="ccccc"></util:User>

<Directory Id="TARGETDIR" Name="SourceDir">

<Directory Id="ProgramFilesFolder">

<Directory Id="INSTALLLOCATION" Name="WixWinService">

<!-- TODO: Remove the comments around this Component element and the 
ComponentRef below in order to add resources to this installer. -->

<Component Id="ProductComponent" Guid="d0260f47-58b1-4720-9cd3-ec7de55521c3">

<File Id='WindowsService.exe' Name='WindowsService.exe' 
Source='C:\IMES_NOVA\Proof of 
Concept\WixProjectSample\WindowsService\WindowsService\bin\Debug\WindowsService.exe'

ReadOnly='no' Compressed='yes' KeyPath='yes' Vital='yes' Hidden='no' System='no'

Checksum='no' />

<ServiceInstall Id='WindowsService.exe' DisplayName='My New C# Windows Service' 
Name='WindowsService'

ErrorControl='normal' Account='chandrashekar.vuppal' Start='auto' 
Type='shareProcess' Vital='yes' />

<ServiceControl Id='WindowsServiceControl' Name='WindowsService.exe'

Start='install' Stop='uninstall' Remove='uninstall' />

<!-- TODO: Insert files, registry keys, and other resources here. -->

</Component>

</Directory>

</Directory>

</Directory>

<Feature Id="ProductFeature" Title="WixWinService" Level="1">

<!-- TODO: Remove the comments around this ComponentRef element and the 
Component above in order to add resources to this installer. -->

<ComponentRef Id="ProductComponent" />

</Feature>

</Product>

</Wix>


IMPORTANT
1.      This email and any attachments are confidential.  Any unauthorised 
dissemination or other use of these materials is prohibited.  If received in 
error, please contact us and delete all copies.
2.      Before opening or using attachments, check them for viruses and 
defects.  Our liability is limited to resupplying any affected attachments.
3.      Protecting your privacy is important to us.  Our privacy statement and 
further information is available at www.oakton.com.au.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK & win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



IMPORTANT
1.      This email and any attachments are confidential.  Any unauthorised 
dissemination or other use of these materials is prohibited.  If received in 
error, please contact us and delete all copies.
2.      Before opening or using attachments, check them for viruses and 
defects.  Our liability is limited to resupplying any affected attachments.
3.      Protecting your privacy is important to us.  Our privacy statement and 
further information is available at www.oakton.com.au.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



IMPORTANT
1.      This email and any attachments are confidential.  Any unauthorised 
dissemination or other use of these materials is prohibited.  If received in 
error, please contact us and delete all copies.  
2.      Before opening or using attachments, check them for viruses and 
defects.  Our liability is limited to resupplying any affected attachments. 
3.      Protecting your privacy is important to us.  Our privacy statement and 
further information is available at www.oakton.com.au.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to