Re: [WiX-users] Using Wix and Visual Studio
There is a bug open hoping to fix the problem... at the very least a better error message is hoped for. Eric Brown (REDMOND) wrote: > That does seem to be the problem; if I use a sample C# project, it works fine. > > It would be nice if this was more obvious. Sigh. > > -Original Message- > From: Christopher Karper [mailto:christopher.kar...@gmail.com] > Sent: Friday, April 03, 2009 11:56 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Using Wix and Visual Studio > > Yeah, I believe that would be the problem. That's the missing piece of the > puzzle. > > Chris > > On Fri, Apr 3, 2009 at 2:40 PM, Simon Dahlbacka > wrote: > > >> I seem to remember that VC++ projects are not supported as project >> references as they do not use msbuild. Please correct me if I'm wrong >> though.. >> >> /Simon >> >> On Fri, Apr 3, 2009 at 9:31 PM, Eric Brown (REDMOND) >> wrote: >> >>> >>> simple >>> {51fd4fe2-5128-4557-b23c-be67ca3fe745} >>> True >>> >>> >>> -Original Message- >>> From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] >>> Sent: Friday, April 03, 2009 11:22 AM >>> To: General discussion for Windows Installer XML toolset. >>> Subject: Re: [WiX-users] Using Wix and Visual Studio >>> >>> how does the tag look in your .wixproj file? >>> >>> On Fri, Apr 3, 2009 at 9:13 PM, Eric Brown (REDMOND) >>> wrote: >>> >>>> Multiple times. It always comes back yellow. There's no tooltip to >>>> >> provide any further feedback. (Also, I've tried this with a separate dummy >> project - I get the same problem.) >> >>>> -Original Message- >>>> From: Christopher Karper [mailto:christopher.kar...@gmail.com] >>>> Sent: Friday, April 03, 2009 11:07 AM >>>> To: General discussion for Windows Installer XML toolset. >>>> Subject: Re: [WiX-users] Using Wix and Visual Studio >>>> >>>> That is VS saying the reference is invalid somehow. I'm not sure what >>>> >> the >> >>>> specific problem is, but have you tried deleting the reference and >>>> recreating it? Sorry I can't do more to help right now, but I'm >>>> >> wrestling >> >>>> TFS and Team Build, and it's winning. >>>> >>>> Chris >>>> >>>> On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < >>>> eric.br...@microsoft.com> wrote: >>>> >>>> >>>>> Also, there is that yellow warning icon on the project reference. I >>>>> >> don't >> >>>>> know what that means, and I can't find a reference in the >>>>> >> documentation. >> >>>>> -Original Message- >>>>> From: Christopher Karper [mailto:christopher.kar...@gmail.com] >>>>> Sent: Friday, April 03, 2009 10:17 AM >>>>> To: General discussion for Windows Installer XML toolset. >>>>> Subject: Re: [WiX-users] Using Wix and Visual Studio >>>>> >>>>> I use spaces in my project names and project references, and they're >>>>> >> all >> >>>>> fine. >>>>> I suspect his problem is something else. I'm not sure what that is, >>>>> >> since >> >>>>> this exact scenario, even down to the environment seems to match. >>>>> >>>>> Chris >>>>> >>>>> On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < >>>>> eric.br...@microsoft.com> wrote: >>>>> >>>>> >>>>>> Tried using underscores and renaming; still get the same error >>>>>> >> (CNDL0150: >> >>>>>> Undefined preprocessor variable). >>>>>> >>>>>> -Original Message- >>>>>> From: Jason Ginchereau [mailto:jason...@microsoft.com] >>>>>> Sent: Thursday, April 02, 2009 5:55 PM >>>>>> To: wix-users@lists.sourceforge.net >>>>>> Subject: R
Re: [WiX-users] Using Wix and Visual Studio
That does seem to be the problem; if I use a sample C# project, it works fine. It would be nice if this was more obvious. Sigh. -Original Message- From: Christopher Karper [mailto:christopher.kar...@gmail.com] Sent: Friday, April 03, 2009 11:56 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Using Wix and Visual Studio Yeah, I believe that would be the problem. That's the missing piece of the puzzle. Chris On Fri, Apr 3, 2009 at 2:40 PM, Simon Dahlbacka wrote: > I seem to remember that VC++ projects are not supported as project > references as they do not use msbuild. Please correct me if I'm wrong > though.. > > /Simon > > On Fri, Apr 3, 2009 at 9:31 PM, Eric Brown (REDMOND) > wrote: > > > > simple > > {51fd4fe2-5128-4557-b23c-be67ca3fe745} > > True > > > > > > -Original Message- > > From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] > > Sent: Friday, April 03, 2009 11:22 AM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > > how does the tag look in your .wixproj file? > > > > On Fri, Apr 3, 2009 at 9:13 PM, Eric Brown (REDMOND) > > wrote: > >> Multiple times. It always comes back yellow. There's no tooltip to > provide any further feedback. (Also, I've tried this with a separate dummy > project - I get the same problem.) > >> > >> -Original Message- > >> From: Christopher Karper [mailto:christopher.kar...@gmail.com] > >> Sent: Friday, April 03, 2009 11:07 AM > >> To: General discussion for Windows Installer XML toolset. > >> Subject: Re: [WiX-users] Using Wix and Visual Studio > >> > >> That is VS saying the reference is invalid somehow. I'm not sure what > the > >> specific problem is, but have you tried deleting the reference and > >> recreating it? Sorry I can't do more to help right now, but I'm > wrestling > >> TFS and Team Build, and it's winning. > >> > >> Chris > >> > >> On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < > >> eric.br...@microsoft.com> wrote: > >> > >>> Also, there is that yellow warning icon on the project reference. I > don't > >>> know what that means, and I can't find a reference in the > documentation. > >>> > >>> -Original Message- > >>> From: Christopher Karper [mailto:christopher.kar...@gmail.com] > >>> Sent: Friday, April 03, 2009 10:17 AM > >>> To: General discussion for Windows Installer XML toolset. > >>> Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > >>> I use spaces in my project names and project references, and they're > all > >>> fine. > >>> I suspect his problem is something else. I'm not sure what that is, > since > >>> this exact scenario, even down to the environment seems to match. > >>> > >>> Chris > >>> > >>> On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < > >>> eric.br...@microsoft.com> wrote: > >>> > >>> > Tried using underscores and renaming; still get the same error > (CNDL0150: > >>> > Undefined preprocessor variable). > >>> > > >>> > -Original Message- > >>> > From: Jason Ginchereau [mailto:jason...@microsoft.com] > >>> > Sent: Thursday, April 02, 2009 5:55 PM > >>> > To: wix-users@lists.sourceforge.net > >>> > Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > > >>> > Any characters in the project name that are invalid for WiX > preprocessor > >>> > variable names get automatically converted to underscores. So without > >>> > renaming the project this should work: > >>> > > >>> > $(var.My_Test_Project.TargetFilename) > >>> > > >>> > > >>> > -Original Message- > >>> > From: Alex Cater [mailto:alex.ca...@apdcomms.com] > >>> > Sent: Thursday, April 02, 2009 4:28 PM > >>> > To: wix-users@lists.sourceforge.net > >>> > Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > > >>> > > >>> > I'm guessing that you cannot have spaces in a project reference > >>> variable... > >>> > > >>> > $(var.My Tes
Re: [WiX-users] Using Wix and Visual Studio
Yeah, I believe that would be the problem. That's the missing piece of the puzzle. Chris On Fri, Apr 3, 2009 at 2:40 PM, Simon Dahlbacka wrote: > I seem to remember that VC++ projects are not supported as project > references as they do not use msbuild. Please correct me if I'm wrong > though.. > > /Simon > > On Fri, Apr 3, 2009 at 9:31 PM, Eric Brown (REDMOND) > wrote: > > > > simple > > {51fd4fe2-5128-4557-b23c-be67ca3fe745} > > True > > > > > > -Original Message- > > From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] > > Sent: Friday, April 03, 2009 11:22 AM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > > how does the tag look in your .wixproj file? > > > > On Fri, Apr 3, 2009 at 9:13 PM, Eric Brown (REDMOND) > > wrote: > >> Multiple times. It always comes back yellow. There's no tooltip to > provide any further feedback. (Also, I've tried this with a separate dummy > project - I get the same problem.) > >> > >> -Original Message- > >> From: Christopher Karper [mailto:christopher.kar...@gmail.com] > >> Sent: Friday, April 03, 2009 11:07 AM > >> To: General discussion for Windows Installer XML toolset. > >> Subject: Re: [WiX-users] Using Wix and Visual Studio > >> > >> That is VS saying the reference is invalid somehow. I'm not sure what > the > >> specific problem is, but have you tried deleting the reference and > >> recreating it? Sorry I can't do more to help right now, but I'm > wrestling > >> TFS and Team Build, and it's winning. > >> > >> Chris > >> > >> On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < > >> eric.br...@microsoft.com> wrote: > >> > >>> Also, there is that yellow warning icon on the project reference. I > don't > >>> know what that means, and I can't find a reference in the > documentation. > >>> > >>> -Original Message- > >>> From: Christopher Karper [mailto:christopher.kar...@gmail.com] > >>> Sent: Friday, April 03, 2009 10:17 AM > >>> To: General discussion for Windows Installer XML toolset. > >>> Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > >>> I use spaces in my project names and project references, and they're > all > >>> fine. > >>> I suspect his problem is something else. I'm not sure what that is, > since > >>> this exact scenario, even down to the environment seems to match. > >>> > >>> Chris > >>> > >>> On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < > >>> eric.br...@microsoft.com> wrote: > >>> > >>> > Tried using underscores and renaming; still get the same error > (CNDL0150: > >>> > Undefined preprocessor variable). > >>> > > >>> > -Original Message- > >>> > From: Jason Ginchereau [mailto:jason...@microsoft.com] > >>> > Sent: Thursday, April 02, 2009 5:55 PM > >>> > To: wix-users@lists.sourceforge.net > >>> > Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > > >>> > Any characters in the project name that are invalid for WiX > preprocessor > >>> > variable names get automatically converted to underscores. So without > >>> > renaming the project this should work: > >>> > > >>> > $(var.My_Test_Project.TargetFilename) > >>> > > >>> > > >>> > -Original Message- > >>> > From: Alex Cater [mailto:alex.ca...@apdcomms.com] > >>> > Sent: Thursday, April 02, 2009 4:28 PM > >>> > To: wix-users@lists.sourceforge.net > >>> > Subject: Re: [WiX-users] Using Wix and Visual Studio > >>> > > >>> > > >>> > I'm guessing that you cannot have spaces in a project reference > >>> variable... > >>> > > >>> > $(var.My Test Project.TargetFileName) > >>> > > >>> > Try renaming your test project to MyTestProject so the project > reference > >>> > variable becomes: > >>> > > >>> > $(var.MyTestProject.TargetFileName) > >>> > > >>
Re: [WiX-users] Using Wix and Visual Studio
I seem to remember that VC++ projects are not supported as project references as they do not use msbuild. Please correct me if I'm wrong though.. /Simon On Fri, Apr 3, 2009 at 9:31 PM, Eric Brown (REDMOND) wrote: > > simple > {51fd4fe2-5128-4557-b23c-be67ca3fe745} > True > > > -Original Message- > From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] > Sent: Friday, April 03, 2009 11:22 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Using Wix and Visual Studio > > how does the tag look in your .wixproj file? > > On Fri, Apr 3, 2009 at 9:13 PM, Eric Brown (REDMOND) > wrote: >> Multiple times. It always comes back yellow. There's no tooltip to >> provide any further feedback. (Also, I've tried this with a separate dummy >> project - I get the same problem.) >> >> -Original Message- >> From: Christopher Karper [mailto:christopher.kar...@gmail.com] >> Sent: Friday, April 03, 2009 11:07 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Using Wix and Visual Studio >> >> That is VS saying the reference is invalid somehow. I'm not sure what the >> specific problem is, but have you tried deleting the reference and >> recreating it? Sorry I can't do more to help right now, but I'm wrestling >> TFS and Team Build, and it's winning. >> >> Chris >> >> On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < >> eric.br...@microsoft.com> wrote: >> >>> Also, there is that yellow warning icon on the project reference. I don't >>> know what that means, and I can't find a reference in the documentation. >>> >>> -Original Message- >>> From: Christopher Karper [mailto:christopher.kar...@gmail.com] >>> Sent: Friday, April 03, 2009 10:17 AM >>> To: General discussion for Windows Installer XML toolset. >>> Subject: Re: [WiX-users] Using Wix and Visual Studio >>> >>> I use spaces in my project names and project references, and they're all >>> fine. >>> I suspect his problem is something else. I'm not sure what that is, since >>> this exact scenario, even down to the environment seems to match. >>> >>> Chris >>> >>> On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < >>> eric.br...@microsoft.com> wrote: >>> >>> > Tried using underscores and renaming; still get the same error (CNDL0150: >>> > Undefined preprocessor variable). >>> > >>> > -Original Message- >>> > From: Jason Ginchereau [mailto:jason...@microsoft.com] >>> > Sent: Thursday, April 02, 2009 5:55 PM >>> > To: wix-users@lists.sourceforge.net >>> > Subject: Re: [WiX-users] Using Wix and Visual Studio >>> > >>> > Any characters in the project name that are invalid for WiX preprocessor >>> > variable names get automatically converted to underscores. So without >>> > renaming the project this should work: >>> > >>> > $(var.My_Test_Project.TargetFilename) >>> > >>> > >>> > -Original Message- >>> > From: Alex Cater [mailto:alex.ca...@apdcomms.com] >>> > Sent: Thursday, April 02, 2009 4:28 PM >>> > To: wix-users@lists.sourceforge.net >>> > Subject: Re: [WiX-users] Using Wix and Visual Studio >>> > >>> > >>> > I'm guessing that you cannot have spaces in a project reference >>> variable... >>> > >>> > $(var.My Test Project.TargetFileName) >>> > >>> > Try renaming your test project to MyTestProject so the project reference >>> > variable becomes: >>> > >>> > $(var.MyTestProject.TargetFileName) >>> > >>> > -- >>> > View this message in context: >>> > http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html >>> > Sent from the wix-users mailing list archive at Nabble.com. >>> > >>> > >>> > >>> > >>> -- >>> > ___ >>> > WiX-users mailing list >>> > WiX-users@lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/wix-users >>> > >>> > >>> > >>> > >>> --
Re: [WiX-users] Using Wix and Visual Studio
simple {51fd4fe2-5128-4557-b23c-be67ca3fe745} True -Original Message- From: Simon Dahlbacka [mailto:simon.dahlba...@gmail.com] Sent: Friday, April 03, 2009 11:22 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Using Wix and Visual Studio how does the tag look in your .wixproj file? On Fri, Apr 3, 2009 at 9:13 PM, Eric Brown (REDMOND) wrote: > Multiple times. It always comes back yellow. There's no tooltip to provide > any further feedback. (Also, I've tried this with a separate dummy project > - I get the same problem.) > > -Original Message- > From: Christopher Karper [mailto:christopher.kar...@gmail.com] > Sent: Friday, April 03, 2009 11:07 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Using Wix and Visual Studio > > That is VS saying the reference is invalid somehow. I'm not sure what the > specific problem is, but have you tried deleting the reference and > recreating it? Sorry I can't do more to help right now, but I'm wrestling > TFS and Team Build, and it's winning. > > Chris > > On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < > eric.br...@microsoft.com> wrote: > >> Also, there is that yellow warning icon on the project reference. I don't >> know what that means, and I can't find a reference in the documentation. >> >> -Original Message- >> From: Christopher Karper [mailto:christopher.kar...@gmail.com] >> Sent: Friday, April 03, 2009 10:17 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Using Wix and Visual Studio >> >> I use spaces in my project names and project references, and they're all >> fine. >> I suspect his problem is something else. I'm not sure what that is, since >> this exact scenario, even down to the environment seems to match. >> >> Chris >> >> On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < >> eric.br...@microsoft.com> wrote: >> >> > Tried using underscores and renaming; still get the same error (CNDL0150: >> > Undefined preprocessor variable). >> > >> > -Original Message- >> > From: Jason Ginchereau [mailto:jason...@microsoft.com] >> > Sent: Thursday, April 02, 2009 5:55 PM >> > To: wix-users@lists.sourceforge.net >> > Subject: Re: [WiX-users] Using Wix and Visual Studio >> > >> > Any characters in the project name that are invalid for WiX preprocessor >> > variable names get automatically converted to underscores. So without >> > renaming the project this should work: >> > >> > $(var.My_Test_Project.TargetFilename) >> > >> > >> > -Original Message- >> > From: Alex Cater [mailto:alex.ca...@apdcomms.com] >> > Sent: Thursday, April 02, 2009 4:28 PM >> > To: wix-users@lists.sourceforge.net >> > Subject: Re: [WiX-users] Using Wix and Visual Studio >> > >> > >> > I'm guessing that you cannot have spaces in a project reference >> variable... >> > >> > $(var.My Test Project.TargetFileName) >> > >> > Try renaming your test project to MyTestProject so the project reference >> > variable becomes: >> > >> > $(var.MyTestProject.TargetFileName) >> > >> > -- >> > View this message in context: >> > http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html >> > Sent from the wix-users mailing list archive at Nabble.com. >> > >> > >> > >> > >> -- >> > ___ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> > >> > >> > >> -- >> > ___ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> > >> > >> > >> -- >> > ___ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.source
Re: [WiX-users] Using Wix and Visual Studio
how does the tag look in your .wixproj file? On Fri, Apr 3, 2009 at 9:13 PM, Eric Brown (REDMOND) wrote: > Multiple times. It always comes back yellow. There's no tooltip to provide > any further feedback. (Also, I've tried this with a separate dummy project > - I get the same problem.) > > -Original Message- > From: Christopher Karper [mailto:christopher.kar...@gmail.com] > Sent: Friday, April 03, 2009 11:07 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Using Wix and Visual Studio > > That is VS saying the reference is invalid somehow. I'm not sure what the > specific problem is, but have you tried deleting the reference and > recreating it? Sorry I can't do more to help right now, but I'm wrestling > TFS and Team Build, and it's winning. > > Chris > > On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < > eric.br...@microsoft.com> wrote: > >> Also, there is that yellow warning icon on the project reference. I don't >> know what that means, and I can't find a reference in the documentation. >> >> -Original Message- >> From: Christopher Karper [mailto:christopher.kar...@gmail.com] >> Sent: Friday, April 03, 2009 10:17 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Using Wix and Visual Studio >> >> I use spaces in my project names and project references, and they're all >> fine. >> I suspect his problem is something else. I'm not sure what that is, since >> this exact scenario, even down to the environment seems to match. >> >> Chris >> >> On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < >> eric.br...@microsoft.com> wrote: >> >> > Tried using underscores and renaming; still get the same error (CNDL0150: >> > Undefined preprocessor variable). >> > >> > -Original Message- >> > From: Jason Ginchereau [mailto:jason...@microsoft.com] >> > Sent: Thursday, April 02, 2009 5:55 PM >> > To: wix-users@lists.sourceforge.net >> > Subject: Re: [WiX-users] Using Wix and Visual Studio >> > >> > Any characters in the project name that are invalid for WiX preprocessor >> > variable names get automatically converted to underscores. So without >> > renaming the project this should work: >> > >> > $(var.My_Test_Project.TargetFilename) >> > >> > >> > -Original Message- >> > From: Alex Cater [mailto:alex.ca...@apdcomms.com] >> > Sent: Thursday, April 02, 2009 4:28 PM >> > To: wix-users@lists.sourceforge.net >> > Subject: Re: [WiX-users] Using Wix and Visual Studio >> > >> > >> > I'm guessing that you cannot have spaces in a project reference >> variable... >> > >> > $(var.My Test Project.TargetFileName) >> > >> > Try renaming your test project to MyTestProject so the project reference >> > variable becomes: >> > >> > $(var.MyTestProject.TargetFileName) >> > >> > -- >> > View this message in context: >> > http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html >> > Sent from the wix-users mailing list archive at Nabble.com. >> > >> > >> > >> > >> -- >> > ___ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> > >> > >> > >> -- >> > ___ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> > >> > >> > >> -- >> > ___ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> >> -- >> ___ >> WiX-users mailing list >> WiX-use
Re: [WiX-users] Using Wix and Visual Studio
Multiple times. It always comes back yellow. There's no tooltip to provide any further feedback. (Also, I've tried this with a separate dummy project - I get the same problem.) -Original Message- From: Christopher Karper [mailto:christopher.kar...@gmail.com] Sent: Friday, April 03, 2009 11:07 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Using Wix and Visual Studio That is VS saying the reference is invalid somehow. I'm not sure what the specific problem is, but have you tried deleting the reference and recreating it? Sorry I can't do more to help right now, but I'm wrestling TFS and Team Build, and it's winning. Chris On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < eric.br...@microsoft.com> wrote: > Also, there is that yellow warning icon on the project reference. I don't > know what that means, and I can't find a reference in the documentation. > > -Original Message- > From: Christopher Karper [mailto:christopher.kar...@gmail.com] > Sent: Friday, April 03, 2009 10:17 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Using Wix and Visual Studio > > I use spaces in my project names and project references, and they're all > fine. > I suspect his problem is something else. I'm not sure what that is, since > this exact scenario, even down to the environment seems to match. > > Chris > > On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < > eric.br...@microsoft.com> wrote: > > > Tried using underscores and renaming; still get the same error (CNDL0150: > > Undefined preprocessor variable). > > > > -Original Message- > > From: Jason Ginchereau [mailto:jason...@microsoft.com] > > Sent: Thursday, April 02, 2009 5:55 PM > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > > Any characters in the project name that are invalid for WiX preprocessor > > variable names get automatically converted to underscores. So without > > renaming the project this should work: > > > > $(var.My_Test_Project.TargetFilename) > > > > > > -Original Message- > > From: Alex Cater [mailto:alex.ca...@apdcomms.com] > > Sent: Thursday, April 02, 2009 4:28 PM > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > > > > I'm guessing that you cannot have spaces in a project reference > variable... > > > > $(var.My Test Project.TargetFileName) > > > > Try renaming your test project to MyTestProject so the project reference > > variable becomes: > > > > $(var.MyTestProject.TargetFileName) > > > > -- > > View this message in context: > > http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html > > Sent from the wix-users mailing list archive at Nabble.com. > > > > > > > > > -- > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > -- > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > -- > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Using Wix and Visual Studio
That is VS saying the reference is invalid somehow. I'm not sure what the specific problem is, but have you tried deleting the reference and recreating it? Sorry I can't do more to help right now, but I'm wrestling TFS and Team Build, and it's winning. Chris On Fri, Apr 3, 2009 at 1:24 PM, Eric Brown (REDMOND) < eric.br...@microsoft.com> wrote: > Also, there is that yellow warning icon on the project reference. I don't > know what that means, and I can't find a reference in the documentation. > > -Original Message- > From: Christopher Karper [mailto:christopher.kar...@gmail.com] > Sent: Friday, April 03, 2009 10:17 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Using Wix and Visual Studio > > I use spaces in my project names and project references, and they're all > fine. > I suspect his problem is something else. I'm not sure what that is, since > this exact scenario, even down to the environment seems to match. > > Chris > > On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < > eric.br...@microsoft.com> wrote: > > > Tried using underscores and renaming; still get the same error (CNDL0150: > > Undefined preprocessor variable). > > > > -Original Message- > > From: Jason Ginchereau [mailto:jason...@microsoft.com] > > Sent: Thursday, April 02, 2009 5:55 PM > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > > Any characters in the project name that are invalid for WiX preprocessor > > variable names get automatically converted to underscores. So without > > renaming the project this should work: > > > > $(var.My_Test_Project.TargetFilename) > > > > > > -----Original Message- > > From: Alex Cater [mailto:alex.ca...@apdcomms.com] > > Sent: Thursday, April 02, 2009 4:28 PM > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > > > > I'm guessing that you cannot have spaces in a project reference > variable... > > > > $(var.My Test Project.TargetFileName) > > > > Try renaming your test project to MyTestProject so the project reference > > variable becomes: > > > > $(var.MyTestProject.TargetFileName) > > > > -- > > View this message in context: > > http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html > > Sent from the wix-users mailing list archive at Nabble.com. > > > > > > > > > -- > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > -- > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > -- > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Using Wix and Visual Studio
On Fri, Apr 3, 2009 at 8:24 PM, Eric Brown (REDMOND) wrote: > Also, there is that yellow warning icon on the project reference. I don't > know what that means, and I can't find a reference in the documentation. Normally that means that Visual Studio has failed to resolve the reference -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Using Wix and Visual Studio
Also, there is that yellow warning icon on the project reference. I don't know what that means, and I can't find a reference in the documentation. -Original Message- From: Christopher Karper [mailto:christopher.kar...@gmail.com] Sent: Friday, April 03, 2009 10:17 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Using Wix and Visual Studio I use spaces in my project names and project references, and they're all fine. I suspect his problem is something else. I'm not sure what that is, since this exact scenario, even down to the environment seems to match. Chris On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < eric.br...@microsoft.com> wrote: > Tried using underscores and renaming; still get the same error (CNDL0150: > Undefined preprocessor variable). > > -Original Message- > From: Jason Ginchereau [mailto:jason...@microsoft.com] > Sent: Thursday, April 02, 2009 5:55 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Using Wix and Visual Studio > > Any characters in the project name that are invalid for WiX preprocessor > variable names get automatically converted to underscores. So without > renaming the project this should work: > > $(var.My_Test_Project.TargetFilename) > > > -Original Message- > From: Alex Cater [mailto:alex.ca...@apdcomms.com] > Sent: Thursday, April 02, 2009 4:28 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > I'm guessing that you cannot have spaces in a project reference variable... > > $(var.My Test Project.TargetFileName) > > Try renaming your test project to MyTestProject so the project reference > variable becomes: > > $(var.MyTestProject.TargetFileName) > > -- > View this message in context: > http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html > Sent from the wix-users mailing list archive at Nabble.com. > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Using Wix and Visual Studio
I use spaces in my project names and project references, and they're all fine. I suspect his problem is something else. I'm not sure what that is, since this exact scenario, even down to the environment seems to match. Chris On Fri, Apr 3, 2009 at 12:29 PM, Eric Brown (REDMOND) < eric.br...@microsoft.com> wrote: > Tried using underscores and renaming; still get the same error (CNDL0150: > Undefined preprocessor variable). > > -Original Message- > From: Jason Ginchereau [mailto:jason...@microsoft.com] > Sent: Thursday, April 02, 2009 5:55 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Using Wix and Visual Studio > > Any characters in the project name that are invalid for WiX preprocessor > variable names get automatically converted to underscores. So without > renaming the project this should work: > > $(var.My_Test_Project.TargetFilename) > > > -Original Message- > From: Alex Cater [mailto:alex.ca...@apdcomms.com] > Sent: Thursday, April 02, 2009 4:28 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Using Wix and Visual Studio > > > I'm guessing that you cannot have spaces in a project reference variable... > > $(var.My Test Project.TargetFileName) > > Try renaming your test project to MyTestProject so the project reference > variable becomes: > > $(var.MyTestProject.TargetFileName) > > -- > View this message in context: > http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html > Sent from the wix-users mailing list archive at Nabble.com. > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Using Wix and Visual Studio
Tried using underscores and renaming; still get the same error (CNDL0150: Undefined preprocessor variable). -Original Message- From: Jason Ginchereau [mailto:jason...@microsoft.com] Sent: Thursday, April 02, 2009 5:55 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Using Wix and Visual Studio Any characters in the project name that are invalid for WiX preprocessor variable names get automatically converted to underscores. So without renaming the project this should work: $(var.My_Test_Project.TargetFilename) -Original Message- From: Alex Cater [mailto:alex.ca...@apdcomms.com] Sent: Thursday, April 02, 2009 4:28 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Using Wix and Visual Studio I'm guessing that you cannot have spaces in a project reference variable... $(var.My Test Project.TargetFileName) Try renaming your test project to MyTestProject so the project reference variable becomes: $(var.MyTestProject.TargetFileName) -- View this message in context: http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Using Wix and Visual Studio
Any characters in the project name that are invalid for WiX preprocessor variable names get automatically converted to underscores. So without renaming the project this should work: $(var.My_Test_Project.TargetFilename) -Original Message- From: Alex Cater [mailto:alex.ca...@apdcomms.com] Sent: Thursday, April 02, 2009 4:28 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Using Wix and Visual Studio I'm guessing that you cannot have spaces in a project reference variable... $(var.My Test Project.TargetFileName) Try renaming your test project to MyTestProject so the project reference variable becomes: $(var.MyTestProject.TargetFileName) -- View this message in context: http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Using Wix and Visual Studio
I'm guessing that you cannot have spaces in a project reference variable... $(var.My Test Project.TargetFileName) Try renaming your test project to MyTestProject so the project reference variable becomes: $(var.MyTestProject.TargetFileName) -- View this message in context: http://n2.nabble.com/Using-Wix-and-Visual-Studio-tp2578030p2578131.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Using Wix and Visual Studio
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