Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when installing Visual Studio Tools for Apache Cordova CTP3.0 in Visual Studio 2013

I installed Multi-Device Hybrid Apps for Visual Studio 2013 CTP 2.0. I then updated VS2013 to update 4. Now I can't upgrade MDHA to 3.0 because it tells me to uninstall 2.0 first, however the uninstaller doesn't work. When trying to uninstall 2.0 from Programs and Features, it just goes through the setup and then doesn't remove the software from the Add/Remove list.

I tried following this however it doesn't work:

http://support.microsoft.com/kb/3014133

like image 999
TechnoTim Avatar asked Nov 13 '14 16:11

TechnoTim


People also ask

Does Visual Studio support Cordova?

Visual Studio and CordovaMicrosoft recently released a preview of the Visual Studio Tools for Apache Cordova, which is an add-in package for Visual Studio 2013 (or it comes built-in with Visual Studio 2015 Preview) that allows you build Cordova applications right out of the familiar Visual Studio environment.

Does Visual Studio 2019 support Cordova?

With our Cordova Tools Extension for Visual Studio Code, you can use your existing web skills to build cross-platform hybrid mobile applications for iOS, Android, and other platforms. This means that you can create and maintain one project to target millions of potential customers using various mobile devices.


2 Answers

I ended up discovering that the package GUID in the the KB article is wrong. I used this to uninstall the 2.0, then I could install 3.0. The package ID may vary so you may need to search the directory for vs2013mda_0.1.exe and replace the command with your package location.

"%ProgramData%\Package Cache\{38f367f1-1468-4f16-a4c4-29747084003b}\vs2013mda_0.1.exe" /uninstall /passive /force /burn.ignoredependencies={53d408db-eb91-43fb-9d8f-167681c19763};vsupdate_KB2829760

Also,be prepared to wait. This takes a long time.

like image 98
TechnoTim Avatar answered Sep 21 '22 13:09

TechnoTim


Thank you TechnoTim, the problem is that, every people has its own package GUID.

To solve the problem, you must lunch the command from the root directory, c:\, changing the package GUID with your package GUID.

In my system:

C:\>"%ProgramData%\Package Cache\{dea88246-f74a-4171-ad6c-d9c978bf2973}\vs2013md
a_0.1.exe" /uninstall /passive /force /burn.ignoredependencies={53d408db-eb91-43
fb-9d8f-167681c19763};vsupdate_KB2829760

To find the right package GUID I go to C:\ProgramData\Package Cache\ and search for vs2013mda_0.1.exe and save the path in the block note, then change in path in the orignal command and lunch it from the root directory c:\, and its work.

Sorry fom my english. Goodbye!

like image 21
netluke Avatar answered Sep 19 '22 13:09

netluke