Hello!
I am trying to add registry keys from the command line. However I have a small problem when try to set the (Default) value for a registry key.
If I try to add a default value for "SomeKey" it ends up being a value in the "Classes" key.
AdvancedInstaller.com /edit generic.aip /NewReg -RegValue HKCU\Software\Classes\SomeKey\ -data [#myFile]
Exported Registry Results from Windows:
[HKEY_CURRENT_USER\Software\Classes]
"SomeKey"="C:\\Program Files (x86)\\MyProgram\\myFile"
What I really want is a registry key with a default value, in regedit it shows up as "(Default)" and exports like this:
[HKEY_CURRENT_USER\Software\Classes\SomeKey]
@="C:\\Program Files (x86)\\MyProgram\\myFile"
Unfortunately I tried specifying the "@" or "(Default)" and neither of those work.
Thanks for any help.