Grant rights to a Program File sub folder
I have a lot of problem on Vista because NSIS can create a new folder the Program Files folder but the user do not have the rights to write a config in that folder after installation
Archive: Grant rights to a Program File sub folder
Grant rights to a Program File sub folder
I have a lot of problem on Vista because NSIS can create a new folder the Program Files folder but the user do not have the rights to write a config in that folder after installation
I can't recommend changing access rights, you're bound to hit problems with that...
The issue is the program that writes the configuration file, then. The program should either...
A. write to the registry (HKCU for non-Admin users, HKLM for Admin users if you want settings set for all users/et.c)
B. write to the appdata folder
C. write to the localappdata folder
http://msdn.microsoft.com/en-us/library/aa367565(VS.85).aspx
http://msdn.microsoft.com/en-us/library/aa369768(VS.85).aspx
But if you must go down the route of permissions, try:
http://forums.winamp.com/showthread.php?postid=2068366
and, amazingly, also answered at:
http://stackoverflow.com/questions/1...ssions-in-nsis