Display: Cloud | List
Most Popular Tags
Results (19 total) All > registry (x)
Remove a registry Key - Using PowerShell (WMI Tasks: Registry (Windows))
<#.SYNOPSIS This script creates removes registry key using WMI..DESCRIPTION This script uses WMI to get remove registry key. THis script deletes the key and everything below it in the registry - use carefully!.NOTES File Name : Remove-WmiRegistryKey.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to: http:/
Last modified by Thomas Lee on 9/9/2011 10:40:06 AM
Problem reading Registry key in vista x64 (Registry Entries for Application-Level Add-Ins)
I created a outlook addin that reads a registry key present in HKEY_LOCAL_MACHINE. In Windows XP it work's fine, but in windows vista x64 the method Registry.LocalMachine.OpenSubKey() returns null, but the key exists and I can get it with a normal windows application, but when running in outlook addin context it doesn't work. I search on net and found people with the same problem, but there was
Last modified by Paulo Gonçalves on 3/29/2010 7:08:24 PM
Tags:  addin  outlook  registry
GetPrivateProfileString FunctionRetrieves a string from the specified section in an initialization file.Note  This function is provided only for compatibility with 16-bit Windows-based applications. Applications should store initialization information in the registry.Syntax DWORD WINAPI GetPrivateProfileString( __in LPCTSTR lpAppName, __in LPCTSTR lpKeyName, __in LPCTSTR lpDefault,
Last modified by Microsoft on 2/25/2010 10:50:37 PM
DeleteAtUninstall documentation is incorrect (Properties for the Registry Editor)
DeleteAtUninstall does _not_ what one might expect it to do (and not what is documented here.). incase DeleteAtUninstall is set to "false", one would expect that key (and it's subkeys) would not be deleted during an uninstall.however, this is not the case. keys are allways deleted at uninstall. if you need a permanent key, create one using a custom action and don't delete it during uninstall in yo
Last modified by thomas_woelfer on 2/11/2010 5:33:09 PM
The Fragment file generated contains <Include />, and so should be a wxi file for Version 3. This is correctly shown in http://msdn.microsoft.com/en-us/library/bb166239%28VS.100%29.aspx The Registry tag generated has been replaced with RegistryKey and RegistryValue in version 3 of Wix. And I agree with above, an absolute path is needed. Let's hope we get an updated RegPkg sometime soon.
Last modified by jrad on 1/25/2010 1:01:21 AM
Passing Arguments to the executable (Adding Toolbar Buttons (Internet Explorer))
Hi,How to pass a parameter dynamically to the executable file used in registry ??Thank you.
Last modified by Rami Shareef on 12/13/2009 1:06:59 PM
Registry Key Security and Access RightsThe Windows security model enables you to control access to registry keys. For more information about security, see Access-Control Model.You can specify a security descriptor for a registry key when you call the RegCreateKeyEx or RegSetKeySecurity function. If you specify NULL, the key gets a default security descriptor. The ACLs in a default
Last modified by Microsoft on 10/8/2009 11:05:52 PM
RegOpenKeyEx FunctionOpens the specified registry key. Note that key names are not case sensitive.To perform transacted registry operations on a key, call the RegOpenKeyTransacted function.Syntax LONG WINAPI RegOpenKeyEx( __in HKEY hKey, __in_opt LPCTSTR lpSubKey, __reserved DWORD ulOptions, __in REGSAM samDesired, __out PHKEY phkResult );ParametershKey [
Last modified by Microsoft on 10/8/2009 11:05:52 PM
Tags:  registry
RegGetValue FunctionRetrieves the type and data for the specified registry value.Syntax LONG WINAPI RegGetValue( __in HKEY hkey, __in_opt LPCTSTR lpSubKey, __in_opt LPCTSTR lpValue, __in_opt DWORD dwFlags, __out_opt LPDWORD pdwType, __out_opt PVOID pvData, __inout_opt LPDWORD pcbData );Parametershkey [in] A handle to an open registry key. The key
Last modified by Microsoft on 10/8/2009 11:05:52 PM
Tags:  registry
RegQueryValueEx FunctionRetrieves the type and data for the specified value name associated with an open registry key.To ensure that any string values (REG_SZ, REG_MULTI_SZ, and REG_EXPAND_SZ) returned are null-terminated, use the RegGetValue function.Syntax LONG WINAPI RegQueryValueEx( __in HKEY hKey, __in_opt LPCTSTR lpValueName, __reserved LPDWORD lpReserved, __out_
Last modified by Microsoft on 10/8/2009 11:05:52 PM
Page view tracker