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

Article translations Article translations
Article ID: 913445 - View products that this article applies to.
Expand all | Collapse all

On This Page

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:
  1. 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:
    Drive:\path\wcu\msi31\WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart /log:"%temp%\Installer31.log"

    Drive:\path\wcu\dotNetFramework\dotnetfx.exe /q:a /c:"install /l /q"

    Drive:\path\wcu\DExplore\DExplore.exe /q:a /c:"install.exe /q"
  2. In the following sections, change the last line from "InstallActionInteger=5" to "InstallActionInteger=1":
    • [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
      
    • [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
      
    • [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
      

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the problem

  1. Install the following prerequisites from the WCU folder of Visual Studio 2005:
    • The Microsoft .NET Framework 2.0
    • Microsoft Document Explorer 2005
    • Microsoft J# 2.0 Redistributable Package
    • Microsoft Core XML Services (MSXML) 6.0 Parser
    • Microsoft Visual Studio 2005 Tools for the Microsoft Office System Runtime
    • Microsoft Device Emulator version 1.0
    • The Microsoft .NET Compact Framework 1.0 Service Pack 3 (SP3) Developer
    • The Microsoft .NET Compact Framework 2.0
    • Microsoft Visual Studio 2005 Performance Tools
  2. At a command prompt, run the following command to install Visual Studio 2005 in unattended mode:
    Location of Visual Studio 2005\setup\Setup.exe UnattendFile Location\install.ini
    Note The computer restarts during the Visual Studio 2005 installation.

Properties

Article ID: 913445 - Last Review: July 5, 2006 - Revision: 2.0
APPLIES TO
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Express Edition
Keywords: 
kbtshoot kbprb KB913445

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com