Microsoft KB Archive/913445

= The computer may restart unexpectedly when you install Visual Studio 2005 in unattended mode =

Article ID: 913445

Article Last Modified on 7/5/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition

-





SYMPTOMS
When you install Microsoft Visual Studio 2005 in unattended mode, the computer may restart unexpectedly.



CAUSE
This problem occurs because the unattended installation of Visual Studio 2005 reinstalls the prerequisites, even though the prerequisites are already installed. Typically, the computer restarts when any one of the following conditions is true:
 * Microsoft Windows Installer 3.1 is installed for the first time.
 * The Microsoft .NET Framework 2.0 is already installed and is reinstalled.
 * Microsoft Document Explorer 2005 is already installed and is reinstalled.



WORKAROUND
To work around this problem, follow these steps before you install Visual Studio 2005 in unattended mode:  Install the following prerequisites:  Microsoft Windows Installer 3.1 The Microsoft .NET Framework 2.0 Microsoft Document Explorer 2005

To silently install these prerequisites, run the following commands:

 wcu\msi31\WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart /log:&quot;%temp%\Installer31.log&quot;

 wcu\dotNetFramework\dotnetfx.exe /q:a /c:&quot;install /l /q&quot;

 wcu\DExplore\DExplore.exe /q:a /c:&quot;install.exe /q&quot;

 In the following sections, change the last line from &quot;InstallActionInteger=5&quot; to &quot;InstallActionInteger=1&quot;:   [gfn_mid windows installer 3.1] gfn_ stockprop hidden=0 gfn_ stockprop required=0 gfn_ stockprop suitebaseline=0 gfn_ stockprop scenariobaseline=0 {AD63CD13-236E-11D3-8425-00C04F72D91B}=0 {8FB65C86-FBD9-401D-B8CA-3B085BA9357C}=2588672 {325A5C50-F075-11D2-A4CE-00C04F5E0BA5}= {ABAEF078-4B3C-4E35-809D-1F90A4A3213B}= {C6CA5549-6F00-48E4-B25D-EF71C544F6C8}=0 {2B6D53F6-7D15-4CC8-A3CD-E14F0B8D0F24}=1 {75AB8B2B-04D8-4EEA-91F8-6B43C92C701C}=neutral {C1098BCE-5015-458F-A8CA-0E397913ED72}=0 {669FBCA3-F314-4F26-832A-1294154F8680}=21 {04760573-84A0-4BEC-ABCD-C640423DC3FE}=To be installed. {37DED549-2277-454B-B0F3-0CA87D97797A}=11000000 InstallDirectory= InstallActionInteger=5 </li>  [gfn_mid framework] gfn_ stockprop hidden=0 gfn_ stockprop required=0 gfn_ stockprop suitebaseline=0 gfn_ stockprop scenariobaseline=0 {AD63CD13-236E-11D3-8425-00C04F72D91B}=0 {8FB65C86-FBD9-401D-B8CA-3B085BA9357C}=24700000 {325A5C50-F075-11D2-A4CE-00C04F5E0BA5}= {ABAEF078-4B3C-4E35-809D-1F90A4A3213B}= {C6CA5549-6F00-48E4-B25D-EF71C544F6C8}=0 {2B6D53F6-7D15-4CC8-A3CD-E14F0B8D0F24}=0 {75AB8B2B-04D8-4EEA-91F8-6B43C92C701C}=neutral {C1098BCE-5015-458F-A8CA-0E397913ED72}=0 {669FBCA3-F314-4F26-832A-1294154F8680}=600 {04760573-84A0-4BEC-ABCD-C640423DC3FE}=To be installed. {37DED549-2277-454B-B0F3-0CA87D97797A}=300000000 InstallDirectory= InstallActionInteger=5 </li>  [gfn_mid dexplore] gfn_ stockprop hidden=0 gfn_ stockprop required=0 gfn_ stockprop suitebaseline=0 gfn_ stockprop scenariobaseline=0 {AD63CD13-236E-11D3-8425-00C04F72D91B}=0 {8FB65C86-FBD9-401D-B8CA-3B085BA9357C}=0 {325A5C50-F075-11D2-A4CE-00C04F5E0BA5}= {ABAEF078-4B3C-4E35-809D-1F90A4A3213B}= {C6CA5549-6F00-48E4-B25D-EF71C544F6C8}=0 {2B6D53F6-7D15-4CC8-A3CD-E14F0B8D0F24}=0 {75AB8B2B-04D8-4EEA-91F8-6B43C92C701C}=neutral {C1098BCE-5015-458F-A8CA-0E397913ED72}=0 {669FBCA3-F314-4F26-832A-1294154F8680}=120 {04760573-84A0-4BEC-ABCD-C640423DC3FE}=To be installed. {37DED549-2277-454B-B0F3-0CA87D97797A}=10000000 InstallDirectory= InstallActionInteger=5 </li></ul> </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

Steps to reproduce the problem
<ol> Install the following prerequisites from the WCU folder of Visual Studio 2005:  The Microsoft .NET Framework 2.0</li> Microsoft Document Explorer 2005</li> Microsoft J# 2.0 Redistributable Package</li> Microsoft Core XML Services (MSXML) 6.0 Parser</li> Microsoft Visual Studio 2005 Tools for the Microsoft Office System Runtime</li> Microsoft Device Emulator version 1.0</li> The Microsoft .NET Compact Framework 1.0 Service Pack 3 (SP3) Developer</li> The Microsoft .NET Compact Framework 2.0</li> Microsoft Visual Studio 2005 Performance Tools</li></ul> </li> At a command prompt, run the following command to install Visual Studio 2005 in unattended mode:

 \setup\Setup.exe \install.ini

Note The computer restarts during the Visual Studio 2005 installation.</li></ol>

Keywords: kbtshoot kbprb KB913445

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.