shekharpro / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Icarus doesn't play nice with UAC #466

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Jeff:

"Since the MbUnit Samples project is stored in the Gallio program files
folder, we can encounter some problems running samples when UAC is turned on.

1. Visual Studio 2008 will notice that the project is in a privileged
location and will offer to auto-restart with elevation so that it can work
with the project.  Pretty neat.

2. Icarus on the other hand doesn't notice this.  So when we try to load
the compiled samples into Icarus it just silently fails.  From the
perspective of the user nothing happened.  Ugh."

Original issue reported on code.google.com by grahamr...@gmail.com on 1 Jun 2009 at 9:09

GoogleCodeExporter commented 8 years ago
The main thing here is to detect when a project contains assemblies that cannot 
be
accessed by the user.  That way we can warn the user about the problem.  Icarus
doesn't need to do any privilege elevation itself.

The specific problem with the samples should be resolved by providing a tool 
(or a
welcome screen) for getting started that includes the option of unzipping the 
samples
someplace else.  Yup, I said unzipping.  I am thinking about zipping up the 
samples
so that users are not tempted to just run them out of the program files 
directory.

Original comment by jeff.br...@gmail.com on 5 Jun 2009 at 6:11

GoogleCodeExporter commented 8 years ago

Original comment by jeff.br...@gmail.com on 29 Jun 2009 at 8:33

GoogleCodeExporter commented 8 years ago
The samples are now in a zip file so users must extract them elsewhere.  It's 
hard to
think of another likely case where we really need to detect UAC in Icarus.

Original comment by jeff.br...@gmail.com on 31 Jul 2009 at 5:35