使用 Visual Studio 部署进行 Appdata 漫游安装

发布于 2024-12-12 17:15:54 字数 586 浏览 4 评论 0原文

我正在寻找以下信息来决定是否在 本地或漫游文件夹

使用 Visual Studio 安装项目,假设我 将我的应用程序安装到 Roaming 文件夹中(例如 Dropbox,对于实例)

  • 那么它不是应该被转移到同一域用户登录的其他计算机上吗?
  • 根据我有限的测试,漫游文件夹不会移动?例如,对于同一个 Active Directory 用户,我在计算机 A 上有一堆文件夹,而计算机 B 上不存在这些文件夹?
  • 如果文件夹确实以某种方式漫游,那么“添加删除程序”条目会发生什么情况

Im looking for the following information to decide whether to install my application in the Local or Roaming folder:

Using the Visual Studio setup project, say I install my application into the Roaming folder (like Dropbox, for instance)

  • Then is it not meant to be moved to other computers that the same domain user logs onto?
  • From my limited testing, the Roaming folders are not moved across? e.g. I have a bunch of folders on Computer A that do not exist on Computer B for the same Active Directory user?
  • If the folders do roam somehow, then what happens to the Add Remove programs entry?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

墨小沫ゞ 2024-12-19 17:15:54

您在帖子中包含了一些链接,但您并没有真正阅读它们。也许这篇文章会更清楚: http://msdn.microsoft.com/en-us/library/windows/apps/hh464917(v=vs.85).aspx

基本上, 本地文件夹应包含仅在当前计算机上使用的文件。在Roaming文件夹中,您可以安装支持用户配置文件漫游(从另一台计算机访问用户配置文件)的文件。

因此,这完全取决于您要安装的应用程序类型:

  • 如果它包含并且只能与用户配置文件一起运行,那么您可以使用Roaming文件夹。
  • 如果它具有特定于当前计算机的依赖项,请使用Local文件夹。

关于添加或删除程序,如果按用户安装,您的应用程序条目应该可用于漫游配置文件。

You included some links in your post, but you didn't really read them. Perhaps this article will be more clear: http://msdn.microsoft.com/en-us/library/windows/apps/hh464917(v=vs.85).aspx

Basically, Local folder should contain files which will be used only on the current machine. In the Roaming folder you can install files which support user profile roaming (accessing the user profile from another machine).

So it all depends on what type of application you are installing:

  • If it's contained and can function with only the user profile files, then you can use the Roaming folder.
  • If it has dependencies specific to the current machine, use the Local folder.

Regarding Add or Remove programs, your application entry should be available for roaming profiles if its installed per-user.

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