views:

492

answers:

2

I have a project, in VS 2005, which has a console application and a setup project associated to install the application. I also have an installer class in the console application that the setup project will use to do some validation before installation. Those tasks are checking the database connection string and checking some directory locations to make sure they exist prior to installation.

I am getting an error code of 2869 when I try to install the application. All the code is written in C#. I have googled for this error code on Windows XP, but only found articles that deal with Vista and Windows 7. Any ideas what might be happening? Is there a workaround?

A: 

Installer errors are difficult to debug, you can try to :

  1. Look in Event Viewer / Application for logged exceptions
  2. Surround your code with a big try/catch and a MessageBox.Show(ex.ToString()) in the catch clause
  3. Generate a log when installing: msiexec /i "installer.msi" /lvx "log.txt" and look in it for clues
Catalin DICU
+1  A: 

Hi KP,

Error 2869 is caused by missing system files or broken system registry structures. I had exactly the same problem and I managed to resolv it with the following tool

http://simple-pc-help.com/support/error_2869.html?t202id=231&t202kw=error%20code%202869

Muse VSExtensions