{"id":468,"date":"2023-09-09T14:12:40","date_gmt":"2023-09-09T14:12:40","guid":{"rendered":"https:\/\/blog.nibelheim.fr\/?p=468"},"modified":"2023-09-09T14:12:40","modified_gmt":"2023-09-09T14:12:40","slug":"installer-visual-studio-2010-le-sdk-7-1-et-ses-compilateurs-sous-windows-10","status":"publish","type":"post","link":"https:\/\/blog.nibelheim.fr\/?p=468","title":{"rendered":"Installer Visual Studio 2010, le SDK 7.1 et ses compilateurs sous Windows 10"},"content":{"rendered":"\n<p>Si vous tentez d&#8217;installer Visual Studio 2010 et surtout le compilateur contenu dans le SDK Windows 7.1, vous vous \u00eates probablement heurt\u00e9 au message &#8220;impossible d&#8217;installer certains composants car .Net Framework 4.0 n&#8217;est pas install\u00e9&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"258\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-11.png\" alt=\"\" class=\"wp-image-476\"\/><\/figure>\n\n\n\n<p><br>Alors que bon, sur Windows 10&#8230; Il est inclus de base.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1- T\u00e9l\u00e9chargements<\/h4>\n\n\n\n<p>T\u00e9l\u00e9chargez donc :<br>&#8211; <a href=\"https:\/\/archive.org\/details\/microsoft-visual-studio-2010-ultimate\" data-type=\"link\" data-id=\"https:\/\/archive.org\/details\/microsoft-visual-studio-2010-ultimate\">L&#8217;ISO de Visual Studio 2010<\/a> <a href=\"https:\/\/archive.org\/download\/microsoft-visual-studio-2010-ultimate\/Microsoft%20Visual%20Studio%202010%20Ultimate.iso\" data-type=\"link\" data-id=\"https:\/\/archive.org\/download\/microsoft-visual-studio-2010-ultimate\/Microsoft%20Visual%20Studio%202010%20Ultimate.iso\"><strong>>ici&lt;<\/strong><\/a><br>&#8211; <a href=\"https:\/\/www.microsoft.com\/en-gb\/download\/details.aspx?id=8442\" data-type=\"link\" data-id=\"https:\/\/www.microsoft.com\/en-gb\/download\/details.aspx?id=8442\">L&#8217;ISO du SDK 7.1<\/a> <a href=\"http:\/\/download.microsoft.com\/download\/F\/1\/0\/F10113F5-B750-4969-A255-274341AC6BCE\/GRMSDKX_EN_DVD.iso\" data-type=\"link\" data-id=\"http:\/\/download.microsoft.com\/download\/F\/1\/0\/F10113F5-B750-4969-A255-274341AC6BCE\/GRMSDKX_EN_DVD.iso\"><strong>>ici&lt;<\/strong><\/a><br>&#8211; Le correctif KB2519277 <strong><a href=\"https:\/\/www.microsoft.com\/en-US\/download\/details.aspx?id=4422\">>ici&lt;<\/a><\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">2- Changement de registre<\/h4>\n\n\n\n<p>Nous allons faire des changements dans le Registre Windows, <a href=\"https:\/\/stackoverflow.com\/questions\/32091593\/cannot-install-windows-sdk-7-1-on-windows-10\">bas\u00e9s sur le commentaire de Dougg3<\/a>. <br>Appuyez sur la touche Windows+R puis tapez Regedit.<br>Ceci fait, naviguez jusqu&#8217;\u00e0 la cl\u00e9 :<\/p>\n\n\n\n<pre class=\"wp-block-code has-tertiary-background-color has-background has-small-font-size\"><code><code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\NET Framework Setup\\NDP\\v4\\Client\\Version<\/code><\/code><\/pre>\n\n\n\n<p>Dans la partie droite de la fen\u00eatre, vous devriez voir une cl\u00e9 marqu\u00e9e Version :<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"248\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-5.png\" alt=\"\" class=\"wp-image-470\"\/><\/figure>\n\n\n\n<p>Comme vous pouvez le voir, sur ma machine, on est \u00e0<strong> 4.8.04084<\/strong>. Et c&#8217;est bien ce qui semble poser probl\u00e8me au SDK 7.1, qui va chercher un <strong>4.0.xxxx<\/strong>&#8230; Dougg3 propose <strong>4.0.30319<\/strong>, nous allons donc partir avec celle-l\u00e0.<br>Malheureusement, il est en l&#8217;\u00e9tat impossible de changer cette valeur : il faudra donc changer les autorisations de la cl\u00e9 Client.<br>Clic droit sur la cl\u00e9 <strong>Client<\/strong>, puis <strong>Autorisations&#8230;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-4.png\" alt=\"\" class=\"wp-image-469\" style=\"width:231px;height:248px\" width=\"231\" height=\"248\"\/><\/figure>\n\n\n\n<p>Ensuite, bouton <strong>Avanc\u00e9 <\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-6.png\" alt=\"\" class=\"wp-image-471\" style=\"width:279px;height:346px\" width=\"279\" height=\"346\"\/><\/figure>\n\n\n\n<p>Puis, en haut de la fen\u00eatre, en face de Propri\u00e9taire, vous devriez voir <strong>TrustedInstaller<\/strong>. Cliquez sur <strong>Modifier<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"520\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-7.png\" alt=\"\" class=\"wp-image-472\"\/><\/figure>\n\n\n\n<p>Puis, bouton <strong>Avanc\u00e9 <\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-8.png\" alt=\"\" class=\"wp-image-473\" style=\"width:405px;height:192px\" width=\"405\" height=\"192\"\/><\/figure>\n\n\n\n<p>Puis, bouton <strong>Rechercher <\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-9.png\" alt=\"\" class=\"wp-image-474\" style=\"width:370px;height:416px\" width=\"370\" height=\"416\"\/><\/figure>\n\n\n\n<p>Dans la partie <strong>R\u00e9sultats de la recherche<\/strong>, cherchez votre utilisateur courant, puis cliquez sur <strong>OK<\/strong> jusqu&#8217;\u00e0 remonter \u00e0 la fen\u00eatre <em><strong>Autorisations pour Client<\/strong><\/em> de ci-dessus.<br>A ce point, nous avons chang\u00e9 le propri\u00e9taire de la cl\u00e9 \u00e0 vous-m\u00eame.<br>Maintenant, vous allez vous donner vous-m\u00eame les autorisations sur cette cl\u00e9.<br>Toujours sur la fen\u00eatre <em><strong>Autorisations pour Client<\/strong><\/em>, cliquez \u00e0 pr\u00e9sent sur Ajouter&#8230; ,<br>&#8211; de nouveau sur <strong>Avanc\u00e9 <\/strong>dans la nouvelle fen\u00eatre,<br>&#8211; de nouveau sur <strong>Rechercher <\/strong>dans cette ENCORE nouvelle fen\u00eatre.<br>Trouvez une nouvelle fois votre utilisateur dans <strong>R\u00e9sultats de la recherche<\/strong>, puis <strong>OK <\/strong>jusqu&#8217;\u00e0 remonter \u00e0&#8230; <em><strong>Autorisations pour Client<\/strong><\/em>, gagn\u00e9.<br>Votre utilisateur devrait maintenant appara\u00eetre dans la liste <strong>Nom de groupes ou d&#8217;utilisateurs<\/strong>. Cliquez dessus, puis coches les cases <strong>Contr\u00f4le total <\/strong>et <strong>Lecture <\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"363\" height=\"450\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-10.png\" alt=\"\" class=\"wp-image-475\"\/><\/figure>\n\n\n\n<p>Bien! Une fois que c&#8217;est fait&#8230; Vous \u00eates bon pour refaire la m\u00eame manipulation sur la cl\u00e9 de registre voisine :<\/p>\n\n\n\n<pre class=\"wp-block-code has-tertiary-background-color has-background has-small-font-size\"><code><code>HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full<\/code><\/code><\/pre>\n\n\n\n<p>Ceci fait, double-cliquez sur la cl\u00e9 <strong>Version<\/strong>,<br>notez sa valeur exacte sur un papier,<br>et remplacez-la par <strong>4.0.30319<\/strong>.<\/p>\n\n\n\n<p>Faites ceci pour la cl\u00e9 Version pr\u00e9sente dans <strong>Client <\/strong>et dans <strong>Full<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">3- Installation!<\/h4>\n\n\n\n<p>Vous pouvez maintenant installer Visual Studio depuis l&#8217;image ISO que vous avez t\u00e9l\u00e9charger, puis le SDK 7.1, lequel ne vous enverra plus le message <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"258\" src=\"https:\/\/blog.nibelheim.fr\/wp-content\/uploads\/2023\/09\/image-11.png\" alt=\"\" class=\"wp-image-476\"\/><\/figure>\n\n\n\n<p>MAIS! Nous n&#8217;en avons pas termin\u00e9. En effet, en s\u00e9lectionnant <strong>Visual C++ Compilers<\/strong> dans les options d&#8217;installation, le n\u00e9cessaire va s&#8217;installer, MAIS si vous relancez la m\u00eame installation, vous verrez que le compilateur est toujours d\u00e9coch\u00e9&#8230; Il est alors l&#8217;heure d&#8217;installer le correctif <strong>KB2519277<\/strong>.<\/p>\n\n\n\n<p>Ceci fait, vous pouvez \u00e0 pr\u00e9sent lancer Visual Studio et tenter votre compilation!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">4- Le mot de la fin<\/h4>\n\n\n\n<p>N&#8217;oubliez pas de restaurer la version du .NET Framework dans les deux cl\u00e9s de registre, comme je soup\u00e7onne que cela puisse nous p\u00e9ter assez fort \u00e0 la figure si on oublie&#8230;<\/p>\n\n\n\n<p>Et \u00e9videmment, un immense merci \u00e0 Dougg3 (que je ne connais pas).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Si vous tentez d&#8217;installer Visual Studio 2010 et surtout le compilateur contenu dans le SDK Windows 7.1, vous vous \u00eates probablement heurt\u00e9 au message &#8220;impossible d&#8217;installer certains composants car .Net Framework 4.0 n&#8217;est pas install\u00e9&#8221;. Alors que bon, sur Windows 10&#8230; Il est inclus de base. 1- T\u00e9l\u00e9chargements T\u00e9l\u00e9chargez donc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-468","post","type-post","status-publish","format-standard","hentry","category-geekage"],"_links":{"self":[{"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=\/wp\/v2\/posts\/468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=468"}],"version-history":[{"count":2,"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=\/wp\/v2\/posts\/468\/revisions"}],"predecessor-version":[{"id":490,"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=\/wp\/v2\/posts\/468\/revisions\/490"}],"wp:attachment":[{"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nibelheim.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}