Hi,
感谢你在MSDN论坛发帖。
你用的第三方制作工具,有没有对这个程序进行权限的设置? 如果把这个安装路径指向D盘,还会出现这个问题吗?
如果你自己手动创建这个程序,并且把他放到c:\program files\opg 这个路径下面,对这个路径下面,还有写的权限吗?
我使用VS2015提供的插件(setup)来安装程序,我这边测试结果是可以运行在C盘 program下面的,而且程序也可以运行,并不存在写的权限,通过VS的setup程序,在安装的时候,里面权限的选择,可以看我下面的截图。

我建议你使用VS 自带的插件来创建setup
https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2015InstallerProjects
Best Regards,
Hart
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints
to MSDN Support, feel free to contact MSDNFSF@microsoft.com.