The application requests admin rights upon first use

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
elux
Messages: 11
Registration: December 12, 2022 - 09:02

November 13, 2024 - 3:10 PM

Hello,
I hope you can find a solution to my problem.
I created a package for an application (https://igv.org/doc/desktop/#DownloadPage/).
I chose the full version with Java to avoid problems, but when I install it, it asks for administrator privileges for Java every time I restart my computer.
Do you have any idea how to work around this?
Thank you very much in advance.
jcdemarque
Messages: 24
Registration: February 21, 2023 - 3:12 PM

November 25, 2024 - 09:26

Hello,
The simple solution would be to use the Java package from the WAPT store as a dependency, in the appropriate version: 1.8, 11, or 17 with the non-Oracle version.
Otherwise, it sends automatic update pop-ups and other annoying messages.

Alternatively, you would have to look at the Java package from the store and use it as a guide to install Java, but this would need to be done again with each new Java version.

EDIT: Java 17 is required:
Since version 2.17.0, IGV requires Java 17 or greater. If you download one of the IGV versions that does not include Java, make sure you have Java 17 installed and in your PATH.

There is also a web app which is just a web page: https://igv.org/app/
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

November 25, 2024 - 10:15 AM

Hi Eric,

Wapt itself doesn't request privilege escalation, but poorly coded software does. Indeed, there are still quite a few cases where developers don't take into account that a secure session doesn't require local administrator privileges.

As Jean-Charles mentioned, it's probably the Java update that's causing the problem. The Wapt package explicitly disables the update to avoid unwanted pop-ups and allows the system administrator to control updates more precisely, preventing a business application from crashing due to a dependency update that was automatically installed without any warning.

Another possible cause of the pop-up is a request by the application to open a network port. In that case, the port opening request needs to be explicitly included in the Wapt package beforehand.

Clearly, application developers aren't helping to create secure workstations. And the current trend is to put everything in the user's AppData, which is even worse... :-)

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Answer