Getting error 2869 when installing in Vista RRS feed

  • Question

  • Hi All,

    I have created setup file for my application using installer project in VS2005. It worked well with XP, Vista and Windows7.
    Recently I added custom actions to that installer by creating dll project. If I build everything from visual studio IDE then setup works well in all the OS.

    But If I build the projects from console and run the setup file in Vista & 7, then getting error 2869 (i.e. The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869). In XP I didn't face any problem.

    Below are the steps I followed to build from console:
    F:\Program Files\Microsoft Visual Studio 8\Common7\IDE>devenv %WorkingDir%\CustomAction.csproj" /build Release
    F:\Program Files\Microsoft Visual Studio 8\Common7\IDE>devenv %WorkingDir%\Installers.sln" /build Release

    Now I don't have any clue with questions.
    1. Why the setup has issues when build from console? What is the difference between build from VS IDE and console?
    2. Why the problem occurs only with Vista and Windows7?

    Thanks in Advance.
    Thursday, January 21, 2010 6:30 AM


All replies