Software versions

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
jmeyer
Messages: 43
Registration: March 30, 2015 - 3:15 PM

March 30, 2015 - 3:24 PM

Hello,

I installed WAPT a week ago and created a package for a program from an MSI file.
I found it strange to see a hyphen followed by a number in the version number when creating the package, as this doesn't appear either through Add/Remove Programs or in the list of software installed on the machine in the console by WAPT.
I was also surprised to see that the number after the hyphen changed during a second creation, even though I used the same MSI file.

What does the "-0" at the end of the version number, for example, represent?

Is it possible to check for the presence of a version without considering the software revision?
For example, can a program version "1.5.215" be detected just by the "1.5" to avoid installing a minor revision?

Thank you in advance.
User avatar
Frédéric Bonnier
Messages: 24
Registration: June 23, 2014 - 10:10
Location: Nantes
Contact :

March 30, 2015 - 5:07 PM

Hello,
> What does the "-0" at the end of the version number, for example, correspond to?
Let's take the tis-firefox package 36.0.1-5.

36.0.1 corresponds to the version of Firefox packaged by WAPT
. -5 corresponds to the revision number of the tis-firefox package. With WAPT, software installations can be customized. If packages need to be recreated with different customizations, the software version number must not change, unlike the revision.

> Is it possible to check for the presence of a version without taking the software revision into account?
Yes, it is possible not to install (or to perform another operation) if a specific version is detected. This is done in the package's setup.py file (see the LibreOffice package).



Frédéric Bonnier
Frédéric Bonnier - Tranquil IT Systems.
Display yourself on the WAPT user map by completing the questionnaire.
Discover our service offerings at Tranquil IT Systems and join us on Twitter.
jmeyer
Messages: 43
Registration: March 30, 2015 - 3:15 PM

March 30, 2015 - 5:19 PM

Thank you for this information.
I'll look into the LibreOffice package and see what I can do.

For your information, my problem with version detection is that the software—an antivirus program I won't name—that I want to install uninstalls itself if the MSI file is run a second time.
This is quite annoying because WAPT thinks it has installed it when it has actually uninstalled it.
The software version and package revision double the chances of no longer having the software on the machines. :?
Locked