From c5c57c0fdbfc90915bcd68103e0147b48e63fbf6 Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 8 Jun 2003 18:23:15 +0000 Subject: [PATCH] default value for reg keys git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2622 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/registry.but | 2 ++ Docs/src/sec.but | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Docs/src/registry.but b/Docs/src/registry.but index 1b2d6d00..c526c463 100644 --- a/Docs/src/registry.but +++ b/Docs/src/registry.but @@ -1,5 +1,7 @@ \S1{registry} Registry, INI, File Instructions +In all of the below registry instructions use an empty string (just two quotes with nothing between them - "") as the kye name to specify the default key which is shown as (Default) in regedit.exe. + \S2{deleteinisec} DeleteINISec \c ini_filename section_name diff --git a/Docs/src/sec.but b/Docs/src/sec.but index b3605b27..0239e3cd 100644 --- a/Docs/src/sec.but +++ b/Docs/src/sec.but @@ -70,7 +70,7 @@ Get the current InstType and stores the Value in the given User Variable. The va \c inst_type_idx text -Sets the Text of the specified InstType. If the Text is empty than the InstType is removed. By using a previously unused inst_type_idx number you can create new InstTypes. To add/remove Sections to this new InstType see \R{sectionsetinsttypes}{SectionSetInstTypes}. Unlike \R{sectionin}{SectionIn} the index is zero based, which means the first installation type's index is 0. +Sets the Text of the specified InstType. If the Text is empty than the InstType is removed. By using a previously unused inst_type_idx number you can create new InstTypes. To add/remove Sections to this new InstType see \R{sectionsetinsttypes}{SectionSetInstTypes}. Unlike \R{ssectionin}{SectionIn} the index is zero based, which means the first installation type's index is 0. \S2{sinsttypegettext} InstTypeGetText