简体   繁体   English

在Visual Studio安装项目中获取programdata的路径

[英]getting path of programdata in Visual Studio setup project

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? 无论如何我可以在安装项目中动态获取programdata文件夹的路径,就像我通过使用关键字[Program Files]作为自定义文件夹的默认位置获取程序文件文件夹的路径一样?

Thanks 谢谢

[CommonAppDataFolder] - for c:\\ProgramData or "all users\\application data" [CommonAppDataFolder] - 用于c:\\ ProgramData或“所有用户\\应用程序数据”

[ApplicationData] - for user specific application data folder in roaming profile [ApplicationData] - 用于漫游配置文件中的用户特定应用程序数据文件夹

[LocalApplicationData] - for user specific application data folder in local profile [LocalApplicationData] - 用于本地配置文件中的用户特定应用程序数据文件夹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM