Windows 7 - 无法在 C:\Program Files 中更新我的程序文件 [英] Windows 7 - Can't update my program's files in C:\Program Files

查看:28
本文介绍了Windows 7 - 无法在 C:\Program Files 中更新我的程序文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个适用于 MS Word(2007 版)的插件程序.它位于 C:\Program Files 位置.我安装了 Windows 7,然后在这个位置对我的文件进行了例行更改,它只会调出一个只读文件.如何授予自己写入自己程序的权限?我无法更改此位置或使用任何其他解决方法.我将此产品分发给 25 家不同的公司,我无法更改编程以在任何其他位置工作.谢谢

I have an addin program that works with MS Word (version 2007). It is located in the C:\Program Files location. I installed Windows 7 and then went to make a routine change to my files in this location and it would only bring up a read only file. How can I grant myself permission to write to my own program? I cannot change this location or use any other workaround. I have this product out to 25 different companies and I can't change the programming to work from any other location. Thanks

推荐答案

您还可以在 EXE 中嵌入一个清单,使您的程序在 Windows 7/Vista 上需要管理员权限.

You could also embed a manifest in your EXE that makes your program require adminrights on Windows 7 / Vista.

这篇关于Windows 7 - 无法在 C:\Program Files 中更新我的程序文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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