Not certain that this is exactly what you are looking for, if you are
actually attempting to update the directory table (based on the MY_DIRECTORY
property listed), then this may help.

    <!-- This block replaces the parent directory (in the Directory table)
of 
         SMHelp directory entry. 
         This allows the user defined Start Menu property to be used for the 
         shortcuts.
    -->
    <Configuration Name="SHORTCUTFOLDER" Format="Key" Type="Identifier"
DefaultValue="SHORTCUTFOLDER"
                   Description="Start Menu Path" DisplayName="Start Menu
Folder"/>
    <Substitution Table="Directory" Column="Directory_Parent" Row="SMHelp"
Value="[=SHORTCUTFOLDER]"/>

<Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="SMHelp" Name="Help Documentation" ShortName="HELPDOC"
/>
...


The property SHORTCUTFOLDER is generated in the MSI and becomes the parent
directory of the SMHelp directory that exists in the merge module. 

You'll also need an entry in the directory table of the MSI project for the
SHORTCUTFOLDER directory, as the actual path is generated it doesn't really
matter where in the hierarchy it is.
    <Directory Id="SHORTCUTFOLDER" Name="ProgramMenuFolder"/>

 When the module is merged into the MSI the parent of the SMHelp directory
will become SHORTCUTFOLDER.

bill packard
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Passing-properties-to-merge-modules-tp5417112p5417343.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to