The search returned 10 results

by Root
January 7, 2020 - 1:13 PM
Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
Subject: [SOLVED] - Incrementing the version of a package group
Answers: 2
Views : 2654

Re: Incrementing the version of a package group

Thank you for your quick reply, I'll try that.

For my packages, I don't use the software version number (for example, VLC 3.0.8) but the package version number (for example, 6, if I've updated VLC 6 times).
I adopted this practice because it allowed me to deploy an older version...
by Root
January 7, 2020 - 11:27
Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
Subject: [SOLVED] - Incrementing the version of a package group
Answers: 2
Views : 2654

[SOLVED] - Incrementing the version of a package group

Hello,
I migrated my WAPT server at the end of 2019. Consequently, I rebuilt a large portion of my packages...
The PCs that used the old server had a package group named wapt-all which had reached version 28.

Today I notice that the package I rebuilt (wapt-all) is no longer...
by Root
November 19, 2019 - 09:47
Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
Subject: Automatically adding a PC to a group after inventory
Answers: 0
Views : 7347

Automatically add a PC to a group after inventory

Hello everyone,
I just reinstalled WAPT and my inventory is slowly being populated. When a new machine is added to the inventory, it isn't assigned to any package group.
Is there a way to automatically assign a group as soon as a machine is added?

WAPT Server version: 1.7.4
WAPT version...
by Root
July 5, 2018 - 10:07
Forum: WAPT Packages
Subject: [RESOLVED] Skype Standard Version - Sharing and Improvements
Answers: 3
Views : 5324

Re: Skype standard version - sharing and improving the code


Without using powershell scripts:


uninstallkey=[]

def install():
install_exe_if_needed('SkypeSetupFull.exe',silentflags='/VERYSILENT /SP- /NOCANCEL /NORESTART /SUPPRESSMSGBOXES /NOLAUNCH',
killbefore=['Skype.exe'],key='Skype_is1',min_version='8.21')
remove_desktop_shortcut('Skype ...
by Root
July 3, 2018 - 1:38 PM
Forum: WAPT Packages
Subject: [RESOLVED] Skype Standard Version - Sharing and Improvements
Answers: 3
Views : 5324

[RESOLVED] Skype Standard version - sharing and improvements

Hello,
we use user accounts that don't have admin rights on the PCs.
And with each Skype update, users were prompted to log in and authorize the software to perform the update.
My workaround was to delete the .exe file that downloads the update:

I'm sharing my solution...
by Root
February 1, 2018 - 1:28 PM
Forum: WAPT Packages
Subject: [SOLVED] Packet Flash Player 27.0.0.170-1
Answers: 2
Views : 3262

Re: Packet Flash Player 27.0.0.170-1

Flash 27 is outdated; you can now deploy Flash 28.
To download it, use this link:
https://fpdownload.adobe.com/get/flashplayer/distyfp/current/win/install_flash_player_28_active_x.msi

If it's helpful, here's the code for my package: https://pastebin.com/2iR9PdDM
My...
by Root
November 14, 2017 - 10:03
Forum: WAPT Server
Subject: Application configuration (CCleaner)
Answers: 5
Views : 5117

Re: Configuring applications (ccleaner)

Hi,

I would personally look in the publisher's documentation: https://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/using-ccleanerini-to-modify-how-ccleaner-runs & https://www.piriform.com/docs/ccleaner/advanced-usage/command-line-parameters
Provided that the INI file...
by Root
August 10, 2017 - 11:43
Forum: WAPT Packages
Subject: PC shuts down before scripts finish
Answers: 4
Views : 4338

Re: PC shuts down before scripts finish


Hi,
I'm successfully using:
`cmd="c:\\Windows\\System32\\WindowsPowershell\\v1.0\\powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File c:\\tmp\\Win10.ps1"` `
proc = subprocess.Popen(cmd,shell=True,stdout=subprocess.PIPE)
` `proc.wait()

` The `proc.wait()` command does the job correctly...
by Root
August 3, 2017 - 09:13
Forum: WAPT Packages
Subject: PC shuts down before scripts finish
Answers: 4
Views : 4338

Re: PC shuts down before scripts finish


Topic moved.

Regarding your question: https://www.wapt.fr/fr/doc/Frequent-problem/index.html#erreur-timed-out-after-seconds-with-output-600-0

For your function, you could write it like this:


os.chdir(r"C:\dossier0\dossier1")
run("setup.bat",timeout=1200)


Happy package development...
by Root
August 2, 2017 - 2:23 PM
Forum: WAPT Packages
Subject: PC shuts down before scripts finish
Answers: 4
Views : 4338

The PC shuts down before the scripts finish

Hello,
I'm using a Python script to launch other scripts (often batch or ps1 files).
In my package, setup.py ends with the instruction:

os.system("cd C:\folder0\folder1 && start setup.bat").

In my batch file, I run wmic (uninstall) commands and use other scripts...