PDA

View Full Version : Create wrong permission when I set file permissions



jimmyliu
08-15-2005, 10:39 AM
Hi, there,
In my recent project, I need to set some file special permission, so I goto Application Data->Files and Folders->right click my file->property->permissions, I leave domain name empty and username Administartors, Check "Read" and "Write" permissions and uncheck all others, build project. After install, I found my file property permission is correct for computername\Administrators, but strange thing happened. There is another entry called "SYSTEM" in the username, no domain. If I uninstall my product, it gave error, complain this file no privilege for installer to modify. If I manually remove this "SYSTEM" username from file security, then uninstall works. Any idea how to resolve this? Thanks.