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?
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)
Please log in to answer
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.
so that the conversation will remain readable.