Hello,
is it possible to launch a .bat file that would launch two Antidote MSI packages via WAPT? The goal is that I have users with older versions of Antidote that need updating, but not all of their computers have Antidote installed.
So, I'd like to use WAPT to target the .bat file to the specific computers they need to run.
Is this feasible? Alternatively, could someone create
an Antidote package with: - silent installation
- forced installation within the software settings
- automatic answers to questions?
My .bat file already does all of that
Thanks everyone,
Knpc
Launch a Batch file
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
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
Here is its content
: call start "Antidote" "\\mtsvp-hv-fch-01\Logiciels$\00 - Software Bank\04 - Various Applications\Antidote\Antidote HD v9\Installation Kit\vcredist_x64.exe" /q /norestart
call choice /T 20 /D o (waits for installation to finish)
call start "Antidote" "\\mtsvp-hv-fch-01\Logiciels$\00 - Software Bank\04 - Various Applications\Antidote\Antidote HD v9\Installation Kit\vcredist_x86.exe" /q /norestart
call choice /T 20 /D o (waits for installation to finish)
msiexec /qn /i "\\mtsvp-hv-fch-01\Logiciels$\00 - Software Bank\04 - Various Applications Miscellaneous\Antidote\Antidote HD v9\Complete Installation Kit\Antidote9.msi" TRANSFORMS="\\mtsvp-hv-fch-01\Software$\00 - Software Bank\04 - Miscellaneous Applications\Antidote\Antidote HD v9\Installation Kit\Network.mst"
msiexec /qn /i "\\mtsvp-hv-fch-01\Software$\00 - Software Bank\04 - Miscellaneous Applications\Antidote\Antidote HD v9\Complete Installation Kit\Antidote9-French-Module.msi"
I separated each line to make it clearer; our network path is quite long.
(Comment in parentheses)
Thank you
: call start "Antidote" "\\mtsvp-hv-fch-01\Logiciels$\00 - Software Bank\04 - Various Applications\Antidote\Antidote HD v9\Installation Kit\vcredist_x64.exe" /q /norestart
call choice /T 20 /D o (waits for installation to finish)
call start "Antidote" "\\mtsvp-hv-fch-01\Logiciels$\00 - Software Bank\04 - Various Applications\Antidote\Antidote HD v9\Installation Kit\vcredist_x86.exe" /q /norestart
call choice /T 20 /D o (waits for installation to finish)
msiexec /qn /i "\\mtsvp-hv-fch-01\Logiciels$\00 - Software Bank\04 - Various Applications Miscellaneous\Antidote\Antidote HD v9\Complete Installation Kit\Antidote9.msi" TRANSFORMS="\\mtsvp-hv-fch-01\Software$\00 - Software Bank\04 - Miscellaneous Applications\Antidote\Antidote HD v9\Installation Kit\Network.mst"
msiexec /qn /i "\\mtsvp-hv-fch-01\Software$\00 - Software Bank\04 - Miscellaneous Applications\Antidote\Antidote HD v9\Complete Installation Kit\Antidote9-French-Module.msi"
I separated each line to make it clearer; our network path is quite long.
(Comment in parentheses)
Thank you
You simply need to generate the package using the command `wapt build-package`
Go to your development folder and in your file you will find setup.py
Add your various MSI installation lines and you're all set
Go to your development folder and in your file you will find setup.py
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
run(r'"\\mtsvp-hv-fch-01\Logiciels$\00 - Banque de logiciels\04 - Applications Diverses\Antidote\Antidote HD v9\Kit d'installation\vcredist_x64.exe" /q /norestart"')
Thanks for your reply.
Do I generate the package from the batch file, or does wapt build-package not use a file to create the package?
each line have to start with RUN?
Can I also use `choice /T 20 /D o` as the `run` command?
Will they create the uninstallation keys during installation?
I could also create separate packages for vcredist and then one for Antidote if that's better.
Thanks,
Knpc.
PS: Are there any ready-made packages for vcredist 2013 32-bit and 64-bit?
Do I generate the package from the batch file, or does wapt build-package not use a file to create the package?
each line have to start with RUN?
Can I also use `choice /T 20 /D o` as the `run` command?
Will they create the uninstallation keys during installation?
I could also create separate packages for vcredist and then one for Antidote if that's better.
Thanks,
Knpc.
PS: Are there any ready-made packages for vcredist 2013 32-bit and 64-bit?
Code: Select all
Je génère le paquet a partir du fichier bat ou wapt build-package n'utilise pas de fichier pour faire le paquet ?Code: Select all
chaque ligne doit commencer par un RUN ?Code: Select all
est ce que je peux mettre aussi choice /T 20 /D o en run ?Code: Select all
Pour les clef de désinstallation ils vont les créer lors des installations ?Code: Select all
Je peux aussi faire des paquets séparé pour les vcredist puis en faire un pour antidote si c'est mieuxCode: Select all
PS : existe t il des paquets tout pret pour les vcredist 2013 32 et 64 bits ?I strongly advise you to read the documentation which explains a few details.
A timeout is pointless on WAPT; the packages install one after the other.
I gave you the beginning of the command. Normally, you have to specify the path to the executable.
But as I said before, everything is explained in the documentation.
I gave you the beginning of the command. Normally, you have to specify the path to the executable.
But as I said before, everything is explained in the documentation.
