Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After installing "Visual Studio Extensions for Windows Library for JavaScript" update, it still appears as an available update

After clicking on update, unlike "Visual Studio Extensions for Windows Library for Javascript" Won't Update, I can successfully download the update .exe.

My issue is that even after successfully installing the update, it still appears in the "Extensions and Updates" window after the install. No amount of restarting VS or rebooting my machine will resolve this.

The current version that VS claims is installed is: 1.0.9200.20789 and the version it is trying to update to: 1.0.9651.40228

Does anyone know how to force VS to recognise the update? I have tried to repair the installation, also gone in to programs in Control Panel and un-installed it (both versions - I had a previous version that seemed to be linked to VS2012) and re-installed it.

The features of this extension are useful, so I don't particularly want to un-install it, to avoid seeing the update.

like image 299
Alex Woodhead Avatar asked Apr 09 '14 10:04

Alex Woodhead


2 Answers

Try this workaround:

http://connect.microsoft.com/VisualStudio/feedback/details/847258/vs2013-keep-saying-windows-library-for-javascript-needs-updating-1-0-9651-40228

  1. Get "msiinv" from here: http://blogs.msdn.com/b/astebner/archive/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer.aspx
  2. Run msiinv.exe -p > out.txt
  3. Open "out.txt" and find "Visual Studio Extensions for Windows Library for JavaScript". There should be two of them, one with version 1.x and second with version 2.1.
  4. Lookup the product code for v1.x and uninstall it using msiexec /x. For me, the product code was {D5FEB7A1-5D0F-4CDC-8290-F52DFB53AF23}, so I ran
    msiexec /x {D5FEB7A1-5D0F-4CDC-8290-F52DFB53AF23}

If you need to reinstall the extension, you can get it here:
http://www.microsoft.com/en-us/download/details.aspx?id=40793

like image 94
Thomas Mueller Avatar answered Oct 13 '22 20:10

Thomas Mueller


My alternative solution, same as posted on the Microsoft Connect:

A easier way (at least for me)...

Tested on Visual Studio Express 2013 for Web and Windows 8.1.

Open the folder: C:\ProgramData\Package Cache\

Probably it will be hidden, just press Windows+R and paste the path and hit Enter.

Press F3 to search in the folder, look for: WinLibJS_CORE.msi

Some results will brought up for you.

Open the properties window and look at the details page of the file. Check the subject field, the version is specified there.

If you are viewing the search results in "details view mode" (Ctrl+Shift+6), you can just > hover the mouse on the installer and check the tooltip, the version will be there too.

Now, just uninstall the old versions and done ;)

At least it worked for me.

like image 24
navossoc Avatar answered Oct 13 '22 20:10

navossoc