I wanna add an unique value to register on every new install

Got a problem you cannot solve? Try here.
Post Reply
nucce
Posts: 1
Joined: Mon Jan 12, 2009 10:38 am

I wanna add an unique value to register on every new install

Post by nucce »

Hi!

Just exploring InstallAware abit, great software.. But I cant figure out howto add an value to the register?
I found in the wizard where you can make it to set registervalues by default but I need one there I can input a name.

I want the user to install a new "Group" name every time, and that should contain a unique key every time, that the user himself choose.

Should look like this when its done:
\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Exemple1
Group | Reg_SZ | (randomname)

Full regards.
ulrichard
Posts: 150
Joined: Thu Dec 27, 2007 5:45 am
Location: Switzerland
Contact:

Post by ulrichard »

Hi nucce,

in 5 minutes of research I found neither a simple InputBox command in InstallAware nor in the Win32 API.
So it looks like you have to get that user input with an InstallAware dialog.
Play a bit with the dialog editor, and if you have further questions feel free to ask.

Writing to the registry is the easier part in this case with the "Write Registry" command.

Rgds
Richard
http://www.pointline.com
http://www.paraeasy.ch
http://ulrichard.ch
Post Reply