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