How to create a registry Key with Regedt32.exe ?

  • Thread starter Thread starter Adam Smith
  • Start date Start date
A

Adam Smith

Guest
I am cautiously attempting to insert a key into my registry but the
instructions seems to miss some details. I have done this before but now
seem to have lost my way, perhaps some one can guide me back on track.
Below is the instruction set:
---------------------------------------------------

How Do I Enable Windows Installer Logging?

Windows includes a registry-activated logging services to help diagnose
Windows Installer issues. This article describes how to enable this
logging service.

Open the registry with Regedt32.exe and create the following path and keys:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Reg_SZ: Logging
Value: voicewarmup

The letters in the value field can be in any order. Each letter turns on
a different logging mode. Each letter's actual function is as follows
for MSI version 1.1:
v - Verbose output
o - Out-of-disk-space messages
i - Status messages
c - Initial UI parameters
e - All error messages
w - Non-fatal warnings
a - Start up of actions
r - Action-specific records
m - Out-of-memory or fatal exit information
u - User requests
p - Terminal properties
+ - Append to existing file
! - Flush each line to the log

"*" - Wildcard, log all information except for the v option. To include
the v option, specify "/l*v".

Once activated, the log files that are generated may be found in your
%TEMP% directory.
---------------------------------------------------

The problem is with the insertion of the "Reg_SZ" and the "Value".
I've inserted the Installer Path >>
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Edit>>AddKey>>Keyname Reg_SZ [Class left MT]
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\Reg_SZ
Edit>>Add Value>>Value Name Logging [DataType - Reg_SZ auto loaded]
Data > displays Logging:Reg_SZ: ???

Need some help here as I do not wish to screw up the Registry
many questions relevant to set up, is value a subtree of Reg_SZ etc.?
 
Re: How to create a registry Key with Regedt32.exe ?

You can use regedit.exe for adding Reg_Sz strings. Also you should post the
article ID when asking questions like this for reference.


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Adam Smith" wrote:
>I am cautiously attempting to insert a key into my registry but the
>instructions seems to miss some details. I have done this before but now
>seem to have lost my way, perhaps some one can guide me back on track.
>Below is the instruction set:
> ---------------------------------------------------
>
> How Do I Enable Windows Installer Logging?
>
> Windows includes a registry-activated logging services to help diagnose
> Windows Installer issues. This article describes how to enable this
> logging service.
>
> Open the registry with Regedt32.exe and create the following path and
> keys:
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
> Reg_SZ: Logging
> Value: voicewarmup
>
> The letters in the value field can be in any order. Each letter turns on a
> different logging mode. Each letter's actual function is as follows for
> MSI version 1.1:
> v - Verbose output
> o - Out-of-disk-space messages
> i - Status messages
> c - Initial UI parameters
> e - All error messages
> w - Non-fatal warnings
> a - Start up of actions
> r - Action-specific records
> m - Out-of-memory or fatal exit information
> u - User requests
> p - Terminal properties
> + - Append to existing file
> ! - Flush each line to the log
>
> "*" - Wildcard, log all information except for the v option. To include
> the v option, specify "/l*v".
>
> Once activated, the log files that are generated may be found in your
> %TEMP% directory.
> ---------------------------------------------------
>
> The problem is with the insertion of the "Reg_SZ" and the "Value".
> I've inserted the Installer Path >>
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
> Edit>>AddKey>>Keyname Reg_SZ [Class left MT]
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\Reg_SZ
> Edit>>Add Value>>Value Name Logging [DataType - Reg_SZ auto loaded]
> Data > displays Logging:Reg_SZ: ???
>
> Need some help here as I do not wish to screw up the Registry
> many questions relevant to set up, is value a subtree of Reg_SZ etc.?
 
Re: How to create a registry Key with Regedt32.exe ?

Dave Patrick wrote:
> You can use regedit.exe for adding Reg_Sz strings. Also you should post
> the article ID when asking questions like this for reference.
>
>

Article http://www.appdeploy.com/faq/detail.asp?id=73

Your reply still leaves me in the dark, I am OK using either
Regedt32.exe or regedit.exe
but either way it does not clarify the question raised at the end of the
posting,

Re:
The problem is with the insertion of the "Reg_SZ" and the "Value".
I've inserted the Installer Path >>
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Edit>>AddKey>>Keyname Reg_SZ [Class left MT]
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\Reg_SZ
Edit>>Add Value>>Value Name Logging [DataType - Reg_SZ auto loaded]
Data > displays Logging:Reg_SZ: ???

OK, I've created the
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

do I use
Edit>>AddKey>>Keyname Reg_SZ [Class left MT]
what do I put in he class field?
where do I put "Logging" ?

where and how do I enter the "Value: voicewarmup" data or is it
value?
 
Re: How to create a registry Key with Regedt32.exe ?

Start|Run|regedit.exe, then navigate to the desired key, then in the
right-hand pane right-click and choose New|String then name it as required.
Then double-click the newly added string and set the value as needed.


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Adam Smith" wrote:
> Article http://www.appdeploy.com/faq/detail.asp?id=73
>
> Your reply still leaves me in the dark, I am OK using either Regedt32.exe
> or regedit.exe
> but either way it does not clarify the question raised at the end of the
> posting,
>
> Re:
> The problem is with the insertion of the "Reg_SZ" and the "Value".
> I've inserted the Installer Path >>
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
> Edit>>AddKey>>Keyname Reg_SZ [Class left MT]
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\Reg_SZ
> Edit>>Add Value>>Value Name Logging [DataType - Reg_SZ auto loaded]
> Data > displays Logging:Reg_SZ: ???
>
> OK, I've created the
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
>
> do I use
> Edit>>AddKey>>Keyname Reg_SZ [Class left MT]
> what do I put in he class field?
> where do I put "Logging" ?
>
> where and how do I enter the "Value: voicewarmup" data or is it
> value?
>
 
Re: How to create a registry Key with Regedt32.exe ?

Adam Smith wrote:
> I am cautiously attempting to insert a key into my registry but the
> instructions seems to miss some details. I have done this before but now
> seem to have lost my way, perhaps some one can guide me back on track.
> Below is the instruction set:
> ---------------------------------------------------
>
> How Do I Enable Windows Installer Logging?
>
> Windows includes a registry-activated logging services to help diagnose
> Windows Installer issues. This article describes how to enable this
> logging service.
>
> Open the registry with Regedt32.exe and create the following path and keys:
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
> Reg_SZ: Logging
> Value: voicewarmup
>
> The letters in the value field can be in any order. Each letter turns on
> a different logging mode. Each letter's actual function is as follows
> for MSI version 1.1:
> v - Verbose output
> o - Out-of-disk-space messages
> i - Status messages
> c - Initial UI parameters
> e - All error messages
> w - Non-fatal warnings
> a - Start up of actions
> r - Action-specific records
> m - Out-of-memory or fatal exit information
> u - User requests
> p - Terminal properties
> + - Append to existing file
> ! - Flush each line to the log
>
> "*" - Wildcard, log all information except for the v option. To include
> the v option, specify "/l*v".
>
> Once activated, the log files that are generated may be found in your
> %TEMP% directory.
> ---------------------------------------------------
>
> The problem is with the insertion of the "Reg_SZ" and the "Value".
> I've inserted the Installer Path >>
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
> Edit>>AddKey>>Keyname Reg_SZ [Class left MT]
> HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer\Reg_SZ
> Edit>>Add Value>>Value Name Logging [DataType - Reg_SZ auto loaded]
> Data > displays Logging:Reg_SZ: ???
>
> Need some help here as I do not wish to screw up the Registry
> many questions relevant to set up, is value a subtree of Reg_SZ etc.?


It appears the article is suggesting this:

1) Go to the key:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

2) Edit menu > New > String value

3) Change the name of the new string value to "Logging"

4) Change the value of the new string value to "voicewarmup"

Other observations

* REG_SZ is a datatype for value entries, synonymous with "String
Value." You will have no key or value that is *named* REG_SZ.
 
Re: How to create a registry Key with Regedt32.exe ?

You're welcome.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Adam Smith" wrote:
> Thanks - will do
 
Back
Top