[izpack-devel] Vista
Markus Schlegel
markus.schlegel at pulinco.com
Wed Jan 31 16:28:35 CET 2007
No, there is definitively no such API.
Either Vista detects that you application needs SU-elevation, or it
starts with the normal token and there is no way for the process to
receive SU-elevation after the process has started.
The recommended way for such a detection is through a manifest-file (but
undocumented).
To be backward compatible, microsoft created this dependency on the name
of the exe-file.
Maybe someone can figure out the manifest thing.
For me, it works ok with the Native wrapper.
Markus
-----Original Message-----
From: izpack-devel-bounces at lists.berlios.de
[mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of Bartz, Klaus
Sent: Wednesday, January 31, 2007 3:42 PM
To: izpack-devel at lists.berlios.de
Subject: Re: [izpack-devel] Vista
Hi,
if I remember right, Markus has used a Launcher which contains "setup"
or "installer" in the name of the executable. A pure java call like java
-jar install.jar will not work...
Then the luncher is any longer facultative.
May be there is an API to trigger the popup of the elevation box, but if
used JNI will be non-facultative. Both makes me not happy.
This is a change in the behavior. For my sense it is a little bit
obscure to make a dependancy between execution level and name of the
executable. But - as much other things - this is a feature, not a bug.
Cheers
Klaus
>-----Original Message-----
>From: izpack-devel-bounces at lists.berlios.de
>[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of miraodb
>Sent: Wednesday, January 31, 2007 3:14 PM
>To: izpack-devel at lists.berlios.de
>Subject: Re: [izpack-devel] Vista
>
>
>Hi Markus,
>
>that sounds good and shows that Micro$$$$ don't like to change much
>things except the prices !!!
>Ahahahah just kidding.
>
>Anyhow, thanks for the docu note: I'll take that into account.
>There's also
>another solution, with the panel that Hal developed you can act as a
>superuser while installing. in that case we could probably avoid this
>naming convention issue. However it has to be tested on Vista. After we
>merge our changes could you please give it a try ?
>
>Thanks,
>Fabrice
>
>----- Original Message -----
>From: "Markus Schlegel" <markus.schlegel at pulinco.com>
>To: <izpack-devel at lists.berlios.de>
>Sent: Wednesday, January 31, 2007 3:03 AM
>Subject: Re: [izpack-devel] Vista
>
>> Tested it last December on Vista. Shortcuts and registry entries work
>> well as far as I can see.
>> Of corse, I tested only my installer and not a complete set
>of features.
>>
>> What's left to do is documenting that the installer must
>contain "setup"
>> or "installer" in its name in order that vista knows it must
>elevate to
>> the SuperUser Access token.
>>
>> Maybe there ist a way of providing a "manifestfile" for it,
>but I don't
>> know how to do this.
>>
>> Markus
>>
>> -----Original Message-----
>> From: izpack-devel-bounces at lists.berlios.de
>> [mailto:izpack-devel-bounces at lists.berlios.de] On Behalf Of
>Elmar Grom
>> Sent: Wednesday, January 31, 2007 2:54 AM
>> To: Izpack
>> Subject: [izpack-devel] Vista
>>
>> Hi everybody,
>>
>> there is something else, that I think we need to keep on our agenda.
>> Since Vista is now officially released it is time to find
>out if IzPack
>> still works properly on the new platform. In particular I am
>concerned
>> about shortcuts and Registry entries.
>>
>> If anyone on the list has access to a Vista machine or plans
>to get one
>> in the near future, please run a test and let us know what you find.
>> Some folks on the team might even suggest and/or prepare a
>set of tests
>> to run.
>>
>> Elmar
>>
>> _______________________________________________
>> izpack-devel mailing list
>> izpack-devel at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/izpack-devel
>> _______________________________________________
>> izpack-devel mailing list
>> izpack-devel at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/izpack-devel
>>
>>
>_______________________________________________
>izpack-devel mailing list
>izpack-devel at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-devel
>
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel
More information about the izpack-devel
mailing list