CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Nov 12, 2019 8:46 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Mar 08, 2019 1:10 am 
Offline

Joined: Fri Dec 07, 2018 12:34 am
Posts: 8
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). :shock:

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. :lol:

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 :D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited