Page 1 of 1

Downgrade Flash Player

Published: January 19, 2021 - 09:06
by gaelds
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.

Re: Downgrading Flash Player

Published: January 19, 2021 - 1:43 PM
by gaelds
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?

Re: Downgrading Flash Player

Published: January 19, 2021 - 3:15 PM
by Gaetan
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.

Re: Downgrading Flash Player

Published: January 19, 2021 - 3:56 PM
by gaelds
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...

Re: Downgrading Flash Player

Published: January 20, 2021 - 7:04 PM
by Gaetan
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.