Page 1 of 1

Installdir from RegistryValue

Posted: Sun Jan 06, 2013 4:31 am
by michel
Hi ,, iam new in this forum and have the 30 Day test Version installed to testwork the program.

i have in past worked with other installer and now i will change.


I have a simple question:

i will readout created registry key to set automatically installdir for copying files.

for example:

in registry exists, in key "hklm/software/test/testsoft" ,a value of a directory "testdir"
on installmedium exists files
the files from installmedium must be copied in specified dir in registryvalue.
( installmedium/files/*.* mußt copy to dir from registryvalue "testdir"

please tell me what kind of script i must type use or create.

in old installer from threax i create variable to read dir from registry and define value to solve this.
in new installer from you the design completely new and structure is difficult. english ist not my standardlanguage.
script create is changed and unknown for me.

thanks for your time and help

Re: Installdir from RegistryValue

Posted: Mon Jan 07, 2013 5:48 am
by FrancescoT
Dear Michel,

If you want to read a key value under registry use "Read Registry" IA command as with the following code example;

InstallAware Clipboard Data format;

Code: Select all

~InstallAware Clipboard Data~
~Read Registry~
~{7B71D660-D375-474D-8389-57EEE17753B3}~
~MYREGVARIABLE~
~2~
~software\test\testsoft~
~testdir~
~Set Variable~
~{F39B2109-0370-47C8-83E2-1FBDD63A5F9C}~
~MYREGVARIABLE$MYAH$MYAH$FALSE~
~~


The same in human readable format;

Code: Select all

Set Variable MYREGVARIABLE to
Read Registry Key HKLM\software\test\testsoft\testdir into MYREGVARIABLE


Hope this helps you.

Regards

Re: Installdir from RegistryValue

Posted: Mon Jan 07, 2013 6:06 am
by michel
hi FrancescoT

,, very thanks for your help. I test your code and write feedback to this. :D

Re: Installdir from RegistryValue

Posted: Mon Jan 07, 2013 12:56 pm
by michel
hi FrancescoT,

I am back.

I have make many starts with the code , but iam many Trouble.

Iam surprised about my inability.

With old Astrum Installer i works good , but the astrum have not the options of installaware. this is reason for me to change to installaware.

The design of installaware are difficult for me , but i will learn.

Can you tell me a step by step guide to solve the problem? i search web for instruction book with examples or a book for dummies, but found nothing.

Basicly setups i can make but extended are difficult for me because of other constrctionstructure of programm.

please give me the right way to order the infos correctly in my head.

I realized is that it is hard to get used to convert from other Programm to other.

I will learn this really and hope for your help.

Re: Installdir from RegistryValue

Posted: Mon Jan 07, 2013 1:18 pm
by FrancescoT
Dear Michel,

I suggest you to have a look at our documentation available on line at:
http://www.installaware.com/publications-whitepapers.htm

and in particular to the following documents:
- Using InstallAware to Deploy Microsoft .NET Framework Applications (it can be easily adapted with any kind of application)
- MSIcode Scripting Technology for Windows Installer

Of course, if you have a question about InstallAware use our forum.

Hope this helps you.

Re: Installdir from RegistryValue

Posted: Tue Jan 08, 2013 3:24 am
by michel
Hi FrancescoT,

i take a look in the Dokuments and study this. If a have Questions i post in Forum.

Thanks for your help :D

Re: Installdir from RegistryValue

Posted: Tue Jan 08, 2013 5:57 am
by FrancescoT
:D :D :D