Hi everybody,
I have to read a registry value from a specific key ( lets say
HKLM\Software\Company\ ) and this value contains the path to the location
where we need to install the software (so the format of the value will be
something like "C:\Company\HomeDir\" ).
How can I get this value by use of <RegistrySearch> Element? How can I
assign this value to the Directory where I want to install files in?
<Directory Id="TARGETDIR" Name="SourceDir" >
<Directory Id="CompanyDIR" Name="Company" >
<Component Id="Components" Guid="<Sample-GUID>" >
<File Id='file01' Name='SampleFile' />
</Component>
</Directory>
</Directory>
This means, the Value must be divided into the directory names, and be used
in the <Directory> names. But how can I get this value by <RegistrySearch>
Element, and how can I divide it? Can anybody give me a sample code?
Also I must add that I use "wix-2.0.5805.0" as the stable version.
Thank you very much,
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users