The search returned 6 results

by Carla Scardigli
June 19, 2024 - 2:16 PM
Forum: WAPT Packages
Subject: Pop-up to restart
Answers: 5
Views : 3751

Re: Pop-up to restart

Hello,

I'm not sure I understand how to use this code.
Should I put my pop-up code in the "run_session_setup" function? How do I use this function?
What are the "get_active_sessions" and "start_interactive_process" arguments for?
by Carla Scardigli
June 19, 2024 - 12:11
Forum: WAPT Packages
Subject: Pop-up to restart
Answers: 5
Views : 3751

Re: Pop-up to restart

Hello,

indeed, adding the "pop-up" function to "session_setup" works.
However, what we want to do is uninstall an application from the machine, and then, once it's uninstalled, we want to ask the user if they want to restart the machine using the pop-up.

Here's...
by Carla Scardigli
June 14, 2024 - 09:28
Forum: WAPT Packages
Subject: Pop-up to restart
Answers: 5
Views : 3751

Pop-up to restart

Hello,

is it possible to implement a pop-up system within a WAPT package?
We would like a pop-up to appear on the user's screen.
This pop-up would restart the machine. The user must be able to interact with it.

Here is an example of what we want:
pop-up...
by Carla Scardigli
May 6, 2024 - 08:13
Forum: WAPT Packages
Subject: Modifying the machine package control file
Answers: 4
Views : 4652

Re: Modifying the machine package control file

Hello,

Accidental uninstallation is virtually impossible in our processes.
We want to be able to remove all dependencies of the `machine` package; indeed, when we clean our repository, packages dependent on the `machine` package return an error...
by Carla Scardigli
May 3, 2024 - 12:05
Forum: WAPT Packages
Subject: Modifying the machine package control file
Answers: 4
Views : 4652

Re: Modifying the machine package control file

Hello,

This request is related to the request here: https://forum.tranquil.it/viewtopic.php?t=3833

We would like a script to remove the dependency of the machine package when a package has successfully been installed on the machine (status OK).
The script that would perform this removal could be...
by Carla Scardigli
April 30, 2024 - 08:42
Forum: WAPT Packages
Subject: Modifying the machine package control file
Answers: 4
Views : 4652

Modifying the machine package control file

Hello,

I would like to be able to modify the "control" file of the machine package within a WAPT package.
Currently, I can display it.
Here is the code that displays it:


def install():

w = common.Wapt()
package = PackageEntry(w.host_uuid)
# Retrieves the control files of ...