1. I don't think you need 2 servicecontrol tags. You can combine the two you have and use one (I haven't tried two so I don't know if that's an issue). 2. Make sure that the person installing has admin rights on your install server. 3. if UAC is enabled, disable it (only on vista/server 2008) 4. make sure your user account is in DOMAIN\username format and that your password is valid 5. make sure you are giving your user LogonAsService rights. If you need more info, check the <User /> tag in the util extension. This will be required for the service to start with your service account.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bryan rasmussen Sent: Tuesday, August 19, 2008 5:14 AM 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