这是我见过的最奇怪的事情。我编写了此应用程序,该应用程序是通过ClickOnce部署的。安装我的应用程序后,我尝试安装另一种工具,而不是安装任何东西,我的应用程序启动了。然后,我卸载了我的应用程序,通过在CMD中运行 rundll32 dfshim CleanOnlineAppCache 来清除ClickOnce的缓存,然后尝试再次安装Microsoft的工具,然后出现了我的应用程序的ClickOnce安装程序。
This is the weirdest thing I've ever seen. I wrote this application, which is deployed through ClickOnce. After installing my application, I tried to install this other tool, and instead of installing anything, my application launched. Then I uninstalled my application, cleared ClickOnce's cache by running rundll32 dfshim CleanOnlineAppCache in CMD, and tried to install Microsoft's tool again, and my application's ClickOnce installer showed up.
有什么想法会导致这种情况吗?
Any idea what in the world could cause this?
推荐答案看起来您正在使用与Microsoft用于其工具的安装程序相同的GUID。请为您的应用程序生成另一个GUID,然后重试。
Looks like you are using the same GUID for the installer what microsoft used for their tool. Please generate another GUID for your app and try again.
还请尝试从其他PC或虚拟机安装安装程序。可能也是您计算机的问题。
Also try your installer from a different PC or Virtual Machine. It could be your computer's issue as well.
更多推荐
微软的应用程序安装程序启动我的ClickOnce应用程序
发布评论