PROGRAMING/WP7

[WP7] Visual Studio 2010 Express for Windows Phone 설치 에러 (Compatibility Mode)

donghunl 2011. 8. 19. 07:40
반응형

Visual Studio Setup cannot be run in Program Compatibility Mode

Visual Studio 2010 and/or the .NET Framework 4 Setup fails with 1603 error code or blocks running in Program Compatibility Mode.

Windows Program Compatibility Assistant indicates that Visual Studio Setup might not have installed correctly, and prompts the user to reinstall by using the recommended setting (program compatibility mode).

To resolve this issue:

Visual Studio Setup cannot run in program compatibility mode. Ensure that the compatibility mode setting is not enabled system-wide or for the Visual Studio Setup application.

Check the manual setting

Compatibility mode could have been set manually on the Compatibility tab on the executable file properties.

  1. On the Visual Studio Setup media, locate setup.exe.
  2. Right-click setup.exe and then click Properties.
  3. On the Compatibility tab, clear "Run this program in compatibility mode for" and then then click OK.

Check Program Compatibility Assistant registry settings

Compatibility mode could have been set by Program Compatibility Assistant on earlier failed or canceled attempts to run Visual Studio setup.exe.

  1. Click Start, and then click Run.
  2. Type regedit, and then click OK.
  3. Browse to each of the following keys and delete any value that refers to setup.exe in the Visual Studio install path:
    • HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
    • HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

Rerun Visual Studio Setup

  1. Open Windows Explorer.
  2. Browse to Visual Studio setup.exe.
  3. Double-click setup.exe to run Visual Studio Setup.
반응형