Downgrade Flash Player

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
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

January 19, 2021 - 09:06

Hello,
in order to be able to use important Flash applications again on our network, I need to downgrade the Flash Player version from 32.0.0.465 to 32.0.0.363, for example. Can you tell me how to do this? I removed the 465 package, but is it absolutely necessary to uninstall the package everywhere before reinstalling version 363?
I tried putting a fake version 32.0.0.999 in the control file, but I don't know how to disable the verification of the installed version.
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

January 19, 2021 - 1:43 PM

Does the instruction "WAPT.remove(package name)" uninstall the package or simply remove it from the list to be installed?
Perhaps I could create an uninstallation package that uninstalls version 465 with WAPT.remove, then reinstalls version 363 of the package?
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

January 19, 2021 - 3:15 PM

Hello,
you need to create a package that uninstalls the incorrect version and installs the correct one.
But first, you'll need to create another package that removes the incorrect package from the system.
That's what WAPT.remove(packagename) does; it removes the package but doesn't uninstall it.
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

January 19, 2021 - 3:56 PM

Thank you!
Do you think it would be possible to run these three commands sequentially within the "dst-uninstall-flashplayer465" package?

WAPT.remove('dst-flashplayer')
WAPT.forget_packages('dst-flashplayer')
WAPT.install('dst-flashplayer')

I'm not sure if the `forget_packages` command is necessary after the `remove` command, by the way...
User avatar
Gaetan
Messages: 169
Registration: August 8, 2019 - 10:16
Location: Toulouse

January 20, 2021 - 7:04 PM

This should work.
With pauses in the middle.

The `remove` command uninstalls the package but doesn't forget it.
If it doesn't forget, it can be reinstalled via dependencies.
Locked