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
Related
According to MSDN, GetVersionEx (the de facto way of getting the current windows version) has become deprecated as of Windows 8.1. Apparently it returns wrong values (corresponding to Windows 8) if called on a windows 8.1 or 10 machine. However, it can be made to return correctly if the application's manifest is modified correspondingly. But I'm not sure this is such a good solution since
GetVersionEx may be altered or unavailable for releases after Windows 8.1
I was thinking of simply reading the information I need from this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion .
Is there any reason I should avoid doing this, given the current situation (API deprecation) ?
Is there any reason I should avoid doing this?
It is plausible that a future version of Windows will not contain the information that you need in that registry key.
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
I need take an old software that was built in 4D 2004 (you probably never heard about 4D but it doesn't matter) and make it compatible with Windows 7 by fooling it and making him believe he's running under Windows XP.
I thought the application was getting the version number of windows from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion and that I could change this value but I was wrong… Even if I change the values in the registry, the version number of windows returned by my application is always the same:
498139398 for Windows 7
170393861 for windows XP
Those value contains the windows version (this link explain how to extract the version number) but I don’t know where it was taken from.
If you google those numbers, you’ll find out that other applications are referring to the same version number.
I tried to find what registry was used by the application with a Process Monitor but none of the registry accessed by the application seems to be related to a windows version.
Does anyone have a clue of where those values might be coming from? Could it be outside the registry / hardcoded somewhere?
Windows already has tools to do this. Have you tried right-clicking on the program, selecting Properties and looking at the Compatibility tab?
For more complex tricks investigate "Microsoft Application Compatibility Toolkit".
As you know, Windows has a "Add/Remove Programs" system in the Control Panel.
Let's say I am preparing an installer and I want to register my program to list of installed programs and want it to be uninstallable from "Add/Remove Programs"?
Which protocols should I use. Any tutorials or docs about registering programs to that list?
I am coding with python and I can use WMI (Windows Management Instrument) or Win32 API. IMHO, it is done with Registry keys but I am not sure with it.
I also want to execute an uninstaller upon the Uninstallation to remove installed files. Any related docs or tutorials are highly appreciated. Thanks.
As stated on IRC:
"Windows keeps its uninstall information in the registry"
Its in HLLM\Software\Microsoft\Windows\CurrentVersion\uninstall\ keys.
You need a few things from the Win32 API, but I belive there's a fair amount of Python support for the win32 API.
Basically, a key in ...\Uninstall\ with a unique name (like "MyApp") with a few special values stashed in there. Add/Remove programs looks through there.
Its pretty self-explanatory.
If you are developing for Windows platform I think using Windows Installer from Microsoft won't be a problem.
You can check documentation of Windows Installer from Microsoft.com Windows Installer Page
Inno Setup is open source so perhaps you can get some ideas from that.
Is there any tool that give the list of dlls, registry loc and other files/data that an application need when it gets launched?
I basically need this info to know what are all such files/data that IE6 uses when it get launched in windows XP? So that, I would try to get the answer why versions of IE are tightly coupled with windows OS and also we are trying an experiment how to run IE6 on vista or win7? Not thru existing XP mode of windows 7. But like an virtualized application?
Thanks for any inputs.
procmon http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
For DLL dependency walker
At the command line: tasklist /M
IE6 is part of the OS, and as such has dependencies, either directly or indirectly, on basically everything in %windir%/system32. You might be able to find a subset that "works good enough" but you'll always have something that is a little wonky because of some mis-matched DLLs.