Managing already installed programs

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
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
Locked
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

September 1, 2018 - 5:57 PM

- Installed WAPT version (Enterprise 1.6.2.1)
- Server OS (Linux) and version (Stretch)
- Administration/package creation machine OS (Windows 10)

Hello,

I'm looking for a solution to manage workstations with our business software (Accounting, HR, Inventory, Office suite, etc.). Is it possible for WAPT to avoid reinstalling all the software already present on the workstations, given that it wasn't originally installed by WAPT?

I created the packages for the business software for new installations, but when I deploy the WAPT agent on workstations already present in the network, WAPT reinstalls the software.

I looked at the command that allows me to see if the folder is present in Program Files or the registry key, but I wanted to see if you had another method.

Thank you.
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

September 5, 2018 - 3:46 PM

The "install_msi_if_needed" or "install_exe_if_needed" commands serve precisely this purpose.
They check the registry for the presence of the specified uninstallation key and the currently installed version, and only initiate an actual installation of the setup if the key is not present or the version is lower than the required one.
Tranquil IT
User avatar
Mathieu
Messages: 91
Registration: August 18, 2016 - 10:24

September 5, 2018 - 6:53 PM

Okay, I'll check.

I have some custom packages with the `run` command; that's probably why it's not working.
- WAPT 2.2.3.12463 Enterprise
- Debian 9.9
- Windows 10 21H2 & Windows 11 22h2
Locked