Where does Google Chrome store its version information locally?
I'm developing a Lua script to access application version information found in the Windows registry, but can't find a registry key associated with the current installed version of Google Chrome Browser.
The closest I've found was this, which indicates that the version info can be found at
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome.
However, on my system, there is no Google Chrome subkey under Uninstall in the HKCU hive or corresponding HKEY_USERS paths. Any thoughts?
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe\
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\Google Chrome\
The version can be found under HKEY_CURRENT_USER\Software\Google\Chrome\BLBeacon
It could be that your installation of google chrome is somehow messed up. I do have this registry key and it contains two values with the current version number.
Another way although not through the registry would be to check the folders in Users/[username]/AppData/Local/Google/Chrome/Application. I have a folder with the latest version number in there. (and a folder with an older version).
AND I found something in the registry which might also work on every client:
HKEY_CLASSES_ROOT\Wow6432Node\CLSID{5C65F4B0-3651-4514-B207-D10CB699B14B}\LocalServer32
The values there contain the version number in the path.
That's because you are logged in under admin user and when you setup google chrome you setup it under local machine you will find value in this path
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9C447DD7-5DD2-358C-90A2-1997BD1D69D1}
maybe this name will be different {9C447DD7-5DD2-358C-90A2-1997BD1D69D1}
Try uninstalling the python and reinstalling it. Worked for me !
also enable "App data" file as readable/writable in C:// as admin
Related
I have a French client with the French version of Windows 10. However, our Installshield-built installer is looking for C:\Users\username\Local Settings\Application Data, and fails with "Error 1320. The specified path is too long"
We tried to see if we could connect to the appropriate Local Settings\Application Data folder (in English), but it is either not accessible or even as admin we don't have privileges to go there (even from an admin command line).
I understand Windows 10 has some sort of invisible aliases or compatibility for these standard folders?
Are there any tricks we could use to get the software installed?
Disclaimer: this is a hack and the correct answer was provided by slugster - rebuild the MSI
Now that that's out of the way I do have a suggestion for you that might be able to resolve the problem for you. You can try creating the path that the installer is looking for and then creating a symlink to link that folder to the correct folder on the users machine. no guarantee that this works but might be worth a shot. If you need more info on creating symlinks check out hte TechNet page for MkLink
I'm trying to install a private Chrome extension on OS X by modifying Chrome policies. I was able to do this successfully on Windows by editing the relevant HKEY_LOCAL_MACHINE registry, but on OS X I'm having problems.
Using the following commands, the policies show up in chrome://policy but have a "recommended" level instead of "mandatory" on Windows.
defaults write com.google.Chrome ExtensionInstallSources -array "http://install-url.com/*"
defaults write com.google.Chrome ExtensionInstallWhitelist -array "chrome-extension-id"
Whenever I attempt to install the extension, Chrome instead just downloads the file and presents a message that Apps, Scripts, and Extensions cannot be installed from this Website.
Any help would be greatly appreciated!
This is an old post, but it came up in a google search and there wasn't an answer here.
The answer to this question after some troubleshooting is as follows:
The file that contains policies that are Recommended is
~/Library/Preferences/com.google.Chrome.plist
The commands you posted would modify this file if run in the user context
In order to have Mandatory you need to have your Mac managed, by say JAMF or Munki. Once your Mac is managed you can use plists in
/Library/Managed Preferences/
&
/Library/Managed Preferences/$user
Effectively this moves com.google.Chrome.plist from the user context to the machine context. HKCU vs HKLM
The documentation here talks about this more under Debugging
https://www.chromium.org/administrators/mac-quick-start
For Mac, the policies for the extension are given in Configuring Apps and Extensions by Policy.
As stated:
The policies for the extension can be configured via MCX preferences for the com.google.Chrome.extensions.gihmafigllmhbppdfjnfecimiohcljba bundle, or for the org.chromium.Chromium.extensions.gihmafigllmhbppdfjnfecimiohcljba bundle if using Chromium.
The complete configuration procedure can be found in the given documentation.
I have a Mac and 2 Windows 7 machines. I use a local page, which is stored on the hard drive of each system, as the Homepage link.
Since I have the same Google account signed in on all three machines, I am unable to set individual homepage paths (while syncing other settings). On one windows machine I was able force the HomepageLocation attribute through Registry change in the Policy settings (HKLM/Software/Policies/Google/Chrome/HomepageLocation).
But when I tried the same on the other Windows machine, the setting was not listed as an Machine override under chrome://policy
I am not sure what is different on both Windows machines. Please suggest if I am missing something while setting the registry entry, or if there is an easier way to achieve this objective.
Thank you!
I need to detect if MongoDB is installed on a Windows machine in my app installer.
Does anyone know what I can look for in the registry to be sure it is installed?
I've searched the entire registry and researched on SO and google for hours. Mongo registry entries are using GUID keys, so these change per install and I don't think I can find it this way in innosetup.
I'm hoping someone has already solved this problem and can help me so I don't have to spend more hours reinventing the wheel. Thanks to anyone with useful information.
The default installation directory for MongoDB on Windows would be: C:\Program Files\MongoDB
Reference: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
Also, Detecting installed programs via registry for the registry angle!
For more information, google!
Open the command prompt and type "cd c:\program files\mongodb\server\your version\bin". After you enter the bin folder type "mongo start". If you get either a successful connection or failed one it means it's installed at least.
The problem is that the user could have installed MongoDB via a zip file -- so there wont be any trace of the installation in the registry at all. You could go the extra mile and try to connect to the standard 27017 port and try to get a status, but what if mongodb is not running at the moment? There is no good answer here -- simply ask the user if he has MongoDB installed and whats the directory. Its not very "automated" but in this case, it is more reliable and less problematic.
Searching for the file mongod.exe in all the files might work in this case, if user has installed from zip file still this method will work.
How can I find all the installed versions of Firefox browser on Windows XP ? Is there, for example, a special windows registry key where all the versions are stored ? I need this information in order to code a program that tells me what are these installed versions on my Windows XP. I am not asking you to code the program for me, I just ask where I can find that information.
There are some registry keys accessible under
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla