Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Uninstall hang


4 replies to this topic

amitsgupte

amitsgupte
  • Full Members
  • 10 posts

Posted 17 April 2007 - 11:59

Hi All,

I have an application having a windows service. When I try to remove the app, ocassionally the uninstall process stalls completely. Only a hard reboot kills the uninstall.

After the reboot, if I manually stop the service, the uninstall works perfect.

Looking at the logs InstallValidate seems to be dying.

---snip from log----

Action start 11:56:44: InstallValidate.
MSI (s) (94:F4) [11:56:44:414]: Note: 1: 2262 2: RemoveFile 3: -2147287038
MSI (s) (94:F4) [11:56:44:414]: Note: 1: 2262 2: DuplicateFile 3: -2147287038
MSI (s) (94:F4) [11:56:44:414]: Note: 1: 2262 2: ReserveCost 3: -2147287038
MSI (s) (94:F4) [11:56:44:414]: Note: 1: 2205 2: 3: _RemoveFilePath
MSI (s) (94:F4) [11:56:47:004]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'.
MSI (s) (94:F4) [11:56:47:004]: Note: 1: 2262 2: BindImage 3: -2147287038
MSI (s) (94:F4) [11:56:47:004]: Note: 1: 2262 2: PublishComponent 3: -2147287038
MSI (s) (94:F4) [11:56:47:004]: Note: 1: 2262 2: SelfReg 3: -2147287038
MSI (s) (94:F4) [11:56:47:004]: Note: 1: 2262 2: Extension 3: -2147287038
MSI (s) (94:F4) [11:56:47:004]: Note: 1: 2262 2: Font 3: -2147287038
MSI (s) (94:F4) [11:56:47:004]: Note: 1: 2727 2:

---snip from log----

In cases where the uninstallation went thru, the above log lines are followed by the list of files held by the service.

With all the above data, it seems that the service is holding up some file handles and InstallValidate is trying to enumerate the same... [JUST A GUESS] Not sure whats happening exactly.

Any pointers??

Thanks for your help.

Regards,
Amit

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 18 April 2007 - 15:52

Did you generate the log with the ! option?

amitsgupte

amitsgupte
  • Full Members
  • 10 posts

Posted 19 April 2007 - 05:35

Hi Stefan,

Thanks for the reply. I used the VoiceWarmUp method of logging the uninstall.

I shall try with '!' as well, and update the post.

Thanks again.

Best regards,
Amit

amitsgupte

amitsgupte
  • Full Members
  • 10 posts

Posted 26 April 2007 - 09:38

Hi Stefan,

There doesn't seem any more helpful data win the ! option for logging.

Thanks
Amit

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 April 2007 - 16:19

So the log ends with the same line?
CODE
MSI (s) (94:F4) [11:56:47:004]: Note: 1: 2727 2:


Did you enable logging on the command line or via the registry or group policy? I'm not sure the ! parameter works there, only on the command line.