Hello,

I am trying to install a TFS WI Control to the "CommonAppDataFolder". My
Code looks like this.

<Property Id="INSTALLPATH"><![CDATA[C:\ProgramData\Microsoft\Team
Foundation\Work Item Tracking\Custom Controls\9.0\]]></Property>
   <Directory Id="TARGETDIR" Name="SourceDir">
       <Directory Id="INSTALLPATH" Name=".">
           <Component Id="C_TFSControl" Guid="MYGUID" DiskId="1">
                <File Id="F_MyFile_dll" Name="MyFile.dll" Source="
$(var.BINARYDROP)\" />
           </Component>
        </Directory>
    </Directory>

Q1)  How can I get the datafolder and append the "Microsoft\Team
Foundation\Work Item Tracking\Custom Controls\9.0\" during install? So that
it will work for Windows XP/Win 2003 and as well VISTA/Win7 too?

Q2) When I tried as below I get error "could not access network location".
        <Property
Id="INSTALLPATH"><![CDATA[[CommonAppDataFolder]\Microsoft\Team
Foundation\Work Item Tracking\Custom Controls\9.0\]]></Property>
Thanks,
Prabhat Nath
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to