On Tue, Feb 10, 2009 at 2:48 PM, siaj <meabrakada...@gmail.com> wrote:

> Thanks Rob.
> For some reasoins I was getting preprocessor errors with using
> $(bind.FileVersion.IdOfFileToGetFileVersionFrom)" . Though
>  !(bind.FileVersion.IdOfFileToGetFileVersionFrom)" worked for me. Also I
> used
> !(bind.AssemblyPublicKeyToken.IdOfFileToGetFileVersionFrom)"  to get the
> public key token.
>
>
>
> http://blogs.msdn.com/heaths/archive/2008/02/08/get-binder-variables-for-assemblies-without-installing-into-the-gac.aspx
>
> Thanks,
> Jai
>
>
> Date: Mon, 9 Feb 2009 17:26:51 -0800
> From: Rob Mensching <rob.mensch...@microsoft.com>
> Subject: Re: [WiX-users] Getting File versions
> To: General discussion for Windows Installer XML toolset.
>        <wix-users@lists.sourceforge.net>
> Message-ID:
>        <
> de33023b477fe44eaa71983f5279f6ce510ffc1...@na-exmsg-c102.redmond.corp.microsoft.com
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> You can use "$(bind.FileVersion.IdOfFileToGetFileVersionFrom)" and the
> linker will fill in that value with the version of the file.
>
> -----Original Message-----
> From: siaj [mailto:meabrakada...@gmail.com]
> Sent: Monday, February 09, 2009 17:17
> To: wix-d...@lists.sourceforge.net; wix-users@lists.sourceforge.net
> Subject: [WiX-users] Getting File versions
>
> Hello,
> Is there a way we can find a file version dynamically while deployment ?.
> I
> have a dll to be deployed to the GAC and the dll version should be updated
> in the web.config file of the destination server. The issue is that dll
> version will change with every build and hence the version number going in
> web.config should change too.
>
> I want the installer to dynamically read the dll version and update the
> same
> in the web.config file. I guess I can do it using a vbs CA but was hoping
> if
> wix has a better way to do it.
>
> Thanks,
> saij
>
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to