[izpack-dev] exec-admin in Uninstaller

23 views
Skip to first unread message

Kjell Braden

unread,
Jul 13, 2009, 7:56:28 AM7/13/09
to d...@izpack.codehaus.org
Hi,

currently, the exec-admin flag for the uninstaller will only be set when
the installer has elevated itself (see .installer.UnpackerBase line
742). I have some use cases where the user manually elevates the
installer (e.g. an .exe wrapper with "installer" in it's file name,
get's elevated manually) and isPrivilegedMode() would return false.

I suggest to remove the check on PrivilegedRunner.isPrivilegedMode() and
always let the uninstaller elevate when <run-privileged/> is set.

-Kjell

signature.asc

Julien Ponge

unread,
Jul 14, 2009, 2:38:39 PM7/14/09
to d...@izpack.codehaus.org
Or maybe we could make it configurable, just like for the installer?

What do you think?

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


Kjell Braden

unread,
Jul 14, 2009, 3:27:30 PM7/14/09
to d...@izpack.codehaus.org
Julien Ponge wrote:
> Or maybe we could make it configurable, just like for the installer?
>
> What do you think?
>
> Cheers
>


Sounds good, JIRA created, patch submitted:
http://jira.codehaus.org/browse/IZPACK-430

I didn't commit yet because I was unable to fully test it for now. (feel
free...)

-Kjell

signature.asc

Julien Ponge

unread,
Jul 14, 2009, 3:44:58 PM7/14/09
to d...@izpack.codehaus.org
I just had a look and it sounds good, so you can commit :-)

BTW I had a look at another JIRA issue that you assigned back to me
and you can commit too!

Thanks

--

Julien Ponge

unread,
Jul 14, 2009, 3:47:34 PM7/14/09
to d...@izpack.codehaus.org
That was IZPACK-423 :-)

Kjell Braden

unread,
Jul 14, 2009, 4:18:39 PM7/14/09
to d...@izpack.codehaus.org
Julien Ponge wrote:
> I just had a look and it sounds good, so you can commit :-)
>
> BTW I had a look at another JIRA issue that you assigned back to me
> and you can commit too!
>
> Thanks
>


Done, thanks!

-Kjell

signature.asc

Julien Ponge

unread,
Jul 14, 2009, 4:35:03 PM7/14/09
to d...@izpack.codehaus.org

Kjell Braden

unread,
Jul 14, 2009, 4:58:22 PM7/14/09
to d...@izpack.codehaus.org
Julien Ponge wrote:
> You killed the build :-) http://bamboo.ci.codehaus.org/browse/IZPACK-TRUNK-162
>

Woops... fixed, thanks

signature.asc
Reply all
Reply to author
Forward
0 new messages