Windows 应用程序安装在哪里? .NET + VS2005
我在我的 Intranet 站点上的以下网站 http://StagingServer/MyProgs/MPP/ 中部署了 Windows 应用程序,使用 VS 2005 的发布向导...我接受所有默认值(包括脱机支持)。
我的用户也可以从指定的路径安装相同的软件。但是当我试图找出客户端中 EXE 的确切位置时,它没有指向任何地方。我也尝试过文件搜索但没有成功。
最初我以为应用程序是从服务器本身运行的,但即使服务器关闭,我们也能够启动应用程序(当然,最初搜索更新需要更多时间)。
PS:该应用程序甚至在控制面板中也显示......
- Raja
I deployed a windows application in the following website http://StagingServer/MyProgs/MPP/ on my intranet site, using the Publish Wizard of VS 2005... I accepted all defaults (including Offline support).
My users were also able to install the same from the path specified. But when I try to find out the exact location of the EXE in the client, it is not pointing anywhere. I also tried a file search but in vain.
Initially I thought the application is running from the server itself, but we were able to start the app, even when the server is down (ofcourse it takes more time to search for updates initially).
Ps : The app is showing even in control panel...
- Raja
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否使用 ClickOnce 部署应用程序?如果是这样,在 XP 计算机上,您将在此处找到安装:
C:\Documents and Settings\userprofile\Local Settings\Apps
Are you deploying you application using ClickOnce? If so, on an XP machine you'll find the installation here:
C:\Documents and Settings\userprofile\Local Settings\Apps
ClickOnce 将在他的一个文件夹中安装文件,并将有一种数据文件沙箱(特殊文件夹 appdata 将指向与默认用户的文件夹不同的文件夹)。
当然,应用程序不能“远程”运行...如果您选择不允许离线使用,ClickOnce 将不会运行该应用程序,除非它可以到达服务器。您可以检查 My.Application.Deployment 对象(在 VB.Net 中)以获取部署信息。
ClickOnce will install files in one of his folders, and will have a sort of sandbox for data files (the special folder appdata will point to something different than the default user's one).
Of course an app can not run "remotely"... If you choose not to allow offline usage, ClickOnce will not run the app unless it can reach the server. You can check My.Application.Deployment object (in VB.Net) for deployment information.