Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) VSIX Fails to install (Read 4086 times)
john lunt
Newbies
*
Offline


Posts: 7
Location: UK
Joined: Feb 21st, 2013
VSIX Fails to install
May 16th, 2017 at 4:05pm
Print Post  
Trying to add arduino extension to ATMEL 7. Installation fails with message "The installation was unable to install the extension....."
"Method not found"
Any reply is much appreciated
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VSIX Fails to install
Reply #1 - May 16th, 2017 at 4:16pm
Print Post  
This is because you have installed Visual Studio which updates the vsixinstaller.exe to a new version. AS7 uses the older version.

Please see the note in bold near the top of the atmel 7 page about installing from within the ide

http://www.visualmicro.com/page/Arduino-for-Atmel-Studio-7.aspx
« Last Edit: May 16th, 2017 at 4:17pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
john lunt
Newbies
*
Offline


Posts: 7
Location: UK
Joined: Feb 21st, 2013
Re: VSIX Fails to install
Reply #2 - May 16th, 2017 at 6:00pm
Print Post  
Thank You so much for the reply but where is the older version of vsixinstaller? I am trying to install from within the ide as advised.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VSIX Fails to install
Reply #3 - May 16th, 2017 at 7:03pm
Print Post  
Sorry for the confusion. If installing from within the IDE then you will be using the correct installer.

When did you install atmel studio? What version is displayed in help>about?



  
Back to top
WWW  
IP Logged
 
john lunt
Newbies
*
Offline


Posts: 7
Location: UK
Joined: Feb 21st, 2013
Re: VSIX Fails to install
Reply #4 - May 17th, 2017 at 8:50am
Print Post  
I installed it yesterday, Monday. It is AS  7.0.1417. Not sure what it means but there is an icon next to the Arduino extension which says "you already own a version of this extension" not sure if this is significant.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VSIX Fails to install
Reply #5 - May 17th, 2017 at 11:32am
Print Post  
It sounds like the atmel install isn't right. Visual micro doesn't have any control over the install of extensions.

Do you have an uninstall or remove button against the visual micro entry?

  
Back to top
WWW  
IP Logged
 
john lunt
Newbies
*
Offline


Posts: 7
Location: UK
Joined: Feb 21st, 2013
Re: VSIX Fails to install
Reply #6 - May 17th, 2017 at 12:42pm
Print Post  
No just the message I posted
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VSIX Fails to install
Reply #7 - May 22nd, 2017 at 9:46pm
Print Post  
What language is your atmel studio installation set to? 

Can you find the visual micro extension in a folder below the atmel ide \extensions folder? Default location is:-

C:\Program Files (x86)\Atmel\Studio\7.0\Extensions

If so is there a manifest file in the folder. If so please email to info[at]visualmicro.com

Thanks

ps: I suspect running the atmel studio repair will fix it.
  
Back to top
WWW  
IP Logged
 
john lunt
Newbies
*
Offline


Posts: 7
Location: UK
Joined: Feb 21st, 2013
Re: VSIX Fails to install
Reply #8 - May 24th, 2017 at 10:09am
Print Post  
Manifest and error log sent to Email. No success with repair
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VSIX Fails to install
Reply #9 - May 24th, 2017 at 5:25pm
Print Post  
Thanks for the files.

The manifest was not the visual micro manifest it was the atmel 8 bit extension but the log is useful and shows the error

Code
Select All
System.MissingMethodException: Method not found: ficates.X509ChainStatus> cateInformation()'.
at VSIXInstaller.App.LogSignatureDetails(IExtension extension)
   at VSIXInstaller.App.LogExtensionDetails(IExtension extension)
   at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
   at VSIXInstaller.App.InitializeInstall()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
 




Unfortunately, I think the error is some breakage between the visual studio 2015 shell that atmel studio uses and other visual studio 2015 versions. I found the similar error report for the microsoft team services extension and it looks like a bit of a nightmare to fix.  https://social.msdn.microsoft.com/Forums/en-US/d16e2633-cb7d-44bc-b2ad-39f065e4d...

It is a problem in the vsix installer where it appears to be trying to use a method to validate a security certificate that is missing and in any case the visual micro .vsix is not signed. So why it would be doing any cert stuff I have no idea.

Installing from within the ide would normally be a safe way to ensure the correct vsix installer is being used. atmel 7 uses an older vsixinstaller.exe from visual studio 2010 era.

It would be useful if the log showed which vsixinstaller.exe is being run. 

Can you look in control panel add or remove programs. See if there are any other visual studio entries? especially visual studio shell?

If you can find where the atmel 7 vsixinstaller.exe is located you might be able to run it via command line to install a local copy of the visual micro .vsix extension file.

If you don't use the atmel hardware debugger(s) you could also try vs2017 community. it's free and has a different installer.

Sorry I can't be more help.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint