如何在C#Winform应用程序中安装后设置应用程序文件夹的权限 [英] How to set permission to application folder after installation in C# Winform application
问题描述
我想在安装完成后设置为应用程序文件夹设置的权限。为此我请参考以下链接 http://www.c-sharpcorner.com/uploadfile/40e97e/setting-folder-full-rights-permission-in-windows-7/ [< a href =http://www.c-sharpcorner.com/uploadfile/40e97e/setting-folder-full-rights-permission-in-windows-7/target =_ blanktitle =New Window> ^ ]
http://www.solid-hosting.net/blog/coding/set-filefolder-permissions-during-an-msi-installation/ [ ^ ]
但它看起来我无法设置应用程序文件夹的权限。那么如何在安装后设置应用程序文件夹的权限?我需要正确我可以实施的解决方案。
谢谢......
I want to set permission to set for application folder after installation complete.For that I refer following Links http://www.c-sharpcorner.com/uploadfile/40e97e/setting-folder-full-rights-permission-in-windows-7/[^]
http://www.solid-hosting.net/blog/coding/set-filefolder-permissions-during-an-msi-installation/[^]
But it looks that I cant set permission to application folder .So how to set permission to application folder after installation?I need proper solution which i can implement .
Thanks ......
推荐答案
你好
以管理员特权启动您的应用程序或
添加源代码以管理员特权启动应用程序
请点击以下链接
http ://msdn.microsoft.com/en-us/library/bb756929.aspx [ ^ ]
这篇关于如何在C#Winform应用程序中安装后设置应用程序文件夹的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!