Bugs item #1908338, was opened at 2008-03-05 13:49 Message generated for change (Settings changed) made by robmen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1908338&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: votive Group: v3.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Craig E. Shea (codeguru413) >Assigned to: Justin Rockwood (justinrockwood) Summary: $(var.SolutionDir) and friends... Initial Comment: I came across Aaron Stebner's blog where he outlined some useful Wix constructs, such as $(var.SolutionDir) and friends. However, when I tried to use them, the compiler gave me the following error: The file *Undefined if not building from within Visual Studio*\<path_to_my_file> could not be found. I stopped using it. However, today, I've been trying to figure out how Wix works some more and I noticed on the output tab of Microsoft Visual Studio 2005 SP1 after compiling my wxs file that I had a lot of these statements. Here's an example of a command that candle is using: C:\Program Files\Windows Installer XML v3\bin\candle.exe -dDebug -d"DevEnvDir=*Undefined if not building from within Visual Studio*" -d"SolutionDir=*Undefined if not building a solution or within Visual Studio*" -d"SolutionExt=*Undefined if not building a solution or within Visual Studio*" -d"SolutionFileName=*Undefined if not building a solution or within Visual Studio*" -d"SolutionName=*Undefined if not building a solution or within Visual Studio*" -d"SolutionPath=*Undefined if not building a solution or within Visual Studio*" -out obj\Debug\TtecUI_Advanced.wixobj -v TtecUI_Advanced.wxs I should note that I'm running Vista SP1 as well. I got no errors during the install of ProjectAggregator or Wix3 that I am aware of (i.e. I didn't get any error dialog boxes and Vista didn't complain, it only took longer than I would have thought to install). I don't know if this is a bug in Wix, in the installation of Wix on Vista w/ VS2005, or just a hiccup in my installation. If this is not the case for others, could you perhaps point me in the right direction to troubleshooting this? Thanks in advance. ~ Craig S. ---------------------------------------------------------------------- Comment By: Doug S (tpaxatb) Date: 2008-03-06 06:54 Message: Logged In: YES user_id=1342505 Originator: NO This pretty much is a repeat of 1717966 - for some reason you need to have a managed project (VB, C#, J#) in the solution for the $(var.Solution*) variables to be set properly. In addition, after adding the project, you need to reload the Wix project for the variables to be refreshed. ---------------------------------------------------------------------- Comment By: Doug S (tpaxatb) Date: 2008-03-06 06:01 Message: Logged In: YES user_id=1342505 Originator: NO This pretty much is a repeat of 1717966 - for some reason you need to have a managed project (VB, C#, J#) in the solution for the $(var.Solution*) variables to be set properly. In addition, after adding the project, you need to reload the Wix project for the variables to be refreshed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1908338&group_id=105970 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
