Hello,
Adding items to the registry item
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\ I can successfully create new options in the Internet Explorer right click menu.
Trouble is, I only want to show the item if the user right clicks on a link.
In other words it would appear at the same time as the option "Open in ...
Good Morning,
I have written a WiX installer that works perfectly with Windows XP but when installing to a Windows 7 box I am running into difficulty with Registry Entries. What I need to do is add a HKLM entry as well as the registry entry for the program to show in the start menu. Here is the code i am using for both types of entry:
...
I want to write application settings in the registry, that are shared by x86 and x64 applications running on Windows 7 x64.
The best practice is to save them in HKEY_LOCAL_MACHINE\Software\Company\Product, but that gets redirected when in WOW64.
Can I write them in HKEY_LOCAL_MACHINE\System.. instead? Or System is reserved for other th...
I am attempting to resolve a drive letter from a found usb mass storage device via VID and PID. To make this magical connection, I was using the following registry key:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
In 32bit versions of windows, the data contained within (for example) \DosDevices\F: is the following:
"STORAGE\REMO...
I have a VB6 application that still references some old VB5 libraries (dll, vbr, tlb, and ocx). We're having some strange issues like it can't read the registry using advapi32.dll. I've tried running the application with UAC permissions, but still no go. We can't recompile the app because it has several controls and components that canno...
Hi, i have read heaps of articles about how to add custom right click context menu's to windows explorer but all of them only work if you have only 1 single file highlighted. The app i am writing is a utility app and i would ideally like it to work on %n number of files.
Can this be done?
...
I'm creating an MSBuild task that will read the registry for a specific registry key. If I write the same line of code (see below) in a console application, it returns the expected result, but when it is within the MSBuild task, it returns nothing.
Return Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Setup\", "...
What is a registry in NSIS? How do you write to and read from a registry?
...
I have a VS Web setup project.
I want to register the physical path of the application.
In the setup project, I created a new key in HKLM, named Software, then I created a new key named "MyCompany", then in the mycompany key, I add the key Installation Folder with value [TARGETDIR].
But when I try my installer, and go to regedit after...
I want to iterate over the environment keys and print a list of these items.
...
I need to compare the windows registry data before and after install a program ?
...
Hello all
I am trying to get values and set values to the Registry .
When I am trying to access a path that not located at the registry I am getting exaption .
But when i am setting that path with Registry.SetValue(keyName, "", 0);, all works fine and I can get non existing values from it .
Any idea why i can't use my public int G...
I just added a ton of images to my local git repo. As a result, when I try to push to our remote repo, I get the error:
fatal: out of memory, malloc failed76)
My hypothesis is that this is due to a lack of memory allocated to Cygwin. I've tried to increase Cygwin's memory by following these instructions but i can't find the registry...
I'm writing a Win32 DLL with a function that adds a directory to the Windows PATH environment variable (to be used in an installer).
Looking at the environment variables in Regedit or the Control Panel after the DLL has run shows me that my DLL has succeeded in adding the path to *HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Sess...
I am setting a registry setting and I can do so if the value is in [HKEY_CURRENT_USER] but if the value is in [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\ethan] then I get the following error:
ex {"Cannot write to the registry key."} System.Exception {System.UnauthorizedAccessException}
does anyone know what might be wrong? ...
I'm writing a cross-platform python script that needs to know if and where Cygwin is installed if the platform is NT. Right now I'm just using a naive check for the existence of the default install path 'C:\Cygwin'. I would like to be able to determine the installation path programmatically.
The Windows registry doesn't appear to be an ...
Hey all,
I need to use VBScript and loop through a set of registry string value names located within a specific key such as: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" and delete all the string values except for ones that I specifiy.
I was able to successfully delete a specific string value using DeleteValue and...
I'm using codegear c++ builder 2007. I'm trying to read a string value with a path from the registry. This path can contain unicode characters, for example russian.
I have added a string value with regedit and verified by exporting that the value really contains the expected unicode characters. The result in S1, S2 and S3 below all cont...
background info;
an application is installed on many different PCs, W2000 and XP pro and for multiple users, let's call it foobar, note there is no msi or silent uninstall for this app. therefore, we would like to remove its' entry manualy;
If in the registry environment (path line) we have path=c:\windows;c:\windows\system32;c:\foobar...
I am writing an installer using Wix 3 which installs a plugin to a 3rd party application. The application uses a group of registry keys to detect installed plugins. Each plugin is required to add a new subkey with a numerical name from 0-9 to the HKEY_LOCAL_MACHINE\SOFTWARE\Vendor\App\Plugins. The key contains a single string value whi...