Error writing to the registry

Got a problem you cannot solve? Try here.
Post Reply
shomw
Posts: 17
Joined: Wed Jan 18, 2006 9:31 pm

Error writing to the registry

Post by shomw »

hi I'm reading a value from an ini file and trying to add that to the registry
I am starting the install as the Administrator yet I recieve the attached error
here is the text in my script

Set Variable IDCFG to


Get INI $TARGETDIR$\\idcfg.ini, [ClientConfig] ShowScriptPlay Value into Variable IDCFG

Write Registry Key HKLM\\SOFTWARE\\------- ------\\---------- Client\\ShowScriptPlay, $IDCFG$


Thank you
Sam

[/img]

File Attached:

Error.GIF
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

You are writing to HKLM - does the setup have the necessary priviledges, or is it running in elevated mode if not?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
shomw
Posts: 17
Joined: Wed Jan 18, 2006 9:31 pm

Post by shomw »

This was user error. I found the problem.
Sam
Post Reply