Hi,
Thanks a lot for BrowserPicker! It's exactly what I was looking for!
I'm on my work laptop, where I don't have admin privileges. So I couldn't install the msi file. I downloaded and extracted the zip file, and I could run the executable, but in order to be able to actually use it, I had to add windows-registry items. Perhaps add a user-installer, that doesn't require admin privileges, that would add those? And/or add a button to the interface that will add those registry items?
If it helps someone, here are the commands that Gemini gave me that helped me install BrowserPicker:
# Define the path to the executable (assumes you are in the folder)
$exePath = Join-Path $PWD "BrowserPicker.exe"
# 1. Register the client for the current user
$clientPath = "HKCU:\Software\Clients\StartMenuInternet\BrowserPicker"
New-Item -Path $clientPath -Force
New-Item -Path "$clientPath\Capabilities" -Force
New-Item -Path "$clientPath\Capabilities\URLAssociations" -Force
Set-ItemProperty -Path $clientPath -Name "(Default)" -Value "BrowserPicker"
Set-ItemProperty -Path "$clientPath\Capabilities" -Name "ApplicationDescription" -Value "Browser Picker"
Set-ItemProperty -Path "$clientPath\Capabilities" -Name "ApplicationName" -Value "BrowserPicker"
Set-ItemProperty -Path "$clientPath\Capabilities\URLAssociations" -Name "http" -Value "BrowserPickerHTM"
Set-ItemProperty -Path "$clientPath\Capabilities\URLAssociations" -Name "https" -Value "BrowserPickerHTM"
# 2. Create the ProgID handler
$classPath = "HKCU:\Software\Classes\BrowserPickerHTM"
New-Item -Path "$classPath\shell\open\command" -Force
Set-ItemProperty -Path $classPath -Name "(Default)" -Value "BrowserPicker Handler"
Set-ItemProperty -Path "$classPath\shell\open\command" -Name "(Default)" -Value "`"$exePath`" `"%1`""
# 3. Register as an available application
$regAppPath = "HKCU:\Software\RegisteredApplications"
if (-not (Test-Path $regAppPath)) { New-Item -Path $regAppPath -Force }
Set-ItemProperty -Path $regAppPath -Name "BrowserPicker" -Value "Software\Clients\StartMenuInternet\BrowserPicker\Capabilities"
# Define the extension paths in the user's private classes
$htmlPath = "HKCU:\Software\Classes\.html"
$htmPath = "HKCU:\Software\Classes\.htm"
# Ensure the keys exist
if (-not (Test-Path $htmlPath)) { New-Item -Path $htmlPath -Force }
if (-not (Test-Path $htmPath)) { New-Item -Path $htmPath -Force }
# Point the extensions to our BrowserPicker handler
Set-ItemProperty -Path $htmlPath -Name "(Default)" -Value "BrowserPickerHTM"
Set-ItemProperty -Path $htmPath -Name "(Default)" -Value "BrowserPickerHTM"
# Update the Capabilities so Windows knows BrowserPicker 'claims' these files
$capPath = "HKCU:\Software\Clients\StartMenuInternet\BrowserPicker\Capabilities\FileAssociations"
if (-not (Test-Path $capPath)) { New-Item -Path $capPath -Force }
Set-ItemProperty -Path $capPath -Name ".html" -Value "BrowserPickerHTM"
Set-ItemProperty -Path $capPath -Name ".htm" -Value "BrowserPickerHTM"
Hi,
Thanks a lot for BrowserPicker! It's exactly what I was looking for!
I'm on my work laptop, where I don't have admin privileges. So I couldn't install the msi file. I downloaded and extracted the zip file, and I could run the executable, but in order to be able to actually use it, I had to add windows-registry items. Perhaps add a user-installer, that doesn't require admin privileges, that would add those? And/or add a button to the interface that will add those registry items?
If it helps someone, here are the commands that Gemini gave me that helped me install BrowserPicker: