You can reference VVM method to get installed versions... you can copy that method from the installed script