I have built an installer using the Visual Studio setup project wizard. I added my Windows Service and Windows Forms Application to a setup project with custom actions. In the After_Install event of the ProjectInstaller class in the Service application, I programmatically started the service and enabled service desktop interaction.

It installs and uninstalls without any problems to Window 2000 and Windows XP. However, when I tried installing the application on Windows Vista, I encounter this problem:



Error: 2869, Unexpected Error -



After doing some research, I cleared that error by following instructions by Aaron Stebner on MSDN blogs: How to set the NoImpersonate flag for a custom action in Visual Studio 2005



I now have this error to deal with: Access Denied while trying to write AlertService.InstallState and then the installation rolled back.



How can I fix my setup so it will work correctly on Windows Vista?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

Answer this question or Comment on this question for clarity