From 7002b5a510ed970d7afe0ca27617555cba2194c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20=C3=87A=C4=9EDA=C5=9E?= Date: Mon, 29 Dec 2025 16:52:52 +0300 Subject: [PATCH 1/3] Explain how to install an older version of ABP Studio --- docs/en/studio/installation.md | 8 +++++ .../switch-abp-studio-version.ps1 | 33 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 tools/abp-studio-version-switcher/switch-abp-studio-version.ps1 diff --git a/docs/en/studio/installation.md b/docs/en/studio/installation.md index 6f12953f99..6b051b4b5c 100644 --- a/docs/en/studio/installation.md +++ b/docs/en/studio/installation.md @@ -65,3 +65,11 @@ When you see the "New Version Available" window, follow these steps to upgrade A 2. A progress indicator will display the download status. 3. Once the download is complete, a new modal will appear with the "Install and Relaunch" buttons. 4. Click on the "Install and Relaunch" button to complete the installation process. + +## Installing a Specific Version + +If you want to install an older version of ABP Studio, you can download [Abp Studio Version Switcher](https://github.com/abpframework/abp/tree/dev/tools/abp-studio-version-switcher/abp-studio-version-switcher.ps1) script and run it as shown below; + +```bash +./switch-abp-studio-version.ps1 2.0.0 +``` \ No newline at end of file diff --git a/tools/abp-studio-version-switcher/switch-abp-studio-version.ps1 b/tools/abp-studio-version-switcher/switch-abp-studio-version.ps1 new file mode 100644 index 0000000000..a5e1308245 --- /dev/null +++ b/tools/abp-studio-version-switcher/switch-abp-studio-version.ps1 @@ -0,0 +1,33 @@ +param ( + [string]$version = "0.7.6", + [string]$channel = "beta" +) +$installdir = "$env:LOCALAPPDATA\abp-studio\" + +Write-Host "----------------------------------------" +Write-Host "Switching to ABP Studio version $version on channel $channel..." +Write-Host "----------------------------------------" +Write-Host "Installing to $installdir" + + +$url = "https://abp.io/api/abp-studio/download/r/windows/abp-studio-$version-$channel-full.nupkg" +$output = "abp-studio-$version-$channel-full.nupkg" + +$outputPath = "$installdir\packages\$output" + +if (Test-Path $outputPath) { + Write-Host "File $output already exists. Skipping download." +} else { + Write-Host "Downloading $url to $outputPath" + Invoke-WebRequest -Uri $url -OutFile $outputPath +} +Write-Host "----------------------------------------" + +$installdirUpdate = "$installdir\Update.exe" + +Write-Host "Running $installdirUpdate apply --package $outputPath" +Invoke-Expression "$installdirUpdate apply --package $outputPath" + +Write-Host "----------------------------------------" +Write-Host "ABP Studio version $version on channel $channel installed successfully." +Write-Host "----------------------------------------" \ No newline at end of file From e1e1d146c867bc73727686a453f77e0c8fa1b5a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20=C3=87A=C4=9EDA=C5=9E?= Date: Tue, 30 Dec 2025 08:10:30 +0300 Subject: [PATCH 2/3] Suggest AbpDevTools to switch ABP Studio version --- docs/en/studio/installation.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/en/studio/installation.md b/docs/en/studio/installation.md index 6b051b4b5c..2e1d061920 100644 --- a/docs/en/studio/installation.md +++ b/docs/en/studio/installation.md @@ -68,8 +68,4 @@ When you see the "New Version Available" window, follow these steps to upgrade A ## Installing a Specific Version -If you want to install an older version of ABP Studio, you can download [Abp Studio Version Switcher](https://github.com/abpframework/abp/tree/dev/tools/abp-studio-version-switcher/abp-studio-version-switcher.ps1) script and run it as shown below; - -```bash -./switch-abp-studio-version.ps1 2.0.0 -``` \ No newline at end of file +There is no official support for installing an older version of ABP Studio yet. But, if you want to install an older version of ABP Studio, you can use approach explanined here [https://github.com/enisn/AbpDevTools?tab=readme-ov-file#switch-abp-studio-version](https://github.com/enisn/AbpDevTools?tab=readme-ov-file#switch-abp-studio-version) \ No newline at end of file From c7b08487abae39eb9f6731fececb3de19bdcc90e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20=C3=87A=C4=9EDA=C5=9E?= Date: Tue, 30 Dec 2025 08:45:00 +0300 Subject: [PATCH 3/3] Delete not used script --- .../switch-abp-studio-version.ps1 | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 tools/abp-studio-version-switcher/switch-abp-studio-version.ps1 diff --git a/tools/abp-studio-version-switcher/switch-abp-studio-version.ps1 b/tools/abp-studio-version-switcher/switch-abp-studio-version.ps1 deleted file mode 100644 index a5e1308245..0000000000 --- a/tools/abp-studio-version-switcher/switch-abp-studio-version.ps1 +++ /dev/null @@ -1,33 +0,0 @@ -param ( - [string]$version = "0.7.6", - [string]$channel = "beta" -) -$installdir = "$env:LOCALAPPDATA\abp-studio\" - -Write-Host "----------------------------------------" -Write-Host "Switching to ABP Studio version $version on channel $channel..." -Write-Host "----------------------------------------" -Write-Host "Installing to $installdir" - - -$url = "https://abp.io/api/abp-studio/download/r/windows/abp-studio-$version-$channel-full.nupkg" -$output = "abp-studio-$version-$channel-full.nupkg" - -$outputPath = "$installdir\packages\$output" - -if (Test-Path $outputPath) { - Write-Host "File $output already exists. Skipping download." -} else { - Write-Host "Downloading $url to $outputPath" - Invoke-WebRequest -Uri $url -OutFile $outputPath -} -Write-Host "----------------------------------------" - -$installdirUpdate = "$installdir\Update.exe" - -Write-Host "Running $installdirUpdate apply --package $outputPath" -Invoke-Expression "$installdirUpdate apply --package $outputPath" - -Write-Host "----------------------------------------" -Write-Host "ABP Studio version $version on channel $channel installed successfully." -Write-Host "----------------------------------------" \ No newline at end of file