When you install Microsoft Visual Studio 2005 in unattended mode, the computer may restart unexpectedly.
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.
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: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"
- 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
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.