Microsoft KB Archive/929710

From BetaArchive Wiki
Knowledge Base


Windows Installer custom action code must be compatible with Data Execution Prevention in Windows Vista

Article ID: 929710

Article Last Modified on 3/15/2007



APPLIES TO

  • Windows Vista Ultimate
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Home Premium
  • Windows Vista Home Basic
  • Windows Vista Ultimate 64-bit edition
  • Windows Vista Enterprise 64-bit edition
  • Windows Vista Business 64-bit edition
  • Windows Vista Home Premium 64-bit edition
  • Windows Vista Home Basic 64-bit edition
  • Windows Vista Starter



INTRODUCTION

This article contains information about Data Execution Prevention (DEP) technology in Windows Vista. Microsoft Windows Installer custom action code must be compatible with DEP in Windows Vista.

MORE INFORMATION

DEP technology in Windows Vista prevents the execution of code in non-executable memory. Windows Vista system binaries, such as Windows Installer (Msiexec.exe), are executed with DEP enabled. If the code for a Windows Installer custom action is incompatible with DEP, the Windows Installer process unexpectedly ends. An access violation occurs, and the custom action code is not executed.

Custom action code must be compatible with DEP. Windows Installer developers should test custom action code on a Windows Vista-based system that has DEP enabled. Additionally, developers should use Microsoft Visual Studio 8.0 or a later version to make sure that custom action code is compiled to be compatible with DEP.

Keywords: kbtshoot kbexpertiseinter kbprogramming kbinfo KB929710