Hello,

I use ServiceInstall as well (even though it's not .NET), the only
difference I see is that you're specifying the user account/password and I
don't. Have you tried without those two attributes?

Regards,


Michael


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of bryan
rasmussen
Sent: 19 August 2008 14:14
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] serviceinstall problems

Hi,

I am adapting the wix tutorial's mondo install example
http://www.tramontana.co.hu/wix/lesson2.php with a service install, I
keep getting an error when the MSI actually attempts to install the
MSI saying I don't have the rights to do it.

I am of course not sure what the problem is but I can make some guesses -

1. the service is in .net
2. I was just using installutil to make my installations before
3. I have not had VS generate my service installer, I was just using
System.ServiceProcess.ServiceBase


here is the code that is relevant:


            <Component Id='MainExecutable'
Guid='a462dab0-83F1-4F22-985B-FDB3C8ABD471'>
              <File Id='RenderingServiceExec' Name='Render'
LongName='RenderingService.exe' DiskId='1'
                Source='RenderingService.exe' Vital='yes' >

                
              </File>
                                <ServiceInstall Id="RenderingServiceInstall"
        
Name="RenderingServiceInstaller"
        
DisplayName="Rendering Service"
        
Type="ownProcess"
        
Start="auto"
        
ErrorControl="normal"
        
Description="Rendering Service Installer"
        
Account="[SERVICEACCOUNT]"
        
Password="[SERVICEPASSWORD]"
        
Vital="yes"
                                                  />
                                          <ServiceControl
Id="StartRenderingServiceInstall"
        
Name="RenderingServiceInstaller" Start="install" Wait="no" />
                                          <ServiceControl
Id="StopRenderingServiceInstall"
Name="RenderingServiceInstaller"
        
Stop="both" Wait="yes" Remove="uninstall" />
            </Component>

is there anything in that which would cause an error? The file is
correctly placed.

Cheers,

Bryan Rasmussen

-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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