• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

portable chrome or firefox not listed as default programs


5ggggg

New Member
Posts
20
#1
In Win7 the following method works perfect and chrome is listed as one of the default programs. In win8 it is not listed, but the assosiation of filetypes worked. I also can choose chrome (in my case Google__Chrome__Portable) where one can set the so called "computer standards".

So I think there are some more reg entries I have to set in W8. Please help ;-)

I register them with this .bat
Code:
rem @ECHO OFF
echo ---------------------------------------------------
choice /c yn /m "Save regkey first ?"
if %errorlevel% equ 2 goto reg_rights
@echo on
@echo.
REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell D:\sources\PC\registry\internet_shortcut_org_%computername%.reg
@ECHO OFF

:reg_rights
cd /d D:\sources\PC\registry\setacl

echo ---------------------------------------------------
choice /c yn /m "continue to change ownwer and rights ?"
if %errorlevel% equ 2 goto change_reg

rem  S-1-5-32-544 steht für Administrators=Administartoren = die Administratorengruppe, 545=usergruppe https://support.microsoft.com/en-us/kb/243330/
setacl.exe -on "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell" -ot reg -actn setowner -ownr "n:S-1-5-32-544"
setacl.exe -on "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell" -ot reg -actn ace -ace "n:S-1-5-32-544;p:full" 
setacl.exe -on "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell" -ot reg -actn ace -ace "n:S-1-5-32-545;p:read" 
rem -rec yes

:change_reg
setacl.exe -on "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell" -ot reg -actn list

echo ---------------------------------------------------
choice /c yn /m "continue to add reg keys ?"
if %errorlevel% equ 2 goto end
regedit D:\sources\chrome\registry_group_policy\chrome_als_std_browser\chrome_install.reg

:end
chrome_install.reg looks like this:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\IE.AssocFile.URL\shell\chrome]
@="Open &Chrome"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\IE.AssocFile.URL\shell\chrome\command]
@="\"D:\\sources\\chrome\\portable\\chrome\\chrome.exe\" \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\chrome]
@="Open &Chrome"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\chrome\command]
@="\"D:\\sources\\chrome\\portable\\chrome\\chrome.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\IE.AssocFile.URL\shell\ie]
@="Open &Internet Explorer"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\IE.AssocFile.URL\shell\ie\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\ie]
@="Open &Internet Explorer"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\InternetShortcut\shell\ie\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" \"%1\""



[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"Google__Chrome__Portable"="Software\\Clients\\StartMenuInternet\\Google__Chrome__Portable\\Capabilities"

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet]
@="Google__Chrome__Portable"

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable]
@="Google__Chrome__Portable"

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\Capabilities]
"ApplicationDescription"="Google__Chrome__Portable ist ein Webbrowser, der Webseiten und Apps in Sekundenschnelle lädt und dabei äußerst stabil und nutzerfreundlich ist. Dank des integrierten Malware- und Phishing-Schutzes können Sie bedenkenlos im Internet surfen."
"ApplicationIcon"="\"D:\\sources\\chrome\\portable\\Chrome\\chrome.exe\",0"
"ApplicationName"="Google__Chrome__Portable"    

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\Capabilities\FileAssociations]
".htm"="Google__Chrome__Portable__HTML"
".html"="Google__Chrome__Portable__HTML"
".shtml"="Google__Chrome__Portable__HTML"
".url"="Google__Chrome__Portable__HTML"
".xht"="Google__Chrome__Portable__HTML"
".xhtml"="Google__Chrome__Portable__HTML"
".webp"="Google__Chrome__Portable__HTML"

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\Capabilities\Startmenu]
"StartMenuInternet"="Google__Chrome__Portable"

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\Capabilities\URLAssociations]
"ftp"="Google__Chrome__Portable__HTML"
"http"="Google__Chrome__Portable__HTML"
"https"="Google__Chrome__Portable__HTML"
"irc"="Google__Chrome__Portable__HTML"
"mailto"="Google__Chrome__Portable__HTML"
"mms"="Google__Chrome__Portable__HTML"
"news"="Google__Chrome__Portable__HTML"
"nntp"="Google__Chrome__Portable__HTML"
"sms"="Google__Chrome__Portable__HTML"
"smsto"="Google__Chrome__Portable__HTML"
"tel"="Google__Chrome__Portable__HTML"
"urn"="Google__Chrome__Portable__HTML"
"webcal"="Google__Chrome__Portable__HTML"

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\DefaultIcon]
@="\"D:\\sources\\chrome\\portable\\Chrome\\chrome.exe\",0"

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\InstallInfo]
"ReinstallCommand"="\"D:\\sources\\chrome\\portable\\Chrome\\chrome.exe\" --make-default-browser"
"HideIconsCommand"="\"D:\\sources\\chrome\\portable\\Chrome\\chrome.exe\" --hide-icons"
"ShowIconsCommand"="\"D:\\sources\\chrome\\portable\\Chrome\\chrome.exe\" --show-icons"
"IconsVisible"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\shell]

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\shell\open]

[HKEY_LOCAL_MACHINE\Software\Clients\StartMenuInternet\Google__Chrome__Portable\shell\open\command]
@="\"D:\\sources\\chrome\\portable\\Chrome\\chrome.exe\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Google__Chrome__Portable__HTML]
@="Google__Chrome__Portable__HTML"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Google__Chrome__Portable__HTML\DefaultIcon]
@="\"D:\\sources\\chrome\\portable\\chrome\\chrome.exe\",0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Google__Chrome__Portable__HTML\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Google__Chrome__Portable__HTML\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Google__Chrome__Portable__HTML\shell\open\command]
@="\"D:\\sources\\chrome\\portable\\chrome\\chrome.exe\" \"%1\""
 

My Computer

System One

  • OS
    w7,w8
Posts
4
#2
The only way I figured to use portable versions is to install the full version, then set it as default, and then you can use the portable version which Windows will detect as default, and use it like normal when opening links. There is no way to set a portable version as a default browser.
 

My Computer

System One

  • OS
    Windows 8.1