Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Use Fake.Windows.Registry instead (FAKE0001 - package: Fake.Windows.Registry - module: Fake.Windows.Registry)

RegistryHelper

Contains functions which allow to read and write information from/to the registry.

Nested types and modules

TypeDescription
RegistryBaseKey
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Registry base keys.

Functions and values

Function or valueDescription
createRegistrySubKey baseKey subKey
Signature: baseKey:RegistryBaseKey -> subKey:string -> unit
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Create a registry subKey

deleteRegistrySubKey baseKey subKey
Signature: baseKey:RegistryBaseKey -> subKey:string -> unit
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Deletes a registry subKey

deleteRegistryValue baseKey subKey name
Signature: baseKey:RegistryBaseKey -> subKey:string -> name:string -> unit
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Deletes the registry value from its key

getRegistryKey(...)
Signature: baseKey:RegistryBaseKey -> subKey:string -> writePermission:bool -> RegistryKey
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Gets a registry key and falls back to 32 bit if the 64bit key is not there

getRegistryKey64(...)
Signature: baseKey:RegistryBaseKey -> subKey:string -> writePermission:bool -> RegistryKey
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Gets a 64-bit registry key

getRegistrySubKeyNames baseKey subKey
Signature: baseKey:RegistryBaseKey -> subKey:string -> string []
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Returns all the subKey names of a registry key

getRegistryValue baseKey subKey name
Signature: baseKey:RegistryBaseKey -> subKey:string -> name:string -> string
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Gets a registry value as string

getRegistryValue64 baseKey subKey name
Signature: baseKey:RegistryBaseKey -> subKey:string -> name:string -> string
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Gets a registry value as string

getRegistryValueNames baseKey subKey
Signature: baseKey:RegistryBaseKey -> subKey:string -> string []
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Returns all the value names of a registry key

setRegistryValue(...)
Signature: baseKey:RegistryBaseKey -> subKey:string -> name:string -> value:'T -> unit
Type parameters: 'T Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Sets a registry value

valueExistsForKey baseKey subKey name
Signature: baseKey:RegistryBaseKey -> subKey:string -> name:string -> bool
Attributes:
[<Obsolete("FAKE0001 Use the Fake.Windows.Registry module instead")>]
OBSOLETE

FAKE0001 Use the Fake.Windows.Registry module instead

Returns whether or not a registry value name exists for a key