获取 Visual Studio 安装项目中程序数据的路径
无论如何,我可以在安装项目中动态获取 programdata 文件夹的路径,就像使用关键字 [Program Files ] 作为自定义文件夹的默认位置?
谢谢
Is there anyway I can get the path of programdata folder dynamically in a setup project in the very same way I get the path of program files folder by using the keyword [Program Files] as defaultlocation for custom folder?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(1)
[CommonAppDataFolder] - 用于 c:\ProgramData 或“所有用户\应用程序数据”
[ApplicationData] - 用于漫游配置文件中的用户特定应用程序数据文件夹
[LocalApplicationData] - 用于本地配置文件中的用户特定应用程序数据文件夹
[CommonAppDataFolder] - for c:\ProgramData or "all users\application data"
[ApplicationData] - for user specific application data folder in roaming profile
[LocalApplicationData] - for user specific application data folder in local profile