i want to get the folder name of a path in the registry, not the key value!
I can already read a key value, so how do i read a folder value?
I want it because i need the version nr. of libreOffice,its only stored in the folder name.
def getRegistryKeyValue (self, root, dir, key):
currentKey = winreg.OpenKey(root, dir)
currentVersion, valuetype = winreg.QueryValueEx(currentKey, key)
key = self.getRegistryKeyFolder(winreg.HKEY_LOCAL_MACHINE, "SOFTWARE\\LibreOffice")