Wapt: 1.8.2 (Linux)
Infrastructure: Windows 10
Hello,
I'm having trouble managing updates in the packages I create.
When I modify a package, it reinstalls on client machines.
I've tried making changes in the "update-package" section, but they're not being applied.
My question is:
How can I make it so that updating a package version triggers an update and not a new installation?
Thanks in advance!
Tom
Problem with package update functionality
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
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
We need to be more specific about the problem you're experiencing... Most software updates itself by running the installer, which detects the existing installation and updates it. A WAPT agent will download and install a new package if it has a version number. The `update_package()` function is only useful for updating the package itself, not for updating workstations.
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Hello.
In my case, I typically have a package with folders containing files (executables and others), as well as PowerShell code.
When I update my package with new files, I don't want it to go through the entire installation process again, but just perform the updates.
However, I have the impression that I need to manually configure the "install" function to determine if the files are already installed or not.
If that's the case, it's really unfortunate that the agent can't tell the package: "This is an update, not an install..."
I find this quite strange coming from a system that relies so heavily on version numbers.
In my case, I typically have a package with folders containing files (executables and others), as well as PowerShell code.
When I update my package with new files, I don't want it to go through the entire installation process again, but just perform the updates.
However, I have the impression that I need to manually configure the "install" function to determine if the files are already installed or not.
If that's the case, it's really unfortunate that the agent can't tell the package: "This is an update, not an install..."
I find this quite strange coming from a system that relies so heavily on version numbers.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
Hello,
there are so many different scenarios that it would be difficult to automatically guess what the system administrator wants. SetupHelpers provide a whole suite of tools to easily manage this in a deterministic way. Personally, as a system administrator, I prefer deterministic behavior to a flawed pseudo-AI algorithm that tries to guess what I want to do...
If you're thinking of a .deb system, WAPT's operation is quite different because of the subject matter. Most of the time, we package installers, not individual files, unlike a .deb package.
Sincerely,
Denis
there are so many different scenarios that it would be difficult to automatically guess what the system administrator wants. SetupHelpers provide a whole suite of tools to easily manage this in a deterministic way. Personally, as a system administrator, I prefer deterministic behavior to a flawed pseudo-AI algorithm that tries to guess what I want to do...
If you're thinking of a .deb system, WAPT's operation is quite different because of the subject matter. Most of the time, we package installers, not individual files, unlike a .deb package.
Sincerely,
Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Hello,
have you considered separating your software from the data you want to pass to it?
The two can be different WAPT packages with their own lifecycles, with your data package becoming a dependency for your software.
The documentation might give you some ideas.
have you considered separating your software from the data you want to pass to it?
The two can be different WAPT packages with their own lifecycles, with your data package becoming a dependency for your software.
The documentation might give you some ideas.
Vincent CARDON
Tranquil IT
Tranquil IT
Hi Vincent
, yes, it's possible, but I'd rather avoid having multiple packages.
In the meantime, I've modified the installer to check certain things; depending on the results, it will either perform an installation or an update.
Thanks anyway.
, yes, it's possible, but I'd rather avoid having multiple packages.
In the meantime, I've modified the installer to check certain things; depending on the results, it will either perform an installation or an update.
Thanks anyway.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Consoles: Windows 10 & 11
Infrastructure: Windows
Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
