Page 1 of 1

[SOLVED] Installing an older version on a computer

Published: July 5, 2018 - 8:30 AM
by mohondit
Hello,

I'd like to install an older version of a software program I use. I successfully imported it into my private repository, but when I go to the computer where I want to install this version, it doesn't appear, even though it's in my repository. I only see the latest version of the software.

Perhaps I'm doing something wrong. Do you have any suggestions, please?

Thank you in advance.

Re: Installing an older version on a computer

Published: July 5, 2018 - 5:59 PM
by dcardon
Hello Mohondit,
mohondit wrote: July 5, 2018 - 8:30 AM I want to install an older version of a program I use. I was able to import it into my private repository, but when I go to the machine where I want to install this version of the program, it doesn't appear, even though it's in my repository. I only see the latest version of the program.

Perhaps I'm doing something wrong. Do you have any suggestions, please?
In the local repository, there's a checkbox that's checked by default to display only the latest available version. If you uncheck it, you should be able to see your package.

It is possible to install an old package on a machine, but you have to be careful, because at the next update of the agent's package list, it will want to update said package, this is the standard operation of WAPT.

There is partial support for version constraint in dependency management (e.g., saying that software depends on tis-java<7.0.0), but this is not supported in the agent's overall calculation engine.

The simplest way to manage this currently is to change the package name to prevent it from updating. For example, in the TIS repository, there are packages `tis-java6`, `tis-java7`, and `tis-java8`, with the `tis-java` package pointing to `tis-java8` by default. If you need Java 6 for a very old and outdated business application, you can add it as a dependency.

Sincerely,

Denis

Re: Installing an older version on a computer

Published: July 6, 2018 - 9:29 AM
by mohondit
Good morning,
dcardon wrote: In the local repository, there's a checkbox that's checked by default to only display the latest available version. If you uncheck it, you should be able to see your package.
Yes, I unchecked that box, but when I go to my computer to assign the package, only the latest version is displayed.

I'm going to try changing the package name.