Skip to content

Conversation

Copy link

Copilot AI commented Oct 22, 2025

Overview

This PR updates the Setup_2.ps1 script to download OpenVINO notebooks from the latest branch instead of the specific 2025.3 version branch.

Changes Made

Updated three sections in Windows_Software_Installation/WingetGUI_Installer/Setup_2.ps1:

  1. Repository definition (line 270): Changed the download URL from 2025.3.zip to latest.zip and updated the filename to openvino_notebooks-latest.zip
  2. Extraction rename logic (lines 428-431): Updated to look for openvino_notebooks-latest folder instead of openvino_notebooks-2025.3
  3. Cleanup section (line 831): Updated the zip cleanup array to reference openvino_notebooks-latest.zip instead of 2025.3.zip

Benefits

  • Ensures users always get the latest version of OpenVINO notebooks without requiring manual updates to the script
  • Simplifies maintenance by removing the need to update version numbers in multiple places
  • Aligns with best practices for development kit installations that should use the latest stable release

Testing

  • PowerShell syntax validation passed
  • All three changes are consistent and coordinate properly for download → extraction → cleanup workflow
Original prompt

Update OpenVINO Notebooks Download Link and Filename

Update the Setup_2.ps1 script to change the OpenVINO notebooks download from the 2025.3 branch to the latest branch.

Changes Required

Make the following updates in Windows_Software_Installation/WingetGUI_Installer/Setup_2.ps1:

  1. Line 167 - Update repository definition in the $repos array:

    # Change from:
    @{ Name = "openvino_notebooks"; Uri = "https://github.com/openvinotoolkit/openvino_notebooks/archive/refs/heads/2025.3.zip"; File = "2025.3.zip" },
    
    # To:
    @{ Name = "openvino_notebooks"; Uri = "https://github.com/openvinotoolkit/openvino_notebooks/archive/refs/heads/latest.zip"; File = "openvino_notebooks-latest.zip" },
  2. Line 311 - Update extraction rename logic:

    # Change from:
    "openvino_notebooks"     { 
        # FIXED: Updated from 2025.2 to 2025.3
        if (Test-Path "openvino_notebooks-2025.3") {
            Rename-Item "openvino_notebooks-2025.3" $name 
        }
    }
    
    # To:
    "openvino_notebooks"     { 
        if (Test-Path "openvino_notebooks-latest") {
            Rename-Item "openvino_notebooks-latest" $name 
        }
    }
  3. Line 605 - Update cleanup section:

    # Change from:
    $zipFiles = @("2025.3.zip", "master-build_deploy.zip", "ollama-ipex-llm.zip", "openvino_genai.zip", "ai-pc-samples.zip", "2024.4.0.zip")
    
    # To:
    $zipFiles = @("openvino_notebooks-latest.zip", "master-build_deploy.zip", "ollama-ipex-llm.zip", "openvino_genai.zip", "ai-pc-samples.zip", "2024.4.0.zip")

Why These Changes

  • The download URL should point to the latest branch instead of a specific version (2025.3)
  • The extracted zip file will be named openvino_notebooks-latest.zip instead of 2025.3.zip
  • The extracted folder will be openvino_notebooks-latest which needs to be renamed to openvino_notebooks
  • The cleanup section needs to reference the correct zip filename

File to Modify

  • Windows_Software_Installation/WingetGUI_Installer/Setup_2.ps1

Testing

After making these changes, verify that:

  1. The script downloads from the correct URL
  2. The zip file is named correctly
  3. The extraction and renaming works properly
  4. The cleanup removes the correct zip file

This pull request was created as a result of the following prompt from Copilot chat.

Update OpenVINO Notebooks Download Link and Filename

Update the Setup_2.ps1 script to change the OpenVINO notebooks download from the 2025.3 branch to the latest branch.

Changes Required

Make the following updates in Windows_Software_Installation/WingetGUI_Installer/Setup_2.ps1:

  1. Line 167 - Update repository definition in the $repos array:

    # Change from:
    @{ Name = "openvino_notebooks"; Uri = "https://github.com/openvinotoolkit/openvino_notebooks/archive/refs/heads/2025.3.zip"; File = "2025.3.zip" },
    
    # To:
    @{ Name = "openvino_notebooks"; Uri = "https://github.com/openvinotoolkit/openvino_notebooks/archive/refs/heads/latest.zip"; File = "openvino_notebooks-latest.zip" },
  2. Line 311 - Update extraction rename logic:

    # Change from:
    "openvino_notebooks"     { 
        # FIXED: Updated from 2025.2 to 2025.3
        if (Test-Path "openvino_notebooks-2025.3") {
            Rename-Item "openvino_notebooks-2025.3" $name 
        }
    }
    
    # To:
    "openvino_notebooks"     { 
        if (Test-Path "openvino_notebooks-latest") {
            Rename-Item "openvino_notebooks-latest" $name 
        }
    }
  3. Line 605 - Update cleanup section:

    # Change from:
    $zipFiles = @("2025.3.zip", "master-build_deploy.zip", "ollama-ipex-llm.zip", "openvino_genai.zip", "ai-pc-samples.zip", "2024.4.0.zip")
    
    # To:
    $zipFiles = @("openvino_notebooks-latest.zip", "master-build_deploy.zip", "ollama-ipex-llm.zip", "openvino_genai.zip", "ai-pc-samples.zip", "2024.4.0.zip")

Why These Changes

  • The download URL should point to the latest branch instead of a specific version (2025.3)
  • The extracted zip file will be named openvino_notebooks-latest.zip instead of 2025.3.zip
  • The extracted folder will be openvino_notebooks-latest which needs to be renamed to openvino_notebooks
  • The cleanup section needs to reference the correct zip filename

File to Modify

  • Windows_Software_Installation/WingetGUI_Installer/Setup_2.ps1

Testing

After making these changes, verify that:

  1. The script downloads from the correct URL
  2. The zip file is named correctly
  3. The extraction and renaming works properly
  4. The cleanup removes the correct zip file

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update OpenVINO notebooks download link and filename Update OpenVINO Notebooks download link from 2025.3 to latest branch Oct 22, 2025
Copilot AI requested a review from praveenkk123 October 22, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants