def read_installer(myinstaller, log):
    """
    reads the text of the current installer script and returns it as a string
    """
    log.info(f"Reading current installer from {myinstaller}...")
    with open(myinstaller, "r") as f:
        text = f.read()
    log.info(f"\t=> found {len(text)} characters")
    return text