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
Normal Topic Problems with debugger installation (Read 8088 times)
Tki2000
Newbies
*
Offline


Posts: 4
Location: Spain
Joined: Nov 25th, 2012
Problems with debugger installation
Dec 1st, 2012 at 7:16pm
Print Post  
Hello.

I have trouble with the installation of the debugger.
Anytime I try to install it gives me this error:

---
Installation Incomplete

The installer was interrupted before Visual Micro - Debug Tools and Visualizations could be installed. You need to restart the installer or try again.
Click "Close" to exit.

---

As it does not give any explanation of the error I cannot imagine the fault. Has anybody came across this problem? I cannot try the debugger if I cannot install it.

In Windows log there's no mention to what happened with the windows installer.
This problem arise with both versions I have tried 3.2 and 3.3 of the debugger.

I have a fresh install of XP SP3. A fresh install of Visual Studio 2010. The Visual Studio extension is installed and works as I have uploaded several samples to my Arduino.

Thank you for your responses.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with debugger installation
Reply #1 - Dec 1st, 2012 at 7:54pm
Print Post  
Hello, you do need the latest debugger version so 3.2 will not work.

The installer has been used by many so this is strange. Please try running the debug installer with admin permissions. You might need to save the msi to your local pc and follow this article.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/w...
  
Back to top
IP Logged
 
Tki2000
Newbies
*
Offline


Posts: 4
Location: Spain
Joined: Nov 25th, 2012
Re: Problems with debugger installation
Reply #2 - Dec 1st, 2012 at 8:17pm
Print Post  
It's a windows XP, so no "run as" is necessary nor it is present as an option. Anyway I'm already the system administrator. It's W7 that has problems when you're not the system administrator.

The file is already on my hard disk and has all permissions.
I tried both versions and both give me the same result.
I know that I need to install the latest version but tried 3.2 as a last resort and it threw me the same result.

Very strange as you say but I'm stuck.

I even tried to download the files again and ran a file compare just in case they got corrupted but found no differences between them so I assume that no same corruption happened in two consecutive downloads.

It would very usefull to know when the installer throws that error.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with debugger installation
Reply #3 - Dec 1st, 2012 at 8:30pm
Print Post  
Ok thanks for the info.

Yes it would be nice to have an error but I don't know the msi system well enough to know how to throw an error.

Having said that it doesn't have any pre-requisites configured because it installs files for all .net versions (Vs 2008,2010 and 2012) so it was too difficult to setup the installer to check your pc has what it needs. For the same reason it doesn't really need very much.

I can also confirm that I always run up to date mcAffee so maybe you should try switching off your virus checker. I can also confirm that the debug installer does no more than the following:-
1) Copy arduino cpp/h sources to below the visual micro program folder
2) Copy c# debugger user controls and sources to below the visual micro program folder
3) Set a couple of current user reg keys
4) The msi probably automatically registers the c# user controls as activex controls.

It's interesting that the main plugin installs okay. That installer does a lot more than the debugger installer.

Sorry I can't think what the problem might be. Have you checked that your .NET3.5 is up to date? Have you tried a re-boot?

One thing that has just come to mind might be folder lengths. The debugger sources are quite a few folders down. Where have you installed the plugin?
  
Back to top
IP Logged
 
Tki2000
Newbies
*
Offline


Posts: 4
Location: Spain
Joined: Nov 25th, 2012
Re: Problems with debugger installation
Reply #4 - Dec 1st, 2012 at 8:50pm
Print Post  
I don't have any antivirus running. I am testing on a virtual machine and the antivirus checking is done on the "mother" machine.
I thought of the folder length and tried installing from C:\1.msi (renamed the installer file with no spaces in its find path) and failed too.
The installation of everything is on its default folders so there should not be any problems here, I think.

I also have checked the .Net versions that VS2010 has installed and found that 3.5 is missing. It has installed 1.1, 2.0 and 4.0, but not 3.5. Are you relying explicitly on 3.5? If so I will try to install 3.5 just for the installation, but this is strange too.

I will try to install it again in a W7 system just for testing. Will post results here when done.

Is for any chance any option configured in the installer to check the OS version or the language? The OS target is an XP SP3 Spanish. I've seen programs not installing in OSes when languages do not match the ones specified in the installer.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with debugger installation
Reply #5 - Dec 1st, 2012 at 8:54pm
Print Post  
Hello,

Yes certainly need 3.5, it's the highest common net version that all vs version can use. 3.5 is an update for .net 2.0. 

I think that will fix the problem. 

NET3.5 is listed as required on our codeplex site but codeplex doesn't make the requirements page very obvious.
« Last Edit: Dec 1st, 2012 at 8:56pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tki2000
Newbies
*
Offline


Posts: 4
Location: Spain
Joined: Nov 25th, 2012
Re: Problems with debugger installation
Reply #6 - Dec 1st, 2012 at 9:30pm
Print Post  
FIXED!!!  Wink

Certainly Net 3.5 installation has fixed the issue.
I assumed that all prerequisites were installed with VS2010 too but obviously they were not.

Anyway it is odd that the main plugin did not fail on that...


Thank you for your help.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with debugger installation
Reply #7 - Dec 1st, 2012 at 9:39pm
Print Post  
Great. I agree it's odd the main plugin install worked. Thanks for letting me know.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint