设置应用程序文件权限 [英] Set Application Files Privileges

查看:116
本文介绍了设置应用程序文件权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经在VS2010中使用Visual Studio Installer制作了一个安装包.
目标PC正在运行Windows7.在应用程序中,执行某些操作后,它将写入应用程序文件夹(Program Files \ ApplicationPath \)中的文本文件.
问题是安装后,我必须手动设置文件许可权才能写入文件.
创建安装程序包时是否可以完全控制应用程序文件?

在此先感谢

Hi
I have made an installation package using Visual Studio Installer in VS2010.
The target PC is running Windows 7. In the application, when a certain action is performed, it writes into a text file in the application folder(Program Files\ApplicationPath\).
The problem is after installing i have to set the file permissions manually to write into it.
Is it possible to give the application files full control while creating the setup package?

Thanks in advance

推荐答案

查看以下链接.应该帮助:

http://stackoverflow. com/questions/7288444/how-to-give-read-write-permissions-to-a-folder-during-installation-using-net [ ^ ]

http://stackoverflow.com/questions/1623843/msi-installer-file-folder-permissions [^ ]
Look at the following links. Should help:

http://stackoverflow.com/questions/7288444/how-to-give-read-write-permissions-to-a-folder-during-installation-using-net[^]

http://stackoverflow.com/questions/1623843/msi-installer-file-folder-permissions[^]


这篇关于设置应用程序文件权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆