« Return to Thread: Bootstrap then launch with administrative rights

Re: Bootstrap then launch with administrative rights

by ODB MIRA :: Rate this Message:

Reply to Author | View in Thread

Hi Julien,

This sounds like a good idea.
I remember  a while back Hal Vaughan wrote something like this (SuperUser),
at that time i was working with him on a bunch of new features which i never
posted... i shall do it asap as i mentioned in an earlier post.
I will look into my archives and found that information.

The SuperUser feature worked on Unix, Mac and Windows basically checking for
root on Unix and Mac and for Administrator for Windows.

I will also check with Hal if it is cool to post it here for review. Or Hal,
if you are still looking at this list from time to time let us know what are
your thoughts about this.
We would probably have to modify it a bit to fit with Vista.

Cheers,
Fabrice

----- Original Message -----
From: "Julien Ponge" <julien.ponge@...>
To: <dev@...>
Sent: Thursday, October 23, 2008 5:53 PM
Subject: [izpack-dev] Bootstrap then launch with administrative rights


> Hi everyone,
>
> I have been thinking lately about a new feature that would be terrific ;-)
>
> Some installers would need privileged rights to run properly. It turns
> out that the means to do that vary a lot depending on the operating
> systems.
>
> * Windows: there is apparently a way to ask the UAC on Vista to pop-up
> a message to elevate the rights. It more or less boils down to writing
> a JScript somewhere that would re-launch the installer, see
> http://blogs.msdn.com/aaron_margosis/archive/2007/07/01/scripting-elevation-on-vista.aspx.
>
> * Linux / Unix: sudo is not scriptable, but there exists kdesu on KDE
> and gksu on Ubuntu that provide graphical means to do that. Again, the
> installer would need to relaunch itself.
>
> * Mac OS X: I could not find the documentation for this, but some
> applications ask for elevation on some occasions.
>
> What do you guys think? In particular, I am very interested on
> experiences / documentation on scripting those systems for asking the
> user to elevate rights.
>
> Cheers
>
> --
> http://izpack.org/
> http://jpz-log.info/
> http://julien.ponge.info/
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Bootstrap then launch with administrative rights