<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=438294922-22052008><FONT face=Arial
color=#0000ff size=2>I haven't done any InnoSetup work requiring reading of
registry keys, but after having a look at the Inno Setup doco, it appears that
you haven't actually specified your value name.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=438294922-22052008>Should
your code not read:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=438294922-22052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=438294922-22052008>[Setup]</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=438294922-22052008>DefaultDirName={reg
:hklm\software\test1\key,<STRONG><EM>keyvalue</EM></STRONG>|}<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=438294922-22052008>The
help says "ValueName specifies the name of the value to read; leave ValueName
blank if you wish to read the "default" value of a key."</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=438294922-22052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=438294922-22052008>I
don't understand what you mean by "under popup", so if I have misunderstood what
you have done, my apologies.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=438294922-22052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=438294922-22052008>Hope
this helps,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=438294922-22052008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=438294922-22052008>Conor</SPAN></FONT></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma><FONT size=2><B>From:</B> delphi-bounces@delphi.org.nz
[mailto:delphi-bounces@delphi.org.nz] <B>On Behalf Of </B>Vikas...<BR><SPAN
class=438294922-22052008><FONT face=Arial
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>This may be out of
question here. Anyone worked with Inno set up. Actually i am creating a
set up using Inno. but the problem is i want to access a value from registry and
cpy the content of setup to that path</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>i have following thign in registry</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>hklm-->software-->test1->key-->keyvalue</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>now in ino setup i have used</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>[Setup]<BR><BR>DefaultDirName={reg :hklm\software\test1\key,|}</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>but when i run the setup it gives me someother stuff in default directory
option under pop up</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>i am new to this thing. Please anyone if worked on it can help
me.</DIV></BODY></HTML>