I am working through some conditional logic in getting the project, and hence 
TFS Build to build our installs.  The issue I am coming up against is that the 
SDK install locations are different on different computers.

Currently, I detect this using this logic inside the WixProj file:

    <SDK70A>$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft 
sdks\windows\v7....@installationfolder)</SDK70A>

    <SDKPath>$(SDK70A)</SDKPath>
    <SDKPath Condition=" '$(SDKPath)' == ''">C:\Program Files\Microsoft 
SDKs\Windows\v6.0A\</SDKPath>

I would like to enhance this further because the location of the bootstrapper 
directory apparently varies depending on what is installed, and perhaps what 
order it was installed.

Is there a way to determine if a directory exists within the WixProj file that 
will allow it to work in both Visual Studio, as well as MSBuild?

Thanks,
John

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to