If you would make the actual file read only, then you would also have the desired result. Right?
edit:
I see Asgorath has beaten me to the punch.
"so just keep in mind that fantasy is not the same as realtiy and make sure u remember that wii sports may be fun but u cant count on it as exercise ok cool bye" - HungarianHuman
You could just change it to readonly when you finally deploy.
"so just keep in mind that fantasy is not the same as realtiy and make sure u remember that wii sports may be fun but u cant count on it as exercise ok cool bye" - HungarianHuman
A Setup project allows you to specify the ReadOnly, Hidden and System attributes of a deployed file that are independent of those attributes of the original file.
if you want the user to just view the file instead of opening an external program like notepad, just add a form to the project with a textbox that has it's readonly property set to true and then just read in the file yourself