On Mon, Dec 22, 2008 at 4:49 PM, Colin Fox <greenene...@gmail.com> wrote:

>
>
> There is an example referenced in the tutorial that does just about the
> same thing, though he's going based on the location of the .ini file. But he
> sets the INSTALLDIR property the same way (just before the 3 nested
> directories), and uses it the same way.
>
>
>
Actually, the example is a little bit more mystifying:

<Property Id="INSTALLDIR">
<IniFileSearch Id="AcmeFoobarIniFile" Type="directory"
Name="SampleRegistry.ini" Section="Sample" Key="InstallDir" Field="1"/>
</Property>
...
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="Acme" Name="Acme">
<Directory Id="INSTALLDIR" Name="Foobar10" LongName="Foobar 1.0">
...

According to my understanding, the INSTALLDIR property is being set to a
full directory path. But the last Directory tag is using *both* the
INSTALLDIR as an ID and also a name field. Why both?


-- 
Regards,
 cf
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to