[DUG] need help in bulding setup (delphi)

Conor Boyd Conor.Boyd at trimble.co.nz
Fri May 23 10:53:41 NZST 2008


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.
 
Should your code not read:
 
[Setup]
DefaultDirName={reg :hklm\software\test1\key,keyvalue|}

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."
 
I don't understand what you mean by "under popup", so if I have
misunderstood what you have done, my apologies.
 
Hope this helps,
 
Conor

________________________________

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Vikas...
 
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
 
i have following thign in registry
 
hklm-->software-->test1->key-->keyvalue
 
now in ino setup i have  used
 
[Setup]

DefaultDirName={reg :hklm\software\test1\key,|}
 
but when i run the setup it gives me someother stuff in default
directory option under pop up
 
i am new to this thing. Please anyone if worked on it can help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20080523/5640f8f3/attachment.html


More information about the Delphi mailing list