Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Known Issues
There are a few ways you can set up Google Chrome Portable to use a different version of Chrome or variants. First
you must install Google Chrome Portable. Then you can remove the existing version of Chrome from App\Chrome-
bin and replace it.
If your final program executable name is not App\Chrome-bin\chrome.exe you can use a GoogleChromePortable.ini
file to have the launcher launch a different file. See the file in Other\Source for more info, you can use it as a
template in the same directory as the launcher.
The following methods have been known to work for installing an arbitrary Chrome:
%USERPROFILE%\AppData\Local\Google\Chrome\Application
And click OK. This is the Google Chrome application directory. There are two ways to copy the files:
a. Open the directory corresponding with the version number you want to copy, and then the Installer
directory inside that. If you extract the Chrome.7z file you find therein into your App folder it will create
a Chrome-bin directory and populate it with the proper files.
OR
b. Copy the entire directory you are in. You will want to exclude the following files:
◾ old_chrome.exe
◾ Any version number directory other than the newest (chrome.exe will only work with the
newest).
◾ The Installer directory inside the version number directory.
This url will download any Chrome version you want, provided it's still on the server (old versions seem to be
removed periodically):
http://dl.google.com/chrome/install/<X>.<Y>/chrome_installer.exe
Replace <X> and <Y> with the third and fourth numbers from the version. Example: 3.0.197.11 has a
download url of http://dl.google.com/chrome/install/197.11/chrome_installer.exe
Do not run this installer as it will silently update your local Chrome! Instead unpack it with an archiver
program (7-zip works) and you will end up with a single .7z file. Extract this file into App and it will create
the Chrome-bin file and populate it with the proper files.
Installing plugins
If you wish to have portable plugins, be aware that many plugins are linked to locally installed programs and will
not function correctly in a portable environment. When testing plugins be sure to test them on a system that does
not have the plugin installed locally.
Note that if a system has plugins installed locally for Firefox or Chrome, your portable Google Chrome should find
and use them automatically.
Since verison 5.0 Chrome includes a built-in Flash player so no Flash plugin is needed.
Starting with 6.0 (currently only in the Dev channel) Chrome will have a PDF plugin capable of rendering PDF files.
No PDF plugin will be needed externally.
To install a plugin, first you need to find the location of a locally installed plugin. Run a local Firefox or Chrome and
navigate to about:plugins. In Chrome, click "Details" on the right.
You should now see each plugin's details including the file path.
If you open the folder up and copy any relevant looking files to Google Chrome Portable\App\Chrome-bin\plugins
(you'll have to create the plugins folder) it should work if the plugin supports being used this way.
You can open about:plugins in Google Chrome Portable to verify which plugins are being loaded and used. Again be
sure to test the plugin on a computer without that plugin installed locally!
NOTE: This section is out of date. Be sure to keep backups in case your removals break something you want. Test
thoroughly.
To remove languages, open the App\Chrome-bin\<version number>\Locales directory, and remove any language
file you do not need. en-US.dll is US English and may be the only one you want.
To remove packaged Web Apps (GMail, Calendar, Docs) remove the appropriate directories from App\Chrome-
bin\<version number>\Resources. Probably not worth it since they're mostly just a few icons.
In addition if you installed a custom Chrome version by hand keep in mind that the App\Chrome-bin\<version
number>\Installer directory is not needed and should be removed. Normal Chrome only seems to keep it around
for uninstallation purposes.
You can also experiment with removing App\Chrome-bin\<version number>\gears.dll to remove Google Gears
support but I don't know if that will work or not. :) Same with gcswf32.dll and pdf.dll for the internal flash and PDF
plugins.
wow_helper.exe is used for 64-bit support for the sandbox and if you don't intend to run on 64-bit you don't need
it. It is not installed on 32-bit machines by the Chrome installer. There are also nacl64.* files which are probably
64-bit Native Client plugin stuff.
You can trigger the first run dialog in Google Chrome to import bookmarks from the local machine by deleting
App\Chrome-bin\First Run and then running Google Chrome Portable. Note that it works even if you have a profile,
but I don't know if it'll preserve or wipe out your bookmarks when it imports, so be careful!
Though PAF has allowed the installer for Google Chrome Portable to be simplified, a downside is that UPX cannot be
used to automatically compress the downloaded Chrome files. You can compress some of them by hand if you
wish.
• avcodec*.dll - Random crashes with <video>/<audio>. UPX detects errors when you try to decompress.
• chrome.exe - Tabs no longer show content.
• chrome.dll - Not supported by UPX.
• wow_helper.exe, nacl64.dll, nacl64.exe - 64-bit binaries not supported by UPX.
• Locale DLLs - Chrome starts up with no text, pops up a blank dialog, and crashes.
• avformat*.dll
• avutil*.dll
• chrome_launcher.exe
• d3dcompiler*.dll
• d3dx9*.dll
• gcswf32.dll
• gears.dll
• icudt*.dll
• libegl.dll
• libglesv2.dll
• npchrome_frame.dll (Compacts in Chrome 6, not in Chrome 7)
• pdf.dll
New versions of Chrome may add more binaries, be sure to test Chrome thoroughly if you compress any of them.
%LOCALAPPDATA%\Google\Chrome\User Data
This is your profile dir and should be copied to Data\profile. If you did it right you will end up with a Default
directory and a Local State file in Data\profile. You may also have a few more files and folders depending on your
profile settings.
You should exempt Default\Cache and Default\Media Cache from the copy. You may also want to trim your profile
down a bit regularly, in particular the History Index files can get large. You should use the in-Chrome options for
purging old data, or if you know how, vaccuum the SQLLite databases in your profile. Note that removing the
Thumbnails file may seem like a good idea but then your icons on your bookmarks will be gone.
You can further reduce the profile size by disabling malware and phishing protection in Chrome and then removing
the Safe Browsing files from the profile.
In the end it may be prudent to simply export your bookmarks from Chrome and then re-import them in a fresh
profile to keep file sizes down.
If the GoogleChromePortable process does not exit normally, it will leave some bits and pieces that need to be
cleaned up, as most portable launchers will:
1. HKEY_CURRENT_USER\Software\Google\Update\Clients\{8A69D345-D564-463c-AFF1-A69D9E530F96}\pv
will be set to the Portable Chrome version. If the local Chrome is a different version this value will need to be
adjusted to match. If there is no local Chrome the entire key should be deleted.
2. HKEY_CURRENT_USER\Software\Google\Update\Clients\{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}\pv will
be set to the Portable Chrome version. If the local Chrome CANARY is a different version this value will need
to be adjusted to match. If there is no local Chrome CANARY the entire key should be deleted.
3. HKEY_CURRENT_USER\Software\Google\Update\ClientState\{8A69D345-D564-463c-AFF1-A69D9E530F96}
should be deleted if Chrome is not installed locally.
4. HKEY_CURRENT_USER\Software\Google\Update\ClientState\{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}
should be deleted if Chrome CANARY is not installed locally.
5. HKEY_CURRENT_USER\Software\Google\Rlz should be deleted.
6. If there is no local Chrome HKEY_CLASSES_ROOT\Applications\chrome.exe,
HKEY_CLASSES_ROOT\.htm\OpenWithList\chrome.exe, and
HKEY_CLASSES_ROOT\.html\OpenWithList\chrome.exe should all be deleted. Otherwise
HKEY_CLASSES_ROOT\Applications\chrome.exe\shell\open\command should be set to the location of the
local chrome using the following templates.
For XP:
Vista and 7:
"C:\Users\<Username>\AppData\Local\Google\Chrome\Application\chrome.exe" -- "%1"
Chrome overwrites this value with it's own location when run portably so the launcher will restore it on close.
Google Chrome has some experimental features which require command line parameters to activate. Some others
are for diagnostic purposes. You can enable these by copying
GoogleChromePortable\Other\Source\GoogleChromePortable.ini to GoogleChromePortable\ and adding the
parameters to the AdditionalParameters field. For example:
[GoogleChromePortable]
AdditionalParameters=--disable-extensions --enable-webgl
This disables extension support in Chrome and enables experimental WebGL support.
Changelog
2.3.0.0
2.2.0.0
2.1.2.0
2.1.1.3
2.1.1.2
2.1.1.1
2.1.1.0
• Updated Dev to 4.0.266.0 and Beta to 4.0.249.30. Google Chrome Extension gallery is live!
• Installer now shows the version of Chrome being downloaded.
• Updated the sample INI with some new notes.
• msvcr100.dll beta 2 is no longer required by the NSIS plugin. 200kb has been shaved off the launcher.
• Changes to Portable Passwords to improve security and prevent possible vulnerabilities. If you were
previously using Portable Passwords you will need to import your passwords to Chrome before updating, see
the sample INI for notes on how to keep your saved passwords.
• Fixed bug in NSIS plugin where memory was freed twice (oops).
• Added EncryptPortablePasswords switch to INI, so you can choose to store saved passwords in plaintext. This
may be useful if you already use an encryption solution such as TrueCrupt to protect your PortableApps and
have no need for additional protection. This is also removes the need for a master password.
• Installer window no longer shows. DialogEx is used instead for the master password prompt.
• Tidied up some things in the launcher code (all language strings are in the appropriate NSH now).
• Updated to PA.c Installer 1.0.1.
2.1.0.0
2.0.1.0
2.0.0.0
4.0.223.9 R2
4.0.223.9
4.0.222.12
4.0.206.1 R2
4.0.206.1
• Help files were not properly synced between the three releases.
• Removed Java Portable support as per John Haller's request.
◦ Due to security concerns the automatic plugin import is disabled, but it can be reenabled (see
Other\Source\GoogleChromePortable.ini for details). However without the Java Portable support, it will
only be able to utilize a locally installed Java. The security risk lies from the plugin possibly using an
outdated, exploitable Java installed locally.
• Replaced tagline with one from a catchy Google Chrome Japan commercial I like.
• I keep calling "Java Portable" "Portable Java". Maybe I subconsciously like the old naming sceme?
Regardless, fixed.
• Fixed GoogleChromePortable.ini being ignored.
• Updated list of compressable DLLs.
• Added help topics on experimental features and the switches uses to activate them.
• Minor help changes.
3.0.197.11
• Attempted to add Java Portable support, but it seems Java will still use a higher-version locally installed Java
if it finds one... even if there are no references in the registry to it. If not the Java Portable should be utilized.
• Cleaned up launcher by using LogicLib.
• Eliminated the need for version.txt, version is now detected automatically.
3.0.190.4
• Replaced Chromium icon with Chrome icon from the Chromium SVN.
• Tweaked code that copies the profile back from %TEMP% to prevent it from copying the new Media Cache.
• Removed a couple files left over from the old installer.
• Added more release notes to help fill in the gaps the old installer used to fill.
3.0.187.0
2.0.180.0
2.0.170.0
2.0.162.0
2.0.156.1
1.0.154.42
• Updated hardcoded download locations in installer (if anyone has a better idea, especially an auto-updating
static link, let me know).
• Fixed appinfo.ini version info getting out of sync, need to remember to update that. >_>
• Launcher now checks for GoogleChromePortable instead of Chrome running so local Chrome running won't
affect how the launcher works.
• Compiling the launcher now requires this plugin.
• INI file reading is now more forgiving of missing entries (it will fall back to defaults for every missing entry).
• RunLocally is now OFF by default for privacy concerns, as passwords and other sensitive information could be
recoverable on the local computer you run Google Chrome Portable on if RunLocally is on. Use this
GoogleChomePortable.ini in the same directory as GoogleChromePortable.exe to turn it on if you want a
performance boost from running the profile off of a faster local hard drive:
[GoogleChromePortable]
RunLocally=true
• When RunLocally is true, the launcher will attempt to prevent you from running it when Google Chrome
Portable is copying your profile back to your portable drive in the background, which may take some time
depending on the speed of your device.
• Bunch of other bug fixes relating to stuff being broken.
0.4.154.29
• Chrome 0.4.154.29 was released into the beta channel. Updated download.
• This installer will now preserve plugins when updating an existing installation.
• Minor typo fix.
0.4.154.25
• Chrome 0.4.154.25 was released into the beta channel. Updated download.
0.4.154.23
0.4.154.22