How to install Opentap Package to a specified diectory?

How to install Opentap Package to a specified diectory? I use the following code to install, as a result, the plugin is installed into the exe directory:

        var action = new PackageInstallAction()
        {
            Packages = new[] { "WpfApp23" },
            Version = pkgs[0].Version.ToString(),
            Force = false
        };

        CancellationToken ct = new CancellationToken();
        TapThread.Start(() =>
        {
            rs = action.Execute(ct);
        });

Hi @allen,

You can set Target for the package install action:

var action = new PackageInstallAction()
        {
            Packages = new[] { "WpfApp23" },
            Version = pkgs[0].Version.ToString(),
            Force = false,
            Target="myFolder"
        };