获取 Visual Studio 安装项目中程序数据的路径

发布于 2024-09-10 15:18:24 字数 112 浏览 4 评论 0原文

无论如何,我可以在安装项目中动态获取 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜还是长夜 2024-09-17 15:18:24

[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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文