/build/static/layout/Breadcrumb_cap_w.png

Access Denied while trying to write [file].InstallState on Windows Vista

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

Answers (0)

Be the first to answer this question

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ