Link to home
Start Free TrialLog in
Avatar of parabellum
parabellum

asked on

SetUp Project windows vista can not change file

Hello,
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.



ASKER CERTIFIED SOLUTION
Avatar of zwei
zwei
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial