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) Problem with AtmelStudio integration (Read 7540 times)
dcg1k1
Newbies
*
Offline


Posts: 4
Joined: Jun 10th, 2014
Problem with AtmelStudio integration
Jun 10th, 2014 at 3:19pm
Print Post  
Hello, I've performed a silent install on 100+ computers for Visual Micro (1404.01) with the following command:

msiexec /i ArduinoForVisualStudio.msi /qn

It did install the product, it is listed in Add/Remove Programs, but it does not appear anywhere when loading Atmel Studio v6.2.

Am I missing something here?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with AtmelStudio integration
Reply #1 - Jun 10th, 2014 at 3:25pm
Print Post  
Hi,

It sounds like we are missing some registry keys which normally point to where the VisualMicro program files are located. When the msi runs it applies these keys

One example of a key updated by Visual Micro is this one. Does it contains ;.ino on the end of the list of extensions?

HKEY_CURRENT_USER\Software\Atmel\Whole Tomato\Visual Assist X\AtmelStudio62\ExtAvrSource

There are other keys but if we concentrate on one we will get a better idea of the issue

Thanks


  
Back to top
IP Logged
 
dcg1k1
Newbies
*
Offline


Posts: 4
Joined: Jun 10th, 2014
Re: Problem with AtmelStudio integration
Reply #2 - Jun 10th, 2014 at 3:46pm
Print Post  
Thanks for the help.

I can see .ino at the end: "ExtSourceAvr"=".c;.cpp;.cc;.cxx;.tli;.pde;.ino;"

After further investigation, I found out that Visual Micro is integrated perfectly when running Atmel Studio under the account used to install Visual Micro.

When using another account, there's nothing in Atmel!

There's no ExtSourceAvr entry in the registry under the other account.

Edit: sorry for the confusion, there is in fact a ExtSourceAvr entry under both accounts, but no .ino in the defective one.
« Last Edit: Jun 10th, 2014 at 3:51pm by dcg1k1 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with AtmelStudio integration
Reply #3 - Jun 10th, 2014 at 4:00pm
Print Post  
Hi,

Yes the registry key is a standard part of atmel studio. 

There are a few other registry keys that need to be applied. We need to work out how to get them to apply to all accounts when you run the installer.

Happy to make any changes that we discover might be required but needs a bit if research. I will try to do this over the next week but if you have any knowledge or comment please feel free to speak.

Thanks
  
Back to top
IP Logged
 
dcg1k1
Newbies
*
Offline


Posts: 4
Joined: Jun 10th, 2014
Re: Problem with AtmelStudio integration
Reply #4 - Jun 10th, 2014 at 4:22pm
Print Post  
You're right, it just doesn't install for all accounts, even with explicit parameters in the command like:
msiexec /i ArduinoForVisualStudio.msi ALLUSERS=1 /qn
or msiexec /i ArduinoForVisualStudio.msi ALLUSERS=2 /qn

The only way I can think of right now is to perform an install (or repair) in a login script each time a user logs in, which is kind of odd  Undecided

I would greatly appreciate if you could find a solution Shocked)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with AtmelStudio integration
Reply #5 - Jun 10th, 2014 at 4:24pm
Print Post  
Thanks, yes we will look into a solution. Worst case is we could have a .reg that is applied when users login but it would be nice to find why this happens.

I'll do some reading
  
Back to top
IP Logged
 
dcg1k1
Newbies
*
Offline


Posts: 4
Joined: Jun 10th, 2014
Re: Problem with AtmelStudio integration
Reply #6 - Jun 27th, 2014 at 1:13pm
Print Post  
Did you by any chance had the opportunity to look into it?
Thank you very much for the support  Cool
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with AtmelStudio integration
Reply #7 - Jun 27th, 2014 at 1:42pm
Print Post  
Hi,

Sorry not yet. Will try for the next release during the next week or so.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem with AtmelStudio integration
Reply #8 - Jul 1st, 2014 at 10:50am
Print Post  
Hi,

Sorry for the delay I had to send the question to the Atmel dev team.

They have answered by saying that their installer does not create the registry keys. Instead they are created when their application is launched. This explains a few things!

This is a problem for Visual Micro (Plugins) but they have offered to include our keys in their future install/loader program.

In the meantime they suggest installing for one user, then exporting the HKCU/Software/Atmel registry key to a .reg file and applying that when users logon.

I also suggest you do the same with the HKCU/Software/Visual Micro key.

I hope the .reg solution is an easy way for you to work?

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint