Showing posts with label UAC. Show all posts
Showing posts with label UAC. Show all posts

Tuesday, April 24, 2007

Adobe Reader on Vista Ultimate x64

After a lot of work and googling I finally managed to get Adobe Reader to install. The funny thing is that Adobe says that version 8 is Vista compatible. I'd like to question that, at least regarding the installer..

Downloaded

Adobe Reader 8 for Windows Vista

Started the installer, got the downloaded file warning but not the UAC dialog, then... absolutely nothing happened.

Then I tried "Run as administrator", still the same... absolutely nothing happened.

Googled around and found indication that running in XP SP2 compatibility mode might help. It did..

But come on Adobe, get your act together and produce an installer that Joe Average can use without extra fuzzing about!

Tuesday, September 12, 2006

Oh the joys of UAC (NOT)

Tried to do a little bughunting on a WCF project, the problem specifically related to dual bindings. However, I did not get so far, since I soon found out through "trial and horror" that in Vista you are not allowed to bind to a port unless running under elevated privileges.

Yes, UAC strikes once again!

I soon found out that this is a known issue and how you should work around it. Basically you add a manifest to the exe requesting elevated privileges.




<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestversion="1.0">
<trustinfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedprivileges>
<requestedexecutionlevel level="requireAdministrator">
</requestedprivileges>
</security>
</trustinfo>
</assembly>


However, I couldn't get this working under a debugger !?! (The manifest is there as both exename.exe.manifest and exename.vshost.exe.manifest)

So, how is one supposed to debug a WCF server on Vista !?!