问题
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?
回答1:
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.
Also try your installer from a different PC or Virtual Machine. It could be your computer's issue as well.
回答2:
My first thought is that they use the same GUID. Can you regenerate any keys of your application and try again?
Really strange.
来源:https://stackoverflow.com/questions/18885131/microsofts-application-installer-launches-my-clickonce-application