Page 1 of 1

Error writing to the registry

Posted: Mon Feb 06, 2006 5:27 pm
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

Posted: Mon Feb 06, 2006 8:29 pm
by MichaelNesmith
You are writing to HKLM - does the setup have the necessary priviledges, or is it running in elevated mode if not?

Posted: Tue Feb 07, 2006 5:08 pm
by shomw
This was user error. I found the problem.
Sam