← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678017]: App class - check for installed app without running it

 

Question #678017 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678017

Rares Pasca posted a new comment:
Just to be sure i'm searching for the app registry key and version
System name.

def isAlreadyInstalled(lookupRegistryKey):
    consoleLines = os.popen('reg query "' + expectedRegistryKey + "\\" + expectedVersionSystemName + '"').readlines()
    if len(consoleLines) == 0:
        return False
    return True

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.