OK, I set compatibility for Admin on "C:\Program Files\Microsoft
SDKs\Windows\v6.0A\bin\FUSLOGVW.exe", and use that path in the External
Tools.

Now I do (eventually) see it is running with elevated permissions.

But something very odd happens first: VS pops up a dialogue to connect to
Team Foundation Server (I have never used this on this machine/install),
after the expected UAC dialogue.

I left it unanswered; then, another UAC dialogue led to the fusion log
viewer, on which I could change Settings. Closing that TFS dialogue,
quitting VS2010, I got an error message from the compatibility assistant. 

A little more trial & error is required - so far, this has confused me when
I was expecting a time + convenience tweak would be a 5 minute effort. 

  _____  

Ian Thomas
Victoria Park, Western Australia

  _____  

From: [email protected] [mailto:[email protected]]
On Behalf Of Ian Thomas
Sent: Saturday, December 17, 2011 2:32 PM
To: 'ozDotNet'
Subject: RE: VS configuration - external tools

 

Bill, David

Yes, I want to run it from within VS. 

I haven't been able to construct parameters* (within the External Tools
dialogue) to suit Runas, and a suitably-constructed shortcut isn't allowed
from within that tool. Just using the path to FUSLOGVW.exe doesn't allow it
to be elevated. 

*(parameters seem not applicable to what I want, anyway)

  _____  

Ian Thomas
Victoria Park, Western Australia

  _____  

From: [email protected] [mailto:[email protected]]
On Behalf Of David Kean
Sent: Saturday, December 17, 2011 2:01 PM
To: ozDotNet
Subject: RE: VS configuration - external tools

 

I'm, guessing Ian wants this so that he can launch it from VS. I haven't
tried this, but right-click on the exe, click Properties, choose
Compatibility and then check Run as Admin. I'm guessing this should work.

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Bill McCarthy
Sent: Friday, December 16, 2011 9:26 PM
To: ozDotNet
Subject: RE: VS configuration - external tools

 

Runas ....

  _____  

From: Ian Thomas
Sent: 17/12/2011 4:05 PM
To: 'ozDotNet'
Subject: VS configuration - external tools

I would like to set the Fusion Log Viewer FUSLOGVW.exe (Windows SDK v6.0A on
my system) as an external tool that I can get at easily in VS2010.

But changing the Settings in this requires that it is run as Administrator. 

I can't see how that can be done in the External Tools of Visual Studio.

Also, this 'wizard' in VS will not accept a shortcut (which could be flagged
to run as Admin). 

Any suggestions? 
________________________________
Ian Thomas
Victoria Park, Western Australia

Reply via email to