Any errors in the log if you run msiexec /x yourmsi.msi /lvx* yourmsi.log?
Is the service also still running? 
 
Rene

________________________________

From: [EMAIL PROTECTED] on behalf of Wik Carl-Johan
Sent: Fri 8/24/2007 14:04
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstall windows service



Hi!

 

I have:

 

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

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

                <Product Id="d9944a47-8fce-4d69-ac4a-daf7eff1ed06" 
Name="WM-data Integration Log Service"

                                                 Language="1033" 
Version="1.0.0.0" Manufacturer="WM-data"

                                                 
UpgradeCode="7c9e2226-971f-4838-8761-4c9b759699e9">

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

 

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

 

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

                                                <Directory 
Id="ProgramFilesFolder">

                                                                <Directory 
Id="INSTALLLOCATION" Name="WM-data">

                                                                                
<Directory Id="IntegrationShared" Name="Integration">

                                                                                
                <Directory Id="WMdataLogServiceFolder" 
Name="WMdata.Integration.Logging.WindowsService">

                                                                                
                                <Component Id="WMdataLoggingServiceComponent" 
Guid="62936f11-9cda-44d1-a9c8-6fe3ec17a218">

                                                                                
                                                <File Id 
="WMdata.Integration.Logging.WindowsService.exe" Source 
="..\..\Source\WMdata.Integration.Logging.WindowsService\bin\Release\WMdata.Integration.Logging.WindowsService.exe"
 KeyPath="yes"/>

                                                                                
                                                

                                                                                
                                                <ServiceInstall 
Id="WMdataLogServiceInstall"

                                                                                
                                                                
Name="WMdataIntegrationLogService"

                                                                                
                                                                
DisplayName="WM-data Integration Log Service"

                                                                                
                                                                
Description="Read WM-data msmq log into SQL."

                                                                                
                                                                
ErrorControl="normal"

                                                                                
                                                                                
                Start="auto"

                                                                                
                                                                                
                Type="ownProcess"

                                                                                
                                                                                
                Vital="yes"

                                                                                
                                                                                
                Account=".\WmDataLog"

                                                                                
                                                                                
                Password="123"

                                 >

                                                                                
                                                </ServiceInstall>

                                                                                
                                                <ServiceControl 
Id="WMdataLogServiceControl" Name="WMdataIntegrationLoggingService" 
Stop="uninstall" Remove="uninstall" Wait="yes"/>

 

 

                                                                                
                                </Component>

                                                                                
                </Directory>

                                                                                
</Directory>

                                                                </Directory>

                                                </Directory>

                                </Directory>

 

                                <Feature Id="ProductFeature" Title="WM-data 
Integration Log Service" Level="1">

                                                <ComponentRef 
Id="WMdataLoggingServiceComponent" />

                                </Feature>

 

                </Product>

</Wix>

 

The install is  working fine now, but on uninstall the files for the service is 
removed but the service is still in the service list and in the registry. Orca 
tells me the ServiceControl table has the flag set for uninstall (160). I can't 
see what is missing?..

 

/cj

 



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
-------------------------------------------------------------------------
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

Reply via email to