Hello Edwin thanks for your response.I had the toolpath there before and it
didnt seem to make any difference, but I added it back again.  Actually, I
cut and pasted what you had exactly and it still seems like nothing is
happening??

Couple of questions:
1.  Should I see this(Version: =MyRevisionValue) in the output window of
visual studio when I build the wixproj?  I have also tried to run it from
msbuild and I dont see anything.
2.  Could it be the way I am passing the variables from the wixproj to my
product.wxs file?
This is how I am doing it.
<DefineConstants>Debug;ReleaseDir=..\ProgramName\bin\Release\;SubversionRevision=$(Revision)</DefineConstants>

Any help is greatly appreciated.

Brian

2009/4/22 Castro, Edwin (Hillsboro) <edwin.cas...@fiserv.com>

> First check that LocalPath is pointing to the correct location. Sometimes
> the bug is sooo trivial we don't notice it. ;-)
>
> <SvnVersion/> expects svnversion.exe to live at
> $(ProgramFiles)\Subversion\bin. If it doesn't live there, then specify
> ToolPath to the directory where it does live. Example:
>
> <SvnVersion ToolPath="$(ProgramFiles)\CollabNet Subversion Client"
> LocalPath="..\">
>   <Output TaskParameter="Revision" PropertyName="Revision"/>
> </SvnVersion>
>
> Use <Message Text="Version: $(Revision)" Importance="high"/> while testing
> to make it easier for the revision to be printed. The verbosity level of
> msbuild can affect whether these messages are printed or not.
>
> Edwin G. Castro
> Software Developer - Staff
> Electronic Banking Services
> Fiserv
> Office: 503-746-0643
> Fax: 503-617-0291
> www.fiserv.com
> ���nPlease consider the environment before printing this e-mail
>
> > -----Original Message-----
> > From: Brian Bakkebo [mailto:bbakk...@gmail.com]
> > Sent: Wednesday, April 22, 2009 11:16 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] Subversion revision number through a wixproject
> > file using msbuild community tasks
> >
> > I realize this probably isnt the right place for this, but I am hoping
> > someone else has got this working and could just give me a hand or
> > better
> > the code...
> >
> > I am trying get subversion revision number through a wixproj file using
> > msbuild community tasks and it is not working!
> > Here is the script I am using. I am not seeing any output in the
> > revision.
> > <Import
> > Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"
> > /> <!--Get Subversion Revision here-you must use
> > MSBUILDCommunityTasks:-->
> > <Target Name="Version" > <SvnVersion LocalPath="..\" > <Output
> > TaskParameter="Revision" PropertyName="Revision" /> </SvnVersion>
> > <Message
> > Text="Version: $(Revision)"/> </Target>
> >
> > Thanks in advance.
> > Brian
> > -----------------------------------------------------------------------
> > -------
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to