View Single Post
Old 06-22-2007   #5 (permalink)
Superfreak3


 
 

Re: VISTA and Power Users?

On Jun 19, 8:50 am, Jimmy Brush <j...@mvps.org> wrote:
> > Oh, big time confused! I guess we'll just have to waddle our way
> > through.

>
> > My immediate concern if for installation of our software at the moment
> > as that is basically what I do.

>
> > Our previous installation was allowed or designed, I should say for
> > Admins and Power Users, so I was just wondering what the impact would
> > be to our installations where end users may have utilized Power Users
> > to install.

>
> > Painting with a broad stroke, it looks as though installation Custom
> > Actions and ensuring their execution is one of the big 'battles' with
> > readying pre-Vista install packages for Vista.

>
> > I guess the other concept would be to develop a purely Standard User
> > or user install. ??

>
> > Any more information with regard to impact on our installs caused by
> > Vista would be, as always, GREATLY appreciated!

>
> > Thanks for the info so far!!!

>
> Hello,
>
> I am not very familiar with Windows Installer on a technical level, so
> this may be a better question for the more programmer-oriented msdn forums.
>
> However, I think I can kind of explain at a high-level what you will be
> working towards..
>
> - you will need to keep your installation program from requiring the
> user to be an administrator when the setup first starts (which will lock
> out power users). This can be tricky, since windows by default assumes
> setup programs require an admin to run them, but if you are using
> Windows Installer you should be able to get around this easily.
>
> - Thing is, if the user really IS an administrator, and your setup
> program does NOT ask for admin power, then you will end up locking out
> administrators!
>
> - And if you get your setup program to NOT prompt for admin power, I'm
> not sure if it will run as highestAvailable (where it would be able to
> use the extra power user privileges and it would work), or whether it
> would just ignore the extra privileges and still locking out power users!
>
> What you really need is for your installer to run under the setting I
> mentioned in my previous post ("highestAvailable"), where if it's an
> administrator then prompt for admin power, if not, just run with the
> highest privilege we can get.
>
> But I really don't know how you would accomplish that using Windows
> Installer.
>
> The solution might be to have some sort of bootstrapper program that
> determines the type of user and then launches the appropriate setup
> program based on that.
>
> --
> -JB
> Microsoft MVP - Windows Shell/User
> Windows Vista Support FAQ -http://www.jimmah.com/vista/- Hide quoted text -
>
> - Show quoted text -


--"To use the Power Users group on Windows
Vista, a new security template must be applied to change the default
permissions on system folders and the registry to grant PU group
permissions equivalent to Windows XP."

Would anyone know how to go about applying this 'new security
template' so that the Power Users group will mimic security behavior
as in XP?

Any pointers on doing this would be greatly appreciated and would
prove beneficial in my testing. Currently, my application
installation will run with UAC enabled after credentials are provided,
but when I attempt to install as a Power User (VISTA out of the box
with no changes to policies/security) with UAC disabled, the
installation fails because I do not have permission to access the
Program Files folder (at least that's what I recall the message
indicating).

APPRECIATED!!


My System SpecsSystem Spec