<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Get Version of Installed Package</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f5bb8e3881/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f5bb8e3881/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/f5bb8e3881/</id><updated>2020-02-27T14:54:01.926000Z</updated><subtitle>Recent posts to Get Version of Installed Package</subtitle><entry><title>Get Version of Installed Package</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f5bb8e3881/?limit=25#88d7" rel="alternate"/><published>2020-02-27T14:54:01.926000Z</published><updated>2020-02-27T14:54:01.926000Z</updated><author><name>MRubio</name><uri>https://forge.codesys.com/u/mrubio/</uri></author><id>https://forge.codesys.com38f15807dafa550ac9111329a0343497691ee83a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;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).    &lt;/p&gt;
&lt;p&gt;The PackageManagerCLI utility requires me to pass in the version to uninstall the package.    &lt;/p&gt;
&lt;p&gt;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.   &lt;/p&gt;
&lt;p&gt;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.   &lt;/p&gt;
&lt;p&gt;Thank you  &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>