cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
grparsec
Level 7

Cannot stop and delete service during uninstall

I can't still make it work. Using 'Control NT Services' I am trying to stop and uninstall the service during uninstallation of the product. See the first screenshot. But in Win 2008, when I try to uninstall the product I get a warning saying that "The Following Application should be closed before continuing the installation:
My Service
"
Then I have the option of "Automatically close applications and attempt to restart after setup is complete" or "Do not close applications. (A Reboot will be required.)"
When I select the first option then I get this message:
"The Setup was unable to automatically close all requested applications. Please ensure that the applications holding files in use are closed before continuing with the installation." OK , Cancle

I do not know why the 'Control NT Services’ does not stop my service?!' Am I doing something wrong?
Please help!
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

Does an MSI log you create during uninstallation give any more information? Does it happen on every target OS, or just Windows 2008?
0 Kudos
grparsec
Level 7

RobertDickau wrote:
Does an MSI log you create during uninstallation give any more information? Does it happen on every target OS, or just Windows 2008?


Thanks for the reply.
It does not happen on Win 2003 OS. The logs are slightly different. For example, I found this in 2008 OS uninstall log which does not appear in 2003 log:
[CODE]
MSI (c) (94:94) [10:39:55:484]: RESTART MANAGER: Session opened.
MSI (c) (94:94) [10:39:55:500]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (s) (90:FC) [10:51:19:140]: RESTART MANAGER: Successfully shut down all applications in the service's session that held files in use.
MSI (c) (94:94) [10:51:19:140]: RESTART MANAGER: Successfully shut down all applications that held files in use.
MSI (s) (90:FC) [10:51:19:640]: Note: 1: 1611
MSI (s) (90:FC) [10:51:20:906]: RESTART MANAGER: The user chose to go on with the installation, although a reboot will be required.
MSI (c) (94:94) [10:51:19:718]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

The setup was unable to automatically close all requested applications. Please ensure that the applications holding files in use are closed before continuing with the installation.
[/CODE]

And then this:

[CODE]MSI (s) (90:FC) [10:51:45:828]: Product: MyProduct -- Removal completed successfully.

MSI (s) (90:FC) [10:51:45:828]: Windows Installer removed the product. Product Name: MyProduct Product Version: 6.00.0000. Product Language: 1033. Removal success or error status: 0.

MSI (s) (90:FC) [10:51:45:828]: Cleaning up uninstalled install packages, if any exist
MSI (s) (90:FC) [10:51:45:828]: Post-install cleanup: removing installer file 'C:\Windows\Installer\7f02f.msi'
MSI (s) (90:FC) [10:51:45:828]: Post-install cleanup: removing installer file 'C:\Windows\Installer\{E9C80187-2628-4B25-9CCA-8D0E00BB69DA}\ARPPRODUCTICON.exe'
MSI (s) (90:FC) [10:51:45:828]: Post-install cleanup: removing installer folder 'C:\Windows\Installer\{E9C80187-2628-4B25-9CCA-8D0E00BB69DA}\' (if empty)
MSI (s) (90:FC) [10:51:45:828]: Post-install cleanup: removing installer file 'C:\Windows\Installer\{E9C80187-2628-4B25-9CCA-8D0E00BB69DA}\webTRak_BBEA6EB522A545D7BF4E0390DF90D229.exe'
MSI (s) (90:FC) [10:51:45:828]: Post-install cleanup: removing installer folder 'C:\Windows\Installer\{E9C80187-2628-4B25-9CCA-8D0E00BB69DA}\' (if empty)
MSI (s) (90:FC) [10:51:45:859]: MainEngineThread is returning 0
MSI (s) (90:3C) [10:51:45:859]: Destroying RemoteAPI object.
MSI (s) (90:E4) [10:51:45:859]: Custom Action Manager thread ending.
MSI (s) (90:3C) [10:51:45:968]: RESTART MANAGER: Failed while restarting applications. Error: 352
MSI (s) (90:3C) [10:51:45:968]: RESTART MANAGER: Session closed.
MSI (s) (90:3C) [10:51:45:968]: No System Restore sequence number for this installation.
=== Logging stopped: 5/12/2008 10:51:45 ===
MSI (c) (94:D0) [10:51:46:000]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (94:D0) [10:51:46:000]: MainEngineThread is returning 0
MSI (c) (94:94) [10:51:46:031]: RESTART MANAGER: Previously shut down applications have been restarted.
MSI (c) (94:94) [10:51:46:031]: RESTART MANAGER: Session closed.
=== Verbose logging stopped: 5/12/2008 10:51:46 ===
[/CODE]
0 Kudos
moorthy_vm
Level 2

Hi,

any one having the solution for below problem???

Thanks,
0 Kudos