I've successfully used DefineConstants before. I used it to provide external 
paths to locations I was harvesting. Of course, a repo would be nice.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail


> -----Original Message-----
> From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com]
> Sent: Wednesday, May 19, 2010 7:30 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] msbuild command line parameters
> 
> I'm having trouble getting the build to behave right now...
> 
> 
> In the mean time, this was the source I was following
> 
> http://www.ageektrapped.com/blog/setting-properties-for-wix-in-msbuild/
> 
> I am assuming that this worked at the time it was written.  But now it
> does not work?
> 
> 
> 
> -----Original Message-----
> From: Kurt Jensen
> Sent: Tuesday, May 18, 2010 2:41 PM
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: RE: [WiX-users] msbuild command line parameters
> 
> I'll try.  It is being built under VS2008 and TFS2008.
> 
> 
> -----Original Message-----
> From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> Sent: Tuesday, May 18, 2010 2:25 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] msbuild command line parameters
> 
> Can you make a minimal *.wixproj that reproduces the problem?
> I don't see anything obvious in the information you've already shared.
> I just looked through the wix.targets and wix2010.targets files in case
> something is happening there that would account for what you are seeing
> but didn't find anything obvious either.
> 
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> Please consider the environment before printing this e-mail
> 
> 
> > -----Original Message-----
> > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com]
> > Sent: Tuesday, May 18, 2010 1:08 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] msbuild command line parameters
> >
> > Good idea but still not appearing in the build log.
> >
> > Any more ideas out there?
> >
> > -----Original Message-----
> > From: Blair [mailto:os...@live.com]
> > Sent: Monday, May 17, 2010 10:14 PM
> > To: 'General discussion for Windows Installer XML toolset.'
> > Subject: Re: [WiX-users] msbuild command line parameters
> >
> > I haven't tested it, but I wonder if the whitespace is causing
> > problems.
> >
> > What happens if you try:
> >   <DefineConstants>WiXProductName=&quot;BeamGage
> > Professional&quot;;WiXProductVersion=$(WiXVersion)</DefineConstants>
> > Or:
> >   <DefineConstants>&quot;WiXProductName=BeamGage
> > Professional&quot;;WiXProductVersion=$(WiXVersion)</DefineConstants>
> > ?
> >
> > -----Original Message-----
> > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com]
> > Sent: Monday, May 17, 2010 3:48 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] msbuild command line parameters
> >
> > The PropertyGroup code is as follows:
> >
> > <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
> > 'Release|x86' ">
> >   <OutputPath>bin\$(Configuration)\</OutputPath>
> >
> >
> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
> >   <DefineConstants>WiXProductName=BeamGage
> > Professional;WiXProductVersion=$(WiXVersion);</DefineConstants>
> > </PropertyGroup>
> >
> > I changed <IntermediateOutputPath> to "obj\IntermediateOutputPath".
> > The
> > command line in the build log now specifies "-out
> > obj\IntermediateOutputPath\module.wixobj".  That proves that the
> > PropertyGroup containing DefineConstants is being executed.
> >
> > I should be seeing "-dWixProductName=" and "-dWixProductVersion=" on
> > the
> > command line.
> >
> > Any idea why the DefineConstants is not being passed to candle?
> >
> >
> > -----Original Message-----
> > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com]
> > Sent: Monday, May 17, 2010 3:05 PM
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] msbuild command line parameters
> >
> > I'm trying to build my wixproj in msbuild.  The solution
> > ConfigurationToBuild is "Release|Any CPU".  Inside of my
> configuration
> > the wixproj is built as "Release|x86".
> >
> >
> >
> > In my wixproj I have a 'Release|x86' PropertyGroup that includes
> > <DefineConstants>.  But none of the DefineConstants are being
> included
> > on the command line to candle during the build.  The PropertyGroup
> and
> > DefineConstants work fine in the IDE.  In the build log I verified
> that
> > the command line  contains -dConfiguration=Release and -
> dPlatform=x86.
> >
> >
> >
> > Any idea how to get the wixproj DefineConstants passed to candle in
> > msbuild?
> >
> >
> >
> > Kurt Jensen
> >
> >
> >
> **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> >
> > www.clearswift.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

Reply via email to