The name would probably include the Configuration and version information .
However this would be part of a TFS 2010 Build - so passing an argument to MSBuild is supported. Thanks - this is very helpful. -----Original Message----- From: Castro, Edwin G. (Hillsboro) [mailto:[email protected]] Sent: Thursday, January 12, 2012 12:02 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Generated MSI Name How do you want to generate your name? This will determine how we change OutputName. OutputName is just a MSBuild property but one that is used by all project types. I believe (but have not verified) that if you build your solution from the command line providing a different value for OutputName you'll end up with all of your projects in that solution with the same name. msbuild sample.sln /p:OutputName=GeneratedName /t:build You'll probably want to define a new custom property in your .wixproj so that you can change only the OutputName in the .wixproj. <Project ...> <PropertyGroup> ... <SetupName>DefaultValue</SetupName> <OutputName>$(SetupName)</OutputName> ... </PropertyGroup> ... </Project> In the sample above I define a new property, SetupName, before OutputName. I use the value of SetupName as the value for OutputName. Note that you'll need to hand edit the .wixproj. Now we should be able to set SetupName on the command line to whatever generated name we want and not affect OutputName for any other projects. msbuild sample.sln /p:SetupName=GeneratedName /t:build This all assumes that the name is generated before the solution begins building. Edwin G. Castro Software Developer - Staff Digital Channels 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: Daniel Sniderman [mailto:[email protected]] > Sent: Thursday, January 12, 2012 9:24 AM > To: [email protected] > Subject: [WiX-users] Generated MSI Name > > I see that it's set in the Designer as "Output Name" which is a > MSBuild Property. Is there any way (other than having the build edit > the .wixproj or copy/rename after the it's generated) to change the output > MSI? > > Thanks > > Daniel P. Sniderman| Sr Consultant| Magenic MCSD.NET, MCTS: Team > Foundation Server 2010 Administration > > 333 E. Butterfield Rd. Suite 100, Lombard, IL 60148 > Mobile: 847-668-4882 | eFax 847-390-7810 magenic.com | > [email protected]<mailto:[email protected]> > > > ---------------------------------------------------------------------- > -------- > RSA(R) Conference 2012 > Mar 27 - Feb 2 > Save $400 by Jan. 27 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

