cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hh1234
Level 5

Add Reg Keys

Under System Configuration \ Registry I want to add a new key. I want to Add HKLM\MyCustomKey\PRODUCTNAME and I want product name to be the variable Pruduct Name from the General Information page. What is the syntax to do that?

HKLM\MyCustomKey\[%productname%]\MyCustomDataValue is what we need to do.

Thank you.
Labels (1)
0 Kudos
(3) Replies
manomatt
Level 8

Giving the key as "HKLM\MyCustomKey\[ProductName]\MyCustomDataValue" is good enough to get your product name expanded during the install time
0 Kudos
hh1234
Level 5

Thanks. But I have a new issue. Under System Configuration\Registry I navigate to Destination Computer - Default (Always Installed). There I create a new key under HKLM\MyNewKey.

I compile my script and run it. The reg key does Not get installed. Why?

Thanks.
0 Kudos
manomatt
Level 8

hi

Try to create a registry key manually just under HKLM\ , were you able to do that ...

windows does not allow it!!
0 Kudos