I have a task to add a file to a directory that appears after the 3rd party 
software has been installed. 

I am using    
<Property Id="3RDPARTYPROGRAM_PATH"
             Value="no"
             Secure="yes">
      <RegistrySearch Id="PATH"
      Root="HKLM"
      Key="SOFTWARE\HKEY_LOCAL_MACHINE\SOFTWARE\PROGRAM\PATH"
      Name="ProgramPath"
      Type="raw" />
    </Property>

to get the installation path and 

    <Feature Id="ADDFILE"
             Title="Install File"
             Level="1">
        <Component
         Id='AddingFile'
         Directory='GetDirectory' 
         Guid='CDFE51BF-5B54-4EE5-9E1E-D4D0BB993B9F'>
          <File
            Id='FileToAdd'
            Name='FileName'
            DiskId='1'
            Source='C:\File.txt'
            KeyPath='yes'  />
        </Component>
    </Feature>

How do I pass Directory name from 3RDPARTYPROGRAM_PATH Value to 'GetDirectory'? 
Would appreciate your help. 

David Klyatz

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to