This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathdeleteRegistry.lcdoc
More file actions
53 lines (36 loc) · 1.4 KB
/
deleteRegistry.lcdoc
File metadata and controls
53 lines (36 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Name: deleteRegistry
Type: function
Syntax: deleteRegistry(<keyPath>)
Summary:
Removes an entry from the <registry|Windows system registry>.
Introduced: 2.0
OS: windows
Platforms: desktop, server
Example:
deleteRegistry("HKEY_CLASSES_ROOT\.txt\")
Example:
if not deleteRegistry(storedKey) then answer "Couldn't delete key."
Parameters:
keyPath:
The keyPath parameter is the path to a registry entry.
Returns:
The <deleteRegistry> <function> <return|returns> true if the entry was
successfully deleted, false otherwise.
The result:
If Windows sends an error message to the application, the error message
is returned in the result.
Description:
Use the <deleteRegistry> <function> to uninstall a <registry> entry your
application has previously installed.
>*Tip:* To delete a subkey, use the <setRegistry> <function> to set the
> subkey's value to empty.
On Mac OS and Unix systems, the <deleteRegistry> <function>
<return|returns> "not supported".
>*Warning:* Be careful to use only carefully debugged entries with the
> <deleteRegistry> <function>., and be very certain you know all the
> ramifications of the entry you're removing. Removing entries from the
> <registry|Windows registry> can cause the system to behave
> unexpectedly or stop functioning altogether.
References: function (control structure), setRegistry (function),
queryRegistry (function), platform (function), registry (glossary),
return (glossary)