Visual Studio: How to protect file from removal on uninstall
Posted
by raj.tiwari
on Stack Overflow
See other posts from Stack Overflow
or by raj.tiwari
Published on 2010-04-13T00:32:53Z
Indexed on
2010/04/13
0:43 UTC
Read the original article
Hit count: 538
visual-studio
|windows-installer
Folks, I am creating an installer project in Visual Studio. This is done using a project of type "Setup and Deployment".
I lay out the file structure of my final install in the "File System" View of the project.
Now, some of the files I create as part of my install are updated while my application is used. I would like these files to not be removed during an uninstall of my application. Is there any way in Visual Studio to designate a file as "protected from uninstall"?
Thanks for your help.
© Stack Overflow or respective owner