Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. The error code is 2869 in Vista

The error code is 2869 in Vista

Scheduled Pinned Locked Moved Visual Basic
helpquestioncsharpvisual-studioworkspace
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jats_4ru
    wrote on last edited by
    #1

    I have built an installer using the Visual Studio 2005 setup project wizard. It installs correctly on Windows XP but fails on Windows Vista. As per my research i 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 admin privileges in Windows Vista. How can I fix my setup so it will work correctly on Windows Vista? Error: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869"

    Jats

    J 1 Reply Last reply
    0
    • J Jats_4ru

      I have built an installer using the Visual Studio 2005 setup project wizard. It installs correctly on Windows XP but fails on Windows Vista. As per my research i 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 admin privileges in Windows Vista. How can I fix my setup so it will work correctly on Windows Vista? Error: "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869"

      Jats

      J Offline
      J Offline
      Jats_4ru
      wrote on last edited by
      #2

      I tried to field a solution on the above problem and followed the below process 1-Download the sample script and extract the contents to the directory that contains the Visual Studio project you are working on 2-Open the project in Visual Studio 2005 3-Press F4 to display the Properties window 4-Click on the name of your setup/deployment project in the Solution Explorer 5-Click on the PostBuildEvent item in the Properties window to cause a button labeled "..." to appear 6-Click on the "..." button to display the Post-build Event Command Line dialog 7-Add the following command line in the Post-build event command line text box: cscript.exe "$(ProjectDir)CustomAction_NoImpersonate.js" "$(BuiltOutputPath)" 8-Build your project in Visual Studio 2005 Now a new problem... the installer built now is installing in some system's with vista and showing same error for other system's in Vista. Please help me find a solution...

      Jats

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups