How do I prevent a file from being uninstalled or repaired?Answer
However, this method has some drawbacks. By using it, that file has to be manually repaired or deleted by the user if it gets corrupted. If you already released a version without using these options and want to prevent a file from being uninstalled you could use this method. As a general idea, it is not recommended to use the installed file to store any user data. The best way would be for the application to create a new file that stores it. At the simplest form, this method would consist of simply creating a copy of the installed file and modifying that. If the application cannot create the file from scratch it should use the installed file as a template for the files that store user data. That is, the application uses the installed files as a starting point. It merges the user data with the template data to create the new file. | |
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||