Hi, I tried with Wait="yes".
But still am getting same error. :( Action 11:56:57: UnpublishFeatures. Unpublishing Product Features UnpublishFeatures: Feature: TPFeature Action 11:56:57: StopServices. Stopping services StopServices: Service: Test Prg Service Error 1921. Service 'Test Prg Service' (GuardSvc) could not be stopped. Verify that you have sufficient privileges to stop system services. MSI (s) (00:A8) [11:57:30:156]: Product: Test Prg -- Error 1921. Service 'Test Prg Service' (GuardSvc) could not be stopped. Verify that you have sufficient privileges to stop system services. Action ended 11:57:31: InstallFinalize. Return value 3. Action 11:57:31: Rollback. Rolling back action: Rollback: Stopping services Rollback: Unpublishing Product Features Wilson, Phil wrote: > > Try Wait="yes". > > When wait="no" you can get a timing race between the service actually > winding down (and the process terminating) and the attempt to delete it. > The message might be a consequence of the process still running. > > Phil Wilson > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja > Sent: Monday, January 07, 2008 5:00 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] System Services > > > Hi, > > In my project am using guarsvc.exe. Following is the code for the same > > <Component Id="guardsvc.exe" Guid="{8D6F5BA9-DA8C-403F-8092-FD5A05616B2B}" > DiskId="1"> > <File Id="guardsvc.exe" Name="grds.exe" LongName="guardsvc.exe" > KeyPath="yes" Source="guardsvc.exe" /> > <ServiceControl Id="GuardvcEvent" Name="GuardSvc" Stop="uninstall" > Remove="uninstall" Wait="no"/> > <ServiceInstall Id="NewServiceInstall2" > Name="GuardSvc" > DisplayName="Test Service" > Type="ownProcess" > Start="auto" > ErrorControl="normal" > Description="Enables the Test Prg Client. If this > service is stopped, test prg-protected content will be unavailable." > Interactive="no" > > <ServiceDependency Id="RpcSs" /> > <ServiceDependency Id="Dnscache" /> > <ServiceDependency Id="CryptSvc" /> > <ServiceDependency Id="TermService" /> > </ServiceInstall> > </Component> > > While Uninstalling am getting the following error. > > Service 'Test Service'(guardsvc) couldnot be deleted. Verify that you have > sufficient privileges to remove system services. > > Can anyone tell me what is the wrong here? > > > -- > View this message in context: > http://www.nabble.com/System-Services-tp14665168p14665168.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > 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/System-Services-tp14665168p14683454.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users