If you need to use the Web Application Projects add-in for Visual Studio 2005 and your desktop operating system is Windows Vista BETA 2, then you will need to install the add-in using your UAC administrator token.
The way I did it was run the command-prompt as an administrator then run the MSI. Running the MSI directly and expecting it to elevate correctly doesn’t work (you get an Access is Denied error when trying to write the InstallState file).
July 31, 2006 at 8:11 am
Is there no way to allow a common user to install the msi? i get the same error and i don’t know how to solve it.
Thank you
July 31, 2006 at 11:23 am
Hi Angel,
No – most install packages require some level of administrator rights. Just in this case the MSI package wasn’t being elevated at the right point for this code to succeed (hence my work around).
January 24, 2007 at 4:41 am
Hi! Why I can’t fill my info in profile? Can somebody help me?
My login is Kisakookoo!
January 24, 2007 at 12:53 pm
Hi Kisakookoo, not sure I follow . . .
March 21, 2007 at 6:40 pm
We have an ADD-IN developed for Microsoft Word and Internet Explorer. It works for Window XP/2000 but when we install for Windows VISTA it has stopped working.
March 21, 2007 at 8:17 pm
Hi Ajit,
This post is actually about an add-in for Visual Studio 2005. Anyway – all I can suggest with your add-in is that you install it whilst running with administrative rights (start a command prompt as an administrator, then run the installer). This often resolves problems.