You can use msbuild properties (such as $(Platform)) in the output file
name... However, there's an open bug against Votive that it escapes the
control characters for now.   If you open the project file directly and make
your change, it works.

I use it like this today.

Chris

On Tue, Mar 31, 2009 at 4:04 AM, Maciej Oszutowski <im...@post.pl> wrote:

>
> Hi,
>
> Is there any way (except renaming msi after building) to condition msi file
> name in Votive?
>
> I have x86 and x64 installers built from single source file.
> Platform-specific components and other stuff are conditioned using <?if?>
> statements. Now I really need 32bit installer to be named product.msi while
> 64bit installer should be productx64.msi.
> I've been trying to use VS and environment variables in project properties
> (Votive: Installer tab, Output name field) but it doesn't work.
> Unfortunately they're not expanded but passed directly to light.exe...
>
> Would enabling Configuration and Platform dropdowns on Installer tab of
> project properties be a big problem? Or maybe there is alternative way to do
> what need?
>
> --
> View this message in context:
> http://n2.nabble.com/Different-msi-name-for-x86-and-x64-build-tp2561699p2561699.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

Reply via email to