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

MsiRMFilesInUse Dialog and Windows Explorer


1 reply to this topic

Superfreak3

Superfreak3
  • Full Members
  • 437 posts

Posted 31 July 2012 - 22:30

Hi all,

This is kind of an offshoot of another thread I started regarding chaining a 64 bit installation to a 32 bit installation. What I actually had to do is install a native 64 bit installer with my 32 bit app and run the 64 installer on 64 Bit systems via a Custom Action that monitors the closing of of the initial 32 bit install process. But I digress...

At times, when this 64 bit install is running, I get the MsiRMFilesInUse dialog displayed with Windows Explorer listed as the running program. If a user chooses the automatically close option, Windows Explorer stops, the installer completes, but it appears Windows Explorer does not restart and a hard reboot is needed - not good.

If the do not close apps choice is made on the dialog, the installation completes and a reboot is required, which is not the end of the world and of course would be the preferable behavior.

My first thought was to just disable the close and restart option so they could only pick the second option, but I don't know that I like that.

Another approach would be to find out what is causing the hangup with Windows Explorer. Does anyone know of any way to do this? My 64 bit installer is basically a shell with a few registry entries added that encapsulates Merge Module components from a third party.

Any help in tracking the trigger for this dialog or another approach to force past the attempt to close and restart explorer would be greatly appreciated. Again a reboot would not be the end of the world and I really don't want to just skip past this dialog if something is tied up.

Our 32 bit installer now seems to require a reboot in some cases and the only difference with this release is the addition of third party Merge Modules.

How can I tell what component is running up against Windows Explorer causing the need for reboot? Will logging show me that information?

I've tried WhyReboot on the 32 bit system and it indicated that a file in C:\Config.msi could not be deleted. What creates the Config.msi folder and contents, any msi process?

Again, any help appreciated!

Superfreak3

Superfreak3
  • Full Members
  • 437 posts

Posted 03 August 2012 - 16:36

It seems as though the problem with the restarting of a busy app during install may lie with the MsiRMFilesInUse dialog and/or InstallShiled.

I was calling the install that prompted for reboot/app restart with /qb!, which does not suppress modal dialogs.

If I changed the parameters to /qb-!, the busy app was closed, the installation completed and the app was restarted without hesitation or problem.