Firefox Portable 56 Access

if not exist "%FIREFOX_EXE%" ( echo ERROR: firefox.exe not found at %FIREFOX_EXE% pause exit /b 1 )

<# .SYNOPSIS Downloads and sets up Firefox Portable 56.0.2 (classic add-ons support) .DESCRIPTION This script fetches Firefox 56.0.2 from Mozilla's archive, extracts it into a portable folder, creates a dedicated profile directory, and builds a launcher script to run it without touching the system registry or default user profile. .NOTES Author: AI Assistant Version: 1.0 No admin rights required. #> $ErrorActionPreference = "Stop" $PortableRoot = "$env:USERPROFILE\Desktop\FirefoxPortable56" $FirefoxVersion = "56.0.2" $FirefoxLang = "en-US" $FirefoxArchiveUrl = "https://archive.mozilla.org/pub/firefox/releases/$FirefoxVersion/win32/$FirefoxLang/firefox-$FirefoxVersion.zip" $ZipPath = "$env:TEMP\firefox-$FirefoxVersion.zip" $FirefoxExtractDir = "$PortableRoot\core" $ProfileDir = "$PortableRoot\profile" $LauncherPath = "$PortableRoot\StartFirefoxPortable.bat" ------------------- SCRIPT START ------------------- Write-Host "=== Firefox Portable $FirefoxVersion Setup ===" -ForegroundColor Cyan Write-Host "Destination: $PortableRoot`n" 1. Create folders Write-Host "[1/5] Creating directories..." New-Item -ItemType Directory -Force -Path $FirefoxExtractDir | Out-Null New-Item -ItemType Directory -Force -Path $ProfileDir | Out-Null 2. Download Firefox 56 if not already present if (-not (Test-Path $ZipPath)) Write-Host "[2/5] Downloading Firefox $FirefoxVersion ..." -ForegroundColor Yellow Invoke-WebRequest -Uri $FirefoxArchiveUrl -OutFile $ZipPath -UseBasicParsing Write-Host " Downloaded to $ZipPath" else Write-Host "[2/5] Archive already present: $ZipPath" 3. Extract (skip if core/firefox.exe already exists) $FirefoxExe = "$FirefoxExtractDir\firefox.exe" if (-not (Test-Path $FirefoxExe)) Write-Host "[3/5] Extracting Firefox..." -ForegroundColor Yellow Add-Type -AssemblyName System.IO.Compression.FileSystem [System.IO.Compression.ZipFile]::ExtractToDirectory($ZipPath, $FirefoxExtractDir) Write-Host " Extracted to $FirefoxExtractDir" else Write-Host "[3/5] Firefox core already extracted, skipping." 4. Create launcher batch script Write-Host "[4/5] Creating launcher script: $LauncherPath" $LauncherContent = @" @echo off title Firefox Portable 56 (Classic Add-ons) echo Starting Firefox Portable 56 with dedicated profile... set PORTABLE_ROOT=%~dp0 set FIREFOX_EXE=%PORTABLE_ROOT%core\firefox.exe set PROFILE_PATH=%PORTABLE_ROOT%profile firefox portable 56

It downloads Firefox 56.0.2 from the official Mozilla archive, extracts it, and creates a portable launcher with a custom profile folder — no installation required, fully self-contained. if not exist "%FIREFOX_EXE%" ( echo ERROR: firefox

echo Profile dir: %PROFILE_PATH% "%FIREFOX_EXE%" -no-remote -profile "%PROFILE_PATH%" -new-instance Create folders Write-Host "[1/5] Creating directories

@echo off set "BASE=%~dp0" "%BASE%core\firefox.exe" -no-remote -profile "%BASE%profile" -new-instance This script gives you a fully portable, update‑disabled Firefox 56 ready for legacy extensions.