Re: [WiX-users] Inconsistently uninstalling windows service
What does the log show for the ActionState of the component to which the service is associated? Ben Reichelt <[EMAIL PROTECTED]> wrote: I solved the problem, an earlier version of the application had been installed using the msi packages, and then manually deleted without actually uninstalling it. Uninstalling these older msi's fixed my windows service issues. Thanks for your help Bob On Nov 13, 2007 12:43 PM, Ben Reichelt <[EMAIL PROTECTED]> wrote: I ran the verbose log. The only difference that I noticed between the working and nonworking machines was that on the working machine, the files to be removed had an "Action: Absent" whereas on the nonworking machine, the files to be removed had an "Action: HKCRFileAbsent" Here is the output near the DeleteServices action, everything appears to be correct, and the output is same on both machines: MSI (s) (F0:2C) [12:13:27:910]: Using cached product context: User non-assigned for product: 28ABAB2CA4D6CE540B601F2F62FF1D6F Action start 12:13:27: UnpublishFeatures. MSI (s) (F0:2C) [12:13:27:910]: Doing action: StopServices MSI (s) (F0:2C) [12:13:27:910]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: UnpublishFeatures. Return value 1. Action start 12:13:27: StopServices. MSI (s) (F0:2C) [12:13:27:910]: Doing action: DeleteServices MSI (s) (F0:2C) [12:13:27:910]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: StopServices. Return value 1. Action start 12:13:27: DeleteServices. MSI (s) (F0:2C) [12:13:27:926]: Doing action: RemoveRegistryValues MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: DeleteServices. Return value 1. Action start 12:13:27: RemoveRegistryValues. MSI (s) (F0:2C) [12:13:27:926]: Doing action: RemoveFiles MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: RemoveRegistryValues. Return value 1. MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: RemoveFile Action start 12:13:27: RemoveFiles. MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: RemoveFile MSI (s) (F0:2C) [12:13:27:926]: Doing action: InstallFiles MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: RemoveFiles. Return value 0. On Nov 13, 2007 10:35 AM, Bob Arnson < [EMAIL PROTECTED]> wrote: Ben Reichelt wrote: > The msi package installs and uninstalls correctly on my dev machine > (WinXP) and another dev server (Win2k3). There are two servers that > the msi fails to uninstall correctly. The files are all deleted, but > the windows service is not removed. Start with a verbose uninstall log. Check around InstallValidate to make sure MSI is deciding to remove the appropriate components, then check the detailed logging for the DeleteServices action. -- sig://boB http://joyofsetup.com/ - 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 - Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.- 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
Re: [WiX-users] Inconsistently uninstalling windows service
I solved the problem, an earlier version of the application had been installed using the msi packages, and then manually deleted without actually uninstalling it. Uninstalling these older msi's fixed my windows service issues. Thanks for your help Bob On Nov 13, 2007 12:43 PM, Ben Reichelt <[EMAIL PROTECTED]> wrote: > I ran the verbose log. The only difference that I noticed between the > working and nonworking machines was that on the working machine, the files > to be removed had an "Action: Absent" whereas on the nonworking machine, the > files to be removed had an "Action: HKCRFileAbsent" > > Here is the output near the DeleteServices action, everything appears to > be correct, and the output is same on both machines: > > MSI (s) (F0:2C) [12:13:27:910]: Using cached product context: User > non-assigned for product: 28ABAB2CA4D6CE540B601F2F62FF1D6F > Action start 12:13:27: UnpublishFeatures. > MSI (s) (F0:2C) [12:13:27:910]: Doing action: StopServices > MSI (s) (F0:2C) [12:13:27:910]: Note: 1: 2205 2: 3: ActionText > Action ended 12:13:27: UnpublishFeatures. Return value 1. > Action start 12:13:27: StopServices. > MSI (s) (F0:2C) [12:13:27:910]: Doing action: DeleteServices > MSI (s) (F0:2C) [12:13:27:910]: Note: 1: 2205 2: 3: ActionText > Action ended 12:13:27: StopServices. Return value 1. > Action start 12:13:27: DeleteServices. > MSI (s) (F0:2C) [12:13:27:926]: Doing action: RemoveRegistryValues > MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText > Action ended 12:13:27: DeleteServices. Return value 1. > Action start 12:13:27: RemoveRegistryValues. > MSI (s) (F0:2C) [12:13:27:926]: Doing action: RemoveFiles > MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText > Action ended 12:13:27: RemoveRegistryValues. Return value 1. > MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: RemoveFile > Action start 12:13:27: RemoveFiles. > MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: RemoveFile > MSI (s) (F0:2C) [12:13:27:926]: Doing action: InstallFiles > MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText > Action ended 12:13:27: RemoveFiles. Return value 0. > > > > > > On Nov 13, 2007 10:35 AM, Bob Arnson < [EMAIL PROTECTED]> wrote: > > > Ben Reichelt wrote: > > > The msi package installs and uninstalls correctly on my dev machine > > > (WinXP) and another dev server (Win2k3). There are two servers that > > > the msi fails to uninstall correctly. The files are all deleted, but > > > the windows service is not removed. > > > > Start with a verbose uninstall log. Check around InstallValidate to make > > > > sure MSI is deciding to remove the appropriate components, then check > > the detailed logging for the DeleteServices action. > > > > -- > > sig://boB > > http://joyofsetup.com/ > > > > > > > - 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
Re: [WiX-users] Inconsistently uninstalling windows service
I ran the verbose log. The only difference that I noticed between the working and nonworking machines was that on the working machine, the files to be removed had an "Action: Absent" whereas on the nonworking machine, the files to be removed had an "Action: HKCRFileAbsent" Here is the output near the DeleteServices action, everything appears to be correct, and the output is same on both machines: MSI (s) (F0:2C) [12:13:27:910]: Using cached product context: User non-assigned for product: 28ABAB2CA4D6CE540B601F2F62FF1D6F Action start 12:13:27: UnpublishFeatures. MSI (s) (F0:2C) [12:13:27:910]: Doing action: StopServices MSI (s) (F0:2C) [12:13:27:910]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: UnpublishFeatures. Return value 1. Action start 12:13:27: StopServices. MSI (s) (F0:2C) [12:13:27:910]: Doing action: DeleteServices MSI (s) (F0:2C) [12:13:27:910]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: StopServices. Return value 1. Action start 12:13:27: DeleteServices. MSI (s) (F0:2C) [12:13:27:926]: Doing action: RemoveRegistryValues MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: DeleteServices. Return value 1. Action start 12:13:27: RemoveRegistryValues. MSI (s) (F0:2C) [12:13:27:926]: Doing action: RemoveFiles MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: RemoveRegistryValues. Return value 1. MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: RemoveFile Action start 12:13:27: RemoveFiles. MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: RemoveFile MSI (s) (F0:2C) [12:13:27:926]: Doing action: InstallFiles MSI (s) (F0:2C) [12:13:27:926]: Note: 1: 2205 2: 3: ActionText Action ended 12:13:27: RemoveFiles. Return value 0. On Nov 13, 2007 10:35 AM, Bob Arnson <[EMAIL PROTECTED]> wrote: > Ben Reichelt wrote: > > The msi package installs and uninstalls correctly on my dev machine > > (WinXP) and another dev server (Win2k3). There are two servers that > > the msi fails to uninstall correctly. The files are all deleted, but > > the windows service is not removed. > > Start with a verbose uninstall log. Check around InstallValidate to make > sure MSI is deciding to remove the appropriate components, then check > the detailed logging for the DeleteServices action. > > -- > sig://boB > http://joyofsetup.com/ > > > - 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
Re: [WiX-users] Inconsistently uninstalling windows service
Ben Reichelt wrote: > The msi package installs and uninstalls correctly on my dev machine > (WinXP) and another dev server (Win2k3). There are two servers that > the msi fails to uninstall correctly. The files are all deleted, but > the windows service is not removed. Start with a verbose uninstall log. Check around InstallValidate to make sure MSI is deciding to remove the appropriate components, then check the detailed logging for the DeleteServices action. -- sig://boB http://joyofsetup.com/ - 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
[WiX-users] Inconsistently uninstalling windows service
Hello all, I have an msi package that copies my windows service to the Program Files and then creates a windows service for the exe. On uninstall, I stop and remove the windows service. I am using the "ServiceInstaller" and "ServiceControl" elements to install/uninstall the service. The msi package installs and uninstalls correctly on my dev machine (WinXP) and another dev server (Win2k3). There are two servers that the msi fails to uninstall correctly. The files are all deleted, but the windows service is not removed. I used RegMon to watch the registry during the install/uninstall and on my machine I can see services.exe create the key at HKLM\System\CurrentControlSet\Services\MyService during the installation and then remove the same key during uninstall. When I run the msi on the two machines in question I again see services.exe create the key, but on uninstall there is no attempt to remove the key. The difference on these two machines is that one of them is our Citrix MetaFrame server and the other is the web front-end for Citrix, so both machines have Citrix "stuff" on them. I've been looking into Group Policies etc on those machines but I haven't seen anything that would be allowing me to create the registry keys, but then not allow me to remove them. Has anyone seen this behavior before, with or without Citrix? Thanks in advance Ben - 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