PendingFileRenameOperations being created by Java MSI uninst - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mvanec
Posts: 3
Joined: Wed Jun 11, 2008 5:23 am

PendingFileRenameOperations being created by Java MSI uninst

I have a Java MSI package installing as a Windows service (XP & 2003). When the package is uninstalled, either by right-clicking the MSI, or by installing a newer version, the jar files from the package are entered into the Windows Registry PendingFileRenameOperations key to be deleted upon reboot. According the Microsoft, that key gets created by applications when files are detected to be in use, so the files can be removed upon reboot. However, the Java service is not running and no other apps use these files. The only user of these files at the time of uninstall is the AI MSI package.

The registry key is:

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Control\Session Manager]
PendingFileRenameOperations

How can I keep those entries from being created in the PendingFileRenameOperations registry key when I'm upgrading a package? Please note, it's only the jar files that this is affecting--the config files are all deleted, etc. My suspicion is that the MSI is seeing the jars in the classpath or something and thinks the jars are in use. Any ideas?

What should happen is, from package version to package version, the files from the new package overlay the files from the old package, which happens fine, except that when the old package is uninstalled, the PendingFileRenameOperations entries are being made.


Thanks,
Matt
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: PendingFileRenameOperations being created by Java MSI uninst

Hi Matt,

In order to obtain more information about this issue, please generate a verbose log when uninstalling or upgrading, using the following command:

Code: Select all

msiexec /I package.msi /L*V C:\package.log
Send the AIP file and verbose log to support at advancedinstaller dot com in order to investigate.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
mvanec
Posts: 3
Joined: Wed Jun 11, 2008 5:23 am

Re: PendingFileRenameOperations being created by Java MSI uninst

I'll have it done by this weekend. Debugging's a pain in the rear! and I'm deep into it now. Thanks!

Return to “Common Problems”