I'm making .cab file for deploying my application on mobile devices (Windows Mobile 6.5). I create it "manually" with cabwiz.exe, because Visual Studio 2008 has problems with CAB projects (they are described quite well, localization files is one issue).
Everything is fine except that Windows Mobile deletes all installed files when user uninstalls the application. I want to keep some file after uninstallation in case if another version of the application will be installed.
Now the only way to preserve files from deletion during uninstallation is to rename them. Is there any better do this?