I just installed Wix3.0.4805.0-x64-setup from Sourceforge, and I'm trying to 
build a very simple installer from Visual Studio 2008.

I've created a WIX project as well as my application project; however, when I 
add a reference to my application project, the 'references' item has a yellow 
warning icon , and the installer fails to build:

>             C:\Program Files (x86)\Windows Installer XML v3\bin\candle.exe 
> -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 
> 9.0\Common7\IDE\\" -d"SolutionDir=C:\Users\erbrown\Documents\Visual Studio 
> 2008\Projects\My Test Project\\" -dSolutionExt=.sln -d"SolutionFileName=My 
> Test Project.sln" -d"SolutionName=My Test Project" 
> -d"SolutionPath=C:\Users\erbrown\Documents\Visual Studio 2008\Projects\My 
> Test Project\My Test Project.sln" -dConfiguration=Release 
> -dOutDir=bin\Release\ -dPlatform=x86 
> -d"ProjectDir=C:\Users\erbrown\Documents\Visual Studio 2008\Projects\My Test 
> Project\Installer\\" -dProjectExt=.wixproj 
> -dProjectFileName=Installer.wixproj -dProjectName=Installer 
> -d"ProjectPath=C:\Users\erbrown\Documents\Visual Studio 2008\Projects\My Test 
> Project\Installer\Installer.wixproj" 
> -d"TargetDir=C:\Users\erbrown\Documents\Visual Studio 2008\Projects\My Test 
> Project\Installer\bin\Release\\" -dTargetExt=.msi 
> -dTargetFileName=WindowsAccelerators.msi -dTargetName=WindowsAccelerators 
> -d"TargetPath=C:\Users\erbrown\Documents\Visual Studio 2008\Projects\My Test 
> Project\Installer\bin\Release\WindowsAccelerators.msi" -out 
> obj\Release\Product.wixobj -arch x86 Product.wxs
1>C:\Users\erbrown\Documents\Visual Studio 2008\Projects\My Test 
Project\Installer\Product.wxs(13,0): error CNDL0150: Undefined preprocessor 
variable '$(var.My Test Project.TargetFileName)'.
1>Done building project "Installer.wixproj" -- FAILED.
1>
1>Build FAILED.


So, what am I doing wrong?  All the documentation suggests that this should 
just work.

I'm running Visual Studio 2008 Team Developer edition on 64-bit Windows.
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to