The search returned 10 results

by vandatt
October 11, 2019 - 4:40 PM
Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
Subject: [RESOLVED] WAPT console migration
Answers: 1
Views : 2683

[SOLVED] WAPT console migration

Hello,

As part of a domain migration, I need to migrate the administration console to the new domain. I retrieved the private key from the console on the old domain and tried to use it on the new console on the new domain (configuration...
by vandatt
June 4, 2019 - 12:54
Forum: WAPT Packages
Subject: session_setup & copying user profile file
Answers: 4
Views : 5388

Re: session_setup & copying user profile file

Hello,

Here is my latest attempt:

def session_setup():
util=get_current_user()

def install():
chemin = ('c:\\Users\\'+util+'\\AppData\\Roaming\XX')
copytree2('C\\Users\Default\\Appdata\\Roaming\\XX',chemin)
by vandatt
June 4, 2019 - 09:33
Forum: WAPT Packages
Subject: session_setup & copying user profile file
Answers: 4
Views : 5388

session_setup & copy user profile file

Hello,

I've been trying for a few days to copy a folder (after a software installation) to the user profile of the person logged into a computer.
I've tried using `%get_current_user()` or `%username%`, but neither command is interpreted.

Has anyone else...
by vandatt
April 26, 2019 - 8:50 AM
Forum: WAPT Server
Subject: Console update problem
Answers: 1
Views : 7872

console update problem

Hello,

I'm having trouble with the console displaying information. I recently cleaned up my package groups and created new ones. However, when I go to Inventory --> More Options --> Groups, I still see groups that have been deleted, and I don't...
by vandatt
April 4, 2019 - 12:16
Forum: WAPT Packages
Subject: [SOLVED] Launching a batch or PowerShell script
Answers: 12
Views : 27810

Re: Run a batch or powershell script

Good morning,

I'm in the same boat as you. I can deploy my .bat file via Wapt. It deploys successfully on my client machines, but Wapt still returns an error...

My script is as follows:

Code: Select all

def session_setup():

                 run(r'script.bat');
by vandatt
April 4, 2019 - 9:36 AM
Forum: WAPT Packages
Subject: [SOLVED] Launching a batch or PowerShell script
Answers: 12
Views : 27810

Re: Run a batch or powershell script

Hello,

sorry to revive this old thread, but despite the explanations on the site and in this conversation, I can't seem to deploy a .bat script. Can anyone help me?

Regards
by vandatt
March 5, 2019 - 09:14
Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
Subject: Deployment of a "homemade" executable
Answers: 4
Views : 6259

Re: Deployment of a "homemade" executable

Hello,
A huge thank you to all of you for your help! :D
Here is part of my batch script converted to Python:

def install():
registry_set(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate', r'WUServer', "[IP_address]", REG_SZ)
registry_set(HKEY_LOCAL_MACHINE, r ...
by vandatt
February 25, 2019 - 8:54 AM
Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
Subject: Deployment of a "homemade" executable
Answers: 4
Views : 6259

Re: Deployment of a "homemade" executable

Hi Vincent,

Here's the link I'm referring to:

https://www.wapt.fr/fr/doc/wapt-create-packages/session-setup/index.html

Perhaps I misunderstood? I'm discovering your helpful solution more and more each day :D
How do you deploy such a script that modifies registry keys...?
by vandatt
February 22, 2019 - 11:14
Forum: WAPT usage (Console, Agent) / WAPT usage (Console, Agent)
Subject: Deployment of a "homemade" executable
Answers: 4
Views : 6259

deployment of a "homemade" executable

Hello,

I want to deploy a batch file to all the PCs in my network. However, I know that deploying a batch script isn't possible (only .exe and .msi files). So I converted my batch file to an .exe. It works perfectly when I run it locally, but when I try to...
by vandatt
November 30, 2018 - 11:50
Forum: WAPT Packages
Subject: Installing a package
Answers: 1
Views : 3538

Installing a package

Hello,
I'm setting up a WAPT server and I want to deploy software that isn't in the WAPT library. I've followed the technical documentation and used PyScript, but when I try to right-click on "i-build-upload", I get an error...