I'm trying to get the version of an installed package so I can programmaticaly uninstall it using PackageManagerCLI.exe (Utility for managing packages located in the CODESYS install folder).
The PackageManagerCLI utility requires me to pass in the version to uninstall the package.
I was using librarymanager.get_installed_package_version() and searching for the library that is installed with my package. From that I would pull the version number. I would then assume the library to have the same version as the installed library.
All this feels funky, If I could just add to my script a call to uninstall a package with what ever version it found that would help a lot.
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to get the version of an installed package so I can programmaticaly uninstall it using PackageManagerCLI.exe (Utility for managing packages located in the CODESYS install folder).
The PackageManagerCLI utility requires me to pass in the version to uninstall the package.
I was using librarymanager.get_installed_package_version() and searching for the library that is installed with my package. From that I would pull the version number. I would then assume the library to have the same version as the installed library.
All this feels funky, If I could just add to my script a call to uninstall a package with what ever version it found that would help a lot.
Thank you