cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
thomasc
Level 2

Can't add a new registry key& value

Dear all.

I am trying to add a new key and value as below:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

key: abc
keytype:REG_EXPAND_SZ
value: %ProgramFiles%\abc\abc.exe

can somebody help me?
thanks.

my install shield version is: 2009 pro 32 bit
OS Win7 64 bit.
Labels (1)
0 Kudos
(2) Replies
gprasadholla
Level 4

Are you running the installer as 64Bit installer?

If not, see if its writing into Wow6432Node?

You are running the installer as admin right?
0 Kudos
J_anitha
Level 8

Did you try using REGDB_OPTION_WOW64_64KEY before creating key in 64Bit OS.
0 Kudos