If you have an installer for a Windows application that uses a custom action step during the installation process, you will likely hit this error message when trying to run that installer on Windows Vista:
"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869"
The reasons this error shows up is ultimately because Windows Vista now enforces the original architectural intent of the "NoImpersonate" attribute bit, as Robert Flaming explains in his blog posting:
Omar Shahine describes the error message situation in more detail in his blog posting:
Aaron Stebner summarizes the installer problem well, and describes the necessary steps to solve the problem by correctly setting up installer custom actions correctly in Visual Studio:
Question: I have built an installer using the Visual Studio 2005 setup project wizard. It installs correctly on Windows XP but fails on Windows Vista. I investigated and found that the failure on Windows Vista is caused by a custom action that fails with an access denied error. However, I am running the setup with elevated privileges in Windows Vista. How can I fix my setup so it will work correctly on Windows Vista?
All content is
Copyright (c) 2010 Jorgen Thelin. All rights reserved.
The opinions expressed here represent my own views and not necessarily those of my current, prior or future employer(s).
Content is provided "as-is", without any representations or warrenties of any kind.
Contents of the Weblog Feed are licensed under a Creative Commons License.