Error writing to the registry

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

Error writing to the registry

Postby shomw » Mon Feb 06, 2006 5:27 pm

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:

Postby MichaelNesmith » Mon Feb 06, 2006 8:29 pm

You are writing to HKLM - does the setup have the necessary priviledges, or is it running in elevated mode if not?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

shomw
Posts: 17
Joined: Wed Jan 18, 2006 9:31 pm

Postby shomw » Tue Feb 07, 2006 5:08 pm

This was user error. I found the problem.
Sam


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 175 guests