------------------------------------------------------------------------------------------------------------------------------------------------------------------
I am creating an installer that replaces my .REG file to add Windows registry entries.
Here is a sample entry from my .REG file:
; Lock
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Lock]
@="Lock"
"icon"="shell32.dll,-48"
Note the use of the @ symbol to represent (Default) values in the registry. These default values end up looking like the following (RegEdit screenshot):

In Advanced Installer, if I right-click a registry key and select New Value... I don't see where I can set the type to (Default).
. The only choices are String, Expandable string, Integer, and Binary.
Should I just select String for the type and type (Default) in the name field as follows:?**

Thank you.
Jan
**UPDATE: I tried making the value type String and naming it (Default) but it did not work. The value was treated string with the name (Default) and not a true default value.
P.S. I was trying out InstallShield for Visual Studio 2010 and it looks like they provide the ability to add a (Default) value to a registry key. Here is a screenshot:

Possibly a (major) limitation in the Advanced Installer registry capability? Not sure until I know if there is a workaround.
FOLLOW US
Get the latest news in Application Packaging