Those settings are read from the registry in the msbuild .targets file if 
the values for the variables are not provided in the msbuild environment.

For instance, see C:\Program Files 
(x86)\MSBuild\Microsoft\WiX\v3.5\wix.targets, and look for the task 
_SetDefaultPathValues.

If you want to use WiX without installing it, you need to provide paths 
for WixToolPath, WixExtDir, and several other similar variables (see the 
other .target files).  We do this at my company in order to run WiX from 
within our repo without actually installing it (so our build scripts work 
on a "clean" server without wix installed, and each version of our app can 
safely depend on different (independent) versions of WiX).

Kelly



From:
"Gary Gocek" <g...@gocek.org>
To:
<wix-users@lists.sourceforge.net>
Date:
09/20/2010 07:54 PM
Subject:
[WiX-users] How do VS projects know where to find the WIX DLL?



When WIX is installed, it updates Visual Studio to provide, for example, a
C# custom action project type. This project type refers to
Microsoft.Deployment.WindowsInstaller.dll, and has a build action to run
MakeSfxCa.

How does Visual Studio know where that DLL resides? It's not in the GAC 
and
there doesn't seem to be a path variable with the WIX folder. The .csproj
file for the VS project does not contain the path.

Just curious,
Gary



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or opinions
upon which reliance may be made by the addressee or any other party,
and it should be considered to be a work in progress. Unless otherwise
noted in this email or its attachments, this communication does not form 
a Statement of Actuarial Opinion under American Academy of Actuaries guidelines.
**************************************************************************************
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to