Answered by:
Developer Toolkit for Microsoft Dynamics CRM 2011 - error during install

Question
-
Hi,
We are new to CRM SDK development and just downloaded the SDK. We now wish to install the 'devlopertoolkit' (located under 'tools') and receive an error message indicating 'Visual Studio must be installed before you can install Microsoft Dynamics CRM Developer Toolkit.' Then, the install program exits.
However, we do infact have Microsoft Visual Studio 2010 Professional installed along with SP1 (for VS 2010). Running on an Intel I5 using Windows 7 Professional with SP1 installed. We also verified the prerequisites such as Silverlight 4 and Windows Identity Foundation are loaded and running.
Has anyone see this error message before? If so, can you assist us? Thanks for your help.
Tim Ziegner
- Moved by Andrii ButenkoMVP, Moderator Tuesday, June 26, 2012 7:53 AM (From:CRM Development)
Tuesday, June 26, 2012 1:11 AM
Answers
-
Hi again,
Today I managed to solve this. I still don't know what is causing the problem, but anyhow I manage to install it in 3 different computers. The steps are the followings:
- Go and "run as administrator" the PowerShell (x86)
- Locate the folder that contains the .msi file (cd c:\.... etc)
- run the powershell command: MSIEXEC /i crmdevelopertools_installer.msi
(/i argument stands for "install")
In the beginning I tried that via a small powershell script (that was enabling the logs and disable them afterwards). If you do something like this don't forget either to change the execution policy or to bypass it. But afterwards I was able to install it only with the above command.
Hope this helps,
Panos
- Proposed as answer by Panagiotis Tsougkaris Thursday, June 28, 2012 8:17 AM
- Marked as answer by RhettClintonMVP, Moderator Monday, January 7, 2013 3:33 PM
Thursday, June 28, 2012 8:06 AM
All replies
-
Hi, I have the same error.
I managed to install it in a server machine (works great and it is really useful tool) but still have problems in my local computer and my laptop. I repaired twice Visual Studio 2010 (I have Premium) and SP1. Nothing so far. I double checked that I have all the necessary components and still nothing.
While trying to figure out what is going on, I tried to install various components manually. Via the windows installer, I was getting weird messages such as "Please install Visual Studio 2010", "The language is not matching", even "You need to install .NET framework 1.1 or greater"!!!!
I feel that there are leftovers in registry from other Microsoft Products (maybe Business Intelligence Studio) or a component is missing or something and windows installer doesn't say.
In case that I find a solution I will post on this topic.
Regards,
Panos
Wednesday, June 27, 2012 1:40 PM -
Hi again,
Today I managed to solve this. I still don't know what is causing the problem, but anyhow I manage to install it in 3 different computers. The steps are the followings:
- Go and "run as administrator" the PowerShell (x86)
- Locate the folder that contains the .msi file (cd c:\.... etc)
- run the powershell command: MSIEXEC /i crmdevelopertools_installer.msi
(/i argument stands for "install")
In the beginning I tried that via a small powershell script (that was enabling the logs and disable them afterwards). If you do something like this don't forget either to change the execution policy or to bypass it. But afterwards I was able to install it only with the above command.
Hope this helps,
Panos
- Proposed as answer by Panagiotis Tsougkaris Thursday, June 28, 2012 8:17 AM
- Marked as answer by RhettClintonMVP, Moderator Monday, January 7, 2013 3:33 PM
Thursday, June 28, 2012 8:06 AM