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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
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.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to