The search returned 45 results

by adgm11
May 12, 2023 - 7:49 PM
Forum: WAPT Packages
Subject: Uninstalling a program from the uninst.exe file
Answers: 2
Views : 2480

Re: Uninstalling a program from the uninst.exe file

I found a command that works
: `def install():
run(r'start "c:\program files (x86)\Usbfix\Un-usbfix.exe"')`.

But I'd like to be able to specify that the uninstallation should only be applied if the `un-usbfix` file exists. Because if the program has already been uninstalled, I get an error message like...
by adgm11
May 10, 2023 - 6:17 PM
Forum: WAPT Packages
Subject: Uninstalling a program from the uninst.exe file
Answers: 2
Views : 2480

uninstall a program from the uninst.exe file

Hello,
I want to uninstall USBFix from all my computers.
The command `run(r'%programfiles%\usbfix\un-usbfix.exe')` does nothing.
Any ideas?
by adgm11
January 20, 2023 - 11:13
Forum: WAPT Packages
Subject: [SOLVED] PSinfo error
Answers: 3
Views : 2745

Re: [SOLVED] PSinfo error

I'm answering my own question; I found the information I was looking for and how to access it easily.
In fact, in the "hardware inventory" tab, you need to type "version" in the search bar.
In the "host_info" > "windows_product_infos" submenu, select the "windows_version" or "windows..." line.
by adgm11
January 20, 2023 - 10:43
Forum: WAPT Packages
Subject: [SOLVED] PSinfo error
Answers: 3
Views : 2745

Re: [SOLVED] PSinfo error

Thanks for the clarification.
Indeed, the Windows version appears in the WAPT console under the Hardware Inventory tab, then win32_volume > win32_operati,gSystem>version.

Is there a way to retrieve this information for each workstation by grouping it into a file so I know which workstations I...
by adgm11
January 7, 2023 - 4:01 PM
Forum: WAPT Packages
Subject: [SOLVED] PSinfo error
Answers: 3
Views : 2745

[SOLVED] PSinfo error

Hello,
I'm trying to deploy a package that allows me to find out the Windows version on my machines by creating a shared text file.
The package is:
`def install():
run(r'psinfo -accepteula "kernel build number" >> u:\winver.txt')`

but I'm getting this error in `wapt
returned non-zero ...`
by adgm11
December 17, 2022 - 12:31 AM
Forum: WAPT Packages
Subject: [SOLVED] LibreOffice installation error
Answers: 2
Views : 2666

Re: LibreOffice installation error

It's finally resolved; I just had to restart the PC and everything installed. There are dependencies that require restarting. It's better to let the installation complete automatically by shutting down the PC, rather than forcing the installation while the PC is on
by adgm11
December 15, 2022 - 6:03 PM
Forum: WAPT Packages
Subject: [SOLVED] LibreOffice installation error
Answers: 2
Views : 2666

[SOLVED] LibreOffice installation error

Hello,
I'm getting errors installing LibreOffice. Does anyone know what the problem might be?
I downloaded the package from the wapt online repository: tis-libreoffice-fresh


Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4035, in install_wapt ...
by adgm11
September 4, 2022 - 1:51 PM
Forum: WAPT Packages
Subject: delprof delete several folders except certain ones
Answers: 1
Views : 2460

delprof delete several folders except for certain ones

Hello,
I'm looking for a way to delete all user profiles in c:\users except for admin, public, and default.
I know the remove_tree command, but not one that might add exceptions.
Is it possible to do this?
by adgm11
August 30, 2022 - 2:48 PM
Forum: WAPT Packages
Subject: Unable to uninstall Microsoft apps
Answers: 2
Views : 2538

Re: Unable to uninstall Microsoft apps

wapt 2.2.1
Actually, it's quite random; it seems you have to force the installation for it to remove more apps the second time.
And I'm not sure if this applies to all users already logged in or not, or if a new domain user is logging in for the first time...
by adgm11
August 30, 2022 - 1:53 PM
Forum: WAPT Packages
Subject: Creating a package to delete user profiles
Answers: 1
Views : 1825

creating a package to delete user profiles

Hello
, I have a PowerShell command to delete user profiles except for admin accounts. However, after the task completes correctly and deletes all the specified profiles, there are errors related to "Remove-CimInstance access denied".
The package is...