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

File in use shows everything


7 replies to this topic

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 02 May 2006 - 05:36

Hello everybody,

I have created a project of type Basic MSI, every thing works fine, related to install uninstall repair etc..
But when I try to uninstall Files In Use dialog pops-up and shows almost all running application. It shows MSWord, Notepad, Internet Explorer, and even Task Manager. I am not able to understand the reason for this. Is it some design problem in my project or...

rgds,
ankur
  ankur tyagi

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 May 2006 - 10:57

Maybe you are trying to replace some system DLL?

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 04 May 2006 - 12:11

No, I am not replacing any system dll.
Infact i am not installing anything outside INSTALLDIR.

  ankur tyagi

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 May 2006 - 11:21

That dialog should have a ignore button, so you could continue with the uninstall. This will require a reboot. Before you reboot, look in registry for the pending file ranme operations to see which files are causing this.

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 09 May 2006 - 13:31

Right now i am not getting this problem (as it is not consistent), but still I think if it re-occured PendingFileRename should help me.
Thanks for the idea.
  ankur tyagi

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 12 May 2006 - 11:50

New update (interesting).

Stefan, I again got that File-In-Use problem, but the PendingFileRename registry shows two .rbf (installation rolback files) files, created in Config.msi folder.
I am sure that these files are created by my setup, as there was no such file before i run the setup.
Any clues ?

  ankur tyagi

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 12 May 2006 - 14:14

I don't think those files are the cause for the FileInUse dialog. Are there any other pending rename entries?

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 16 May 2006 - 12:52

Even i don't think these files can be behind FileInUse dialog.
What I did:

1. I installed my application. (I am using InstallShield but its pure MSI no InstallScript)
I am creating an uninstall shortcut.
2. Launched application.
3. Click uninstall shortcut.
4. Uninstall progress displays FileInUse dialog I closed application and clicked retry it uninstalled. There was reboot option at end.

But this FileInUse dialog was listing Notepad, MSWord and even Task Manager few times. These system applications are listed only if they are running.

I am clueless huh.gif . Do you have any idea?
  ankur tyagi