rbf files remain after successful install - 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!

MikeMurnane
Posts: 30
Joined: Wed Dec 08, 2010 5:46 pm

rbf files remain after successful install

I have created an MSI that has a custom action which is attached to InstallExecuteSequence/install ... it depends on the MSI installing some files in particular directories (which it does fine) and then my custom action (external exe) is run that performs other actions using those files.

All works as expected with the exception that the rbf files - appear in one of the directories that my exec created (which I am also OK with) ... but after the successful install the rbf files remain (they are of course hidden - HSA attribute) ... I was expecting them to be removed.

The config.msi directory is created and removed as expected. The rbf files are on a different drive and in a different directory than config.msi

Any insight would be appreciated.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: rbf files remain after successful install

Hello,

The .RBF files are automatically stored by Windows Installer in the Config.Msi folder located on the drive where the application that is being backed up currently resides. This is done so that there is no crossing of drives when backing up the application files. Usually all rollback files and the Config.Msi folder are deleted when the installation completes successfully.
This being the case, it is very unlikely that the .RBF files you are mentioning have anything to do with your package unless they are copied on a different drive by the installer's custom behavior. If so, then they will also need to be removed in a custom way or by using the approach mentioned in this article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MikeMurnane
Posts: 30
Joined: Wed Dec 08, 2010 5:46 pm

Re: rbf files remain after successful install

I have confirmed that they are indeed being generated by my install. My custom action is a stand-alone exe and does not make use of any windows installer components.

One complicating issue may be that the drive that the install is taking place on is a mounted share ... thus the drive letter being referred to is not the physical drive. So I see config.msi getting created on the C: drive (and removed) but the actual rbf files are being created in a subdirectory on the F: drive (which is a shared mount of a different directory on C:)
MikeMurnane
Posts: 30
Joined: Wed Dec 08, 2010 5:46 pm

Re: rbf files remain after successful install

I believe that I understand what is happening.

The Windows Installer creates its rbf file in the target filesystem (not in config.msi where I thought). Some of the behavior of my custom action exe copies filesystem directory trees and when Windows removes the rbf files it does not know about the one I have inadvertently copied. -- So its my issue not Windows Installer (or AdvancedInstaller).

Thanks for looking into this. You are always quick to respond -- I appreciate that.
Mike

Return to “Common Problems”