How to limit extension driver installed on specific version of base driver or above?

Liang, Kevin JM 0 Reputation points
2025-03-31T06:48:55.4266667+00:00

If a new version of extension driver has dependency on version of base driver, i.e. requires a specific version of base driver, how to make sure the new extension driver is installed only after the specific version of base driver is installed.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,411 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mark Allen 0 Reputation points
    2025-04-02T14:09:08.0366667+00:00

    Here’s the revised answer with only relevant content:

    To ensure your extension driver installs only after the required version of the base driver is present, you can modify your installation process to check the version of the base driver before allowing the extension driver to install. This can be done by adding a version check in your installation script like this:

    bash
    CopyEdit
    if [ $(check_base_driver_version) -ge "required_version" ]; then
        # Proceed with extension driver installation
    else
        echo "Please install the required base driver version first."
    fi
    

    This script ensures that the extension driver installs only if the correct base driver version is already installed. I hope this helps!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.