SetUp Project windows vista can not change file
Posted on 2009-05-10
I am using Visual Studio 2008 and c# .
I have made a setup project.
The program opens and saves settings to a .ini file i have created.
Everything is working fine under Windows XP/Windows Server 2003.
But when the users install it to vista my program throws an exception because
windows vista does NOT allow the program to change the ini file.
When the users right click to the folder where they installed the program and change the security settings to allow read/write ; then the program runs without crashing.
Now, what should i do to my setup project so that it will ensure that vista allows my program to change its own files. Obviously telling the clients to manually change folder accesibility settings
is annoying and inefficient.
Thanks for reading my post.