PDA

View Full Version : Writing to installed file, Vista permissions



shares
05-20-2008, 07:09 PM
Hi, my installer puts a file in CSIDL_COMMON_APPDATA/Company/data - wonderful. When my program runs, I'm going to overwrite the file, but I get 'access denied' error.

Vista lets my program create the file if it doesn't already exist.

How do I install this data file with write access?

Thanks

linder
05-21-2008, 12:16 AM
Hi,

The following should help:

http://www.lindersoft.com/forums/showthread.php?t=2234&highlight=CSIDL_COMMON_APPDATA

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

linder
05-21-2008, 12:18 AM
And this one:

http://www.lindersoft.com/forums/showthread.php?p=8240&highlight=CSIDL_COMMON_APPDATA#post8240

Friedrich