问题
I have recently updated Visual Studio 2013 to version 4 and then I have tried to update Apache Cordova Multi Device Tools to the new version but I get an error saying its blocked and I have to uninstall the older version.
I clicked the link http://go.microsoft.com/fwlink/?LinkID=518308&clcid=0x409 and tried to follow the instructions but it says in the CMD prompt that the file dosn't exist. I have checked and the Hybrid Apps CPT2.0 is not in my Programs and Features list so it's deleted ok and there are no registry keys I can find either...
So now I have a Visual Studio install that won't allow me to build MultiDevice Apps and a customer that is not understanding my issue. Anyone Please...
Cliff.
回答1:
If your reading this and struggling for an answer I managed to resolve the issue with some help from the MSFT team listed in the comments above (All via email) great service from them.
The answer was that I manually went through my Package Cache folder looking for anything mentioning the MultiDeviceHybridApp and found there was a package in this location:
C:\ProgramData\Package Cache{19AD9AD6-4205-4C29-A4ED-9C62483544D4}v12.0\packages\MultiDeviceHybridApps_VS\MultiDeviceHybridApps_VS.msi
I then using CMD (Admin mode) moved to the right directory and run the following command to uninstall the package:
MSIEXEC /X MultiDeviceHybridApps_VS.msi
The uninstaller then runs takes a few minutes and I could then install the CTP3 package without issue.
Hope it helps you and good luck with building your app.
Cliff.
回答2:
I followed the steps in the KB article but I still had the same error message when trying to install CTP3 of the Cordova tools. I even tried reinstalling Visual Studio and multiple reboots, but the problem persisted.
I was able to resolve the issue by running the original CTP2 installer from the command line using the /uninstall and /force options. I assume this deleted whatever registry keys or other artifacts were blocking the CTP3 install.
> vs2013mda_0.2.exe /uninstall /force
回答3:
I couldn't find the CTP2
install but the command:
vs2013mda_0.3.exe /uninstall /force
Worked and got me the ability to install vs2013mda_0.3.1.exe
.
I also rebooted.. but I probably didn't need to.
来源:https://stackoverflow.com/questions/27514447/error-installing-visual-studio-multi-device-applications-after-update