Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-24 Thread Brian Bakkebo
Yes, Edwin you are the man.  This works perferct, now.  Thanks for your help
I need to read up on msbuild.  I just started working with it when I began
with automating our installer with wix.  Good stuff when you know what you
are doing.
Brian

2009/4/23 Castro, Edwin (Hillsboro) 

> Correction:
>
> 
>  Version;
>  $(CoreBuildDependsOn)
> 
>
> Should be:
>
> 
>  
>Version;
>$(CoreBuildDependsOn)
>  
> 
>
> 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: Castro, Edwin (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> > Sent: Thursday, April 23, 2009 9:08 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Subversion revision number through a
> > wixproject file using msbuild community tasks
> >
> > Here's a snippet of what you want to do:
> >
> >   
> >   
> > Version;
> > $(CoreBuildDependsOn)
> >   
> >   
> > 
> >   
> >   SubversionRevision=$(Revision)
> >   
> >   $(DefineConstants);SubversionRevision=$(Revision)
> > 
> > 
> >   
> >  > Value="SubversionRevision=$(Revision)">
> >   
> > 
> >   
> >  > Value="$(DefineConstants);SubversionRevision=$(Revision)">
> >   
> > 
> >   
> >
> > You don't need both the MSBuild 2.0 and 3.5 syntaxes. I use Visual
> > Studio 2008 so I use MSBuild 3.5 syntax. Technically, the  portions are not necessary because
> > you always define DefineConstants at the project scope. Here's how I
> > would rewrite your entire project:
> >
> >  > xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
> >   
> >   
> > Debug
> > x86
> > 1.0
> > {1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
> > 2.0
> > Wix_TagImport
> > Package
> > ..\..\DLL\Wix\
> > ..\..\DLL\CollabNet Subversion Client
> >
> > ..\..\DLL\MSBuildCommunityTasks\ > tyTasks>
> > $(WixToolPath)\wixtasks.dll
> > $(WixToolPath)\Wix.targets
> > en-us
> > ..\MYAPP\bin\Release
> >   
> >   
> >> Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"/>
> >   
> >   
> > 
> >   $(WixToolPath)\WixUtilExtension.dll
> > 
> > 
> >   $(WixToolPath)\WixUIExtension.dll
> > 
> >   
> >   
> > 
> > 
> > 
> > 
> >   
> >   
> > Version;
> > $(CoreBuildDependsOn)
> >   
> >   
> >   
> > bin\$(Configuration)\
> >
> > obj\$(Configuration)\
> >
> > Debug;ReleaseDir=..\MYAPP\bin\Release\ > s>
> >   
> >   
> > bin\$(Configuration)\
> >
> > obj\$(Configuration)\
> >
> > Debug;ReleaseDir=..\MYAPP\bin\Release\ > s>
> >   
> > 
> >
> > 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 4:27 PM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Subversion revision number through a
> > > wixproject file using msbuild community tasks
> > >
> > > Thanks again for your response EdwinYep, I use the same CollabNet
> > > release for testing.  Yep, I expected that also, but I dont see it,
> > > which leads me to believe that there is some kind of pathing/mapping
> > > problem.  Also, I am not quite sure on the syntax for DefineConstants
> > > inside the version target.
> > >  Here is my project file.  Hope you can see what the problem
> > is..Thanks
> > > for your help.
> > >
> > > http://schemas.microsoft.com/developer/msbuild/2003";>
> > >   
> > >   
> > > Debug
> > > x86
> > > 1.0
> > > {1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
> > > 2.0
> &g

Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-23 Thread Castro, Edwin (Hillsboro)
Correction:


  Version;
  $(CoreBuildDependsOn)


Should be:


  
Version;
$(CoreBuildDependsOn)
  


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: Castro, Edwin (Hillsboro) [mailto:edwin.cas...@fiserv.com]
> Sent: Thursday, April 23, 2009 9:08 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Subversion revision number through a
> wixproject file using msbuild community tasks
>
> Here's a snippet of what you want to do:
>
>   
>   
> Version;
> $(CoreBuildDependsOn)
>   
>   
> 
>   
>   SubversionRevision=$(Revision)
>   
>   $(DefineConstants);SubversionRevision=$(Revision)
> 
> 
>   
>  Value="SubversionRevision=$(Revision)">
>   
> 
>   
>  Value="$(DefineConstants);SubversionRevision=$(Revision)">
>   
> 
>   
>
> You don't need both the MSBuild 2.0 and 3.5 syntaxes. I use Visual
> Studio 2008 so I use MSBuild 3.5 syntax. Technically, the  portions are not necessary because
> you always define DefineConstants at the project scope. Here's how I
> would rewrite your entire project:
>
>  xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
>   
>   
> Debug
> x86
> 1.0
> {1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
> 2.0
> Wix_TagImport
> Package
> ..\..\DLL\Wix\
> ..\..\DLL\CollabNet Subversion Client
>
> ..\..\DLL\MSBuildCommunityTasks\ tyTasks>
> $(WixToolPath)\wixtasks.dll
> $(WixToolPath)\Wix.targets
> en-us
> ..\MYAPP\bin\Release
>   
>   
>Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"/>
>   
>   
> 
>   $(WixToolPath)\WixUtilExtension.dll
> 
> 
>   $(WixToolPath)\WixUIExtension.dll
> 
>   
>   
> 
> 
> 
> 
>   
>   
> Version;
> $(CoreBuildDependsOn)
>   
>   
>   
> bin\$(Configuration)\
>
> obj\$(Configuration)\
>
> Debug;ReleaseDir=..\MYAPP\bin\Release\ s>
>   
>   
> bin\$(Configuration)\
>
> obj\$(Configuration)\
>
> Debug;ReleaseDir=..\MYAPP\bin\Release\ s>
>   
> 
>
> 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: Brian Bakkebo [mailto:bbakk...@gmail.com]
> > Sent: Wednesday, April 22, 2009 4:27 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Subversion revision number through a
> > wixproject file using msbuild community tasks
> >
> > Thanks again for your response EdwinYep, I use the same CollabNet
> > release for testing.  Yep, I expected that also, but I dont see it,
> > which leads me to believe that there is some kind of pathing/mapping
> > problem.  Also, I am not quite sure on the syntax for DefineConstants
> > inside the version target.
> >  Here is my project file.  Hope you can see what the problem
> is..Thanks
> > for your help.
> >
> > http://schemas.microsoft.com/developer/msbuild/2003";>
> >   
> >   
> > Debug
> > x86
> > 1.0
> > {1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
> > 2.0
> > Wix_TagImport
> > Package
> > ..\..\DLL\Wix\
> > ..\..\DLL\CollabNet Subversion Client
> >
> ..\..\DLL\MSBuildCommunityTasks\ > tyTasks>
> > $(WixToolPath)\wixtasks.dll
> > $(WixToolPath)\Wix.targets
> > en-us
> > ..\MYAPP\bin\Release
> >   
> >   
> >> Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"
> > />
> >
> >   
> > 
> >   $(WixToolPath)\WixUtilExtension.dll
> > 
> > 
> >   $(WixToolPath)\WixUIExtension.dll
> > 
> >   
> >   
> > 
> > 
> > 
> > 
> >   
> >   
> >   
> > bin\$(Configuration)\
> >
> >
> obj\$(Configuration)\
> >
> Debug;ReleaseDir=..\MYAPP\bin\Release\ > s>
> >   
> >   
> > bin\$(Configuration)\
> >
> >
> obj\$(Configuration)\
> >
> Debug;ReleaseDir=..\MYAPP\bin\Release\ > 

Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-23 Thread Castro, Edwin (Hillsboro)
Here's a snippet of what you want to do:

  
  
Version;
$(CoreBuildDependsOn)
  
  
  

  




  
  SubversionRevision=$(Revision)
  
  $(DefineConstants);SubversionRevision=$(Revision)


  

  

  

  

  

You don't need both the MSBuild 2.0 and 3.5 syntaxes. I use Visual Studio 2008 
so I use MSBuild 3.5 syntax. Technically, the  portions are not necessary because you always define 
DefineConstants at the project scope. Here's how I would rewrite your entire 
project:

http://schemas.microsoft.com/developer/msbuild/2003";>
  
  
Debug
x86
1.0
{1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
2.0
Wix_TagImport
Package
..\..\DLL\Wix\
..\..\DLL\CollabNet Subversion Client

..\..\DLL\MSBuildCommunityTasks\
$(WixToolPath)\wixtasks.dll
$(WixToolPath)\Wix.targets
en-us
..\MYAPP\bin\Release
  
  
  
  
  

  $(WixToolPath)\WixUtilExtension.dll


  $(WixToolPath)\WixUIExtension.dll

  
  




  
  
Version;
$(CoreBuildDependsOn)
  
  
  

  



  
$(DefineConstants);SubversionRevision=$(Revision)

  
  
  
bin\$(Configuration)\
obj\$(Configuration)\
Debug;ReleaseDir=..\MYAPP\bin\Release\
  
  
bin\$(Configuration)\
obj\$(Configuration)\
Debug;ReleaseDir=..\MYAPP\bin\Release\
  


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: Brian Bakkebo [mailto:bbakk...@gmail.com]
> Sent: Wednesday, April 22, 2009 4:27 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Subversion revision number through a
> wixproject file using msbuild community tasks
>
> Thanks again for your response EdwinYep, I use the same CollabNet
> release for testing.  Yep, I expected that also, but I dont see it,
> which leads me to believe that there is some kind of pathing/mapping
> problem.  Also, I am not quite sure on the syntax for DefineConstants
> inside the version target.
>  Here is my project file.  Hope you can see what the problem is..Thanks
> for your help.
>
> http://schemas.microsoft.com/developer/msbuild/2003";>
>   
>   
> Debug
> x86
> 1.0
> {1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
> 2.0
> Wix_TagImport
> Package
> ..\..\DLL\Wix\
> ..\..\DLL\CollabNet Subversion Client
> ..\..\DLL\MSBuildCommunityTasks\ tyTasks>
> $(WixToolPath)\wixtasks.dll
> $(WixToolPath)\Wix.targets
> en-us
> ..\MYAPP\bin\Release
>   
>   
>Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"
> />
>
>   
> 
>   $(WixToolPath)\WixUtilExtension.dll
> 
> 
>   $(WixToolPath)\WixUIExtension.dll
> 
>   
>   
> 
> 
> 
> 
>   
>   
>   
> bin\$(Configuration)\
>
> obj\$(Configuration)\
> Debug;ReleaseDir=..\MYAPP\bin\Release\ s>
>   
>   
> bin\$(Configuration)\
>
> obj\$(Configuration)\
> Debug;ReleaseDir=..\MYAPP\bin\Release\ s>
>   
>
> 
>
>
>
>
>
> 2009/4/23 Castro, Edwin (Hillsboro) 
>
> > My example depended on having the CollabNet distribution of
> subversion.
> > Find out where svnversion.exe lives on your system.
> >
> > I expect  to print something
> > like the
> > following:
> >
> > Version: 5425
> >
> > Are you declaring DefineConstants in the same target where
> >  runs? If not, then $(Version) will contain the default
> > value (empty string) and cause problems. Perhaps I can be of more
> help
> > if you show me your *.wixproj file.
> >
> > Edwin G. Castro
> > Software Developer - Staff
> > Electronic Banking Services
> > Fiserv
> > Office: 503-746-0643
> > Fax: 503-617-0291
> > www.fiserv.com
> > P Please consider the environment before printing this e-mail
> >
> >
> > > -Original Message-
> > > From: Brian Bakkebo [mailto:bbakk...@gmail.com]
> > > Sent: Wednesday, April 22, 2009 3:03 PM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Subversion revision number through a
> > > wixproject file using msbuild community tasks
> > >
> > > 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 exa

Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-22 Thread Brian Bakkebo
Thanks again for your response EdwinYep, I use the same CollabNet release
for testing.  Yep, I expected that also, but I dont see it, which leads me
to believe that there is some kind of pathing/mapping problem.  Also, I am
not quite sure on the syntax for DefineConstants inside the version target.
 Here is my project file.  Hope you can see what the problem is..Thanks for
your help.

http://schemas.microsoft.com/developer/msbuild/2003";>
  
  
Debug
x86
1.0
{1bc4cf27-badd-47e0-87a7-9e3ed0c8c50b}
2.0
Wix_TagImport
Package
..\..\DLL\Wix\
..\..\DLL\CollabNet Subversion Client
..\..\DLL\MSBuildCommunityTasks\
$(WixToolPath)\wixtasks.dll
$(WixToolPath)\Wix.targets
en-us
..\MYAPP\bin\Release
  
  
  
   
  

  $(WixToolPath)\WixUtilExtension.dll


  $(WixToolPath)\WixUIExtension.dll

  
  




  
  
  
  
   
   SubversionRevision=$(Revision)
  
  
  
  
  
bin\$(Configuration)\
obj\$(Configuration)\
Debug;ReleaseDir=..\MYAPP\bin\Release\
  
  
bin\$(Configuration)\
obj\$(Configuration)\
Debug;ReleaseDir=..\MYAPP\bin\Release\
  







2009/4/23 Castro, Edwin (Hillsboro) 

> My example depended on having the CollabNet distribution of subversion.
> Find out where svnversion.exe lives on your system.
>
> I expect  to print something like the
> following:
>
> Version: 5425
>
> Are you declaring DefineConstants in the same target where 
> runs? If not, then $(Version) will contain the default value (empty string)
> and cause problems. Perhaps I can be of more help if you show me your
> *.wixproj file.
>
> 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 3:03 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Subversion revision number through a
> > wixproject file using msbuild community tasks
> >
> > 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.
> > Debug;ReleaseDir=..\ProgramName\bin\Release\;Subversio
> > nRevision=$(Revision)
> >
> > Any help is greatly appreciated.
> >
> > Brian
> >
> > 2009/4/22 Castro, Edwin (Hillsboro) 
> >
> > > First check that LocalPath is pointing to the correct location.
> > > Sometimes the bug is sooo trivial we don't notice it. ;-)
> > >
> > >  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:
> > >
> > >  > > LocalPath="..\">
> > >   
> > > 
> > >
> > > Use  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
> > > P Please 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
&

Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-22 Thread Castro, Edwin (Hillsboro)
My example depended on having the CollabNet distribution of subversion. Find 
out where svnversion.exe lives on your system.

I expect  to print something like the 
following:

Version: 5425

Are you declaring DefineConstants in the same target where  runs? 
If not, then $(Version) will contain the default value (empty string) and cause 
problems. Perhaps I can be of more help if you show me your *.wixproj file.

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: Brian Bakkebo [mailto:bbakk...@gmail.com]
> Sent: Wednesday, April 22, 2009 3:03 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Subversion revision number through a
> wixproject file using msbuild community tasks
>
> 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.
> Debug;ReleaseDir=..\ProgramName\bin\Release\;Subversio
> nRevision=$(Revision)
>
> Any help is greatly appreciated.
>
> Brian
>
> 2009/4/22 Castro, Edwin (Hillsboro) 
>
> > First check that LocalPath is pointing to the correct location.
> > Sometimes the bug is sooo trivial we don't notice it. ;-)
> >
> >  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:
> >
> >  > LocalPath="..\">
> >   
> > 
> >
> > Use  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
> > P Please 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.
> > >  > > Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"
> > > />> > LocalPath="..\" >  > > PropertyName="Revision" />   > > Text="Version: $(Revision)"/> 
> > >
> > > 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.
> 

Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-22 Thread Brian Bakkebo
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.
Debug;ReleaseDir=..\ProgramName\bin\Release\;SubversionRevision=$(Revision)

Any help is greatly appreciated.

Brian

2009/4/22 Castro, Edwin (Hillsboro) 

> First check that LocalPath is pointing to the correct location. Sometimes
> the bug is sooo trivial we don't notice it. ;-)
>
>  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:
>
>  LocalPath="..\">
>   
> 
>
> Use  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.
> >  > Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"
> > /> 
> >> TaskParameter="Revision" PropertyName="Revision" /> 
> >  > Text="Version: $(Revision)"/> 
> >
> > 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


Re: [WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-22 Thread Castro, Edwin (Hillsboro)
First check that LocalPath is pointing to the correct location. Sometimes the 
bug is sooo trivial we don't notice it. ;-)

 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:


  


Use  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
Please 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.
>  Project="$(MSBUILDCommunityTasks)\MSBuild.Community.Tasks.Targets"
> /> 
>TaskParameter="Revision" PropertyName="Revision" /> 
>  Text="Version: $(Revision)"/> 
>
> 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


[WiX-users] Subversion revision number through a wixproject file using msbuild community tasks

2009-04-22 Thread Brian Bakkebo
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.
 
 

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