generation install script with dependency resolution